diff options
| author | adripo <26493496+adripo@users.noreply.github.com> | 2025-04-21 19:59:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-21 18:59:40 +0100 |
| commit | 4296e7f4d8de64a62dbf5e5d152b19ae25df489e (patch) | |
| tree | a976ea13ec1396078de2047fdcb125bb086c6a17 /apps | |
| parent | 86728d7f0e48e5cf8fbd1977240909302b2d8ad9 (diff) | |
| download | karakeep-4296e7f4d8de64a62dbf5e5d152b19ae25df489e.tar.zst | |
chore: rename missing files/conf from Hoarder to Karakeep (#1280)
* refactor: Rename remaining project configuration from Hoarder to Karakeep
* some fixes
---------
Co-authored-by: Mohamed Bassem <me@mbassem.com>
Diffstat (limited to 'apps')
41 files changed, 69 insertions, 70 deletions
diff --git a/apps/browser-extension/index.html b/apps/browser-extension/index.html index 3ba58dda..2d43e6b1 100644 --- a/apps/browser-extension/index.html +++ b/apps/browser-extension/index.html @@ -4,7 +4,7 @@ <meta charset="UTF-8" /> <link rel="icon" type="image/svg+xml" href="/vite.svg" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <title>Hoarder</title> + <title>Karakeep</title> </head> <body> <div id="root"></div> diff --git a/apps/browser-extension/src/Logo.tsx b/apps/browser-extension/src/Logo.tsx index c1a773b8..b7c470ca 100644 --- a/apps/browser-extension/src/Logo.tsx +++ b/apps/browser-extension/src/Logo.tsx @@ -4,10 +4,10 @@ import logoImg from "../public/logo-full.png"; export default function Logo() { return ( <span className="flex items-center justify-center"> - <img src={logoImg} alt="hoarder logo" className="h-14 dark:hidden" /> + <img src={logoImg} alt="karakeep logo" className="h-14 dark:hidden" /> <img src={logoImgWhite} - alt="hoarder logo" + alt="karakeep logo" className="hidden h-14 dark:block" /> </span> diff --git a/apps/browser-extension/src/background/background.ts b/apps/browser-extension/src/background/background.ts index 98d2ef36..6d8a6ecd 100644 --- a/apps/browser-extension/src/background/background.ts +++ b/apps/browser-extension/src/background/background.ts @@ -10,8 +10,8 @@ import { } from "../utils/settings.ts";
import { NEW_BOOKMARK_REQUEST_KEY_NAME } from "./protocol.ts";
-const OPEN_HOARDER_ID = "open-hoarder";
-const ADD_LINK_TO_HOARDER_ID = "add-link";
+const OPEN_KARAKEEP_ID = "open-karakeep";
+const ADD_LINK_TO_KARAKEEP_ID = "add-link";
function checkSettingsState(settings: Settings) {
if (settings?.address) {
@@ -22,39 +22,39 @@ function checkSettingsState(settings: Settings) { }
function removeContextMenus() {
- chrome.contextMenus.remove(OPEN_HOARDER_ID);
- chrome.contextMenus.remove(ADD_LINK_TO_HOARDER_ID);
+ chrome.contextMenus.remove(OPEN_KARAKEEP_ID);
+ chrome.contextMenus.remove(ADD_LINK_TO_KARAKEEP_ID);
}
/**
* Registers
- * * a context menu button to open a tab with the currently configured hoarder instance
- * * a context menu button to add a link to hoarder without loading the page
+ * * a context menu button to open a tab with the currently configured karakeep instance
+ * * a context menu button to add a link to karakeep without loading the page
*/
function registerContextMenus() {
chrome.contextMenus.create({
- id: OPEN_HOARDER_ID,
- title: "Open Hoarder",
+ id: OPEN_KARAKEEP_ID,
+ title: "Open Karakeep",
contexts: ["action"],
});
chrome.contextMenus.create({
- id: ADD_LINK_TO_HOARDER_ID,
- title: "Add to Hoarder",
+ id: ADD_LINK_TO_KARAKEEP_ID,
+ title: "Add to Karakeep",
contexts: ["link", "page", "selection", "image"],
});
}
/**
- * Reads the current settings and opens a new tab with hoarder
+ * Reads the current settings and opens a new tab with karakeep
* @param info the information about the click in the context menu
*/
async function handleContextMenuClick(info: chrome.contextMenus.OnClickData) {
const { menuItemId } = info;
- if (menuItemId === OPEN_HOARDER_ID) {
+ if (menuItemId === OPEN_KARAKEEP_ID) {
getPluginSettings().then((settings: Settings) => {
chrome.tabs.create({ url: settings.address, active: true });
});
- } else if (menuItemId === ADD_LINK_TO_HOARDER_ID) {
+ } else if (menuItemId === ADD_LINK_TO_KARAKEEP_ID) {
let newBookmark: ZNewBookmarkRequest | null = null;
if (info.selectionText) {
newBookmark = {
diff --git a/apps/browser-extension/src/background/protocol.ts b/apps/browser-extension/src/background/protocol.ts index f4bcbcd8..ee5c3a6a 100644 --- a/apps/browser-extension/src/background/protocol.ts +++ b/apps/browser-extension/src/background/protocol.ts @@ -1 +1 @@ -export const NEW_BOOKMARK_REQUEST_KEY_NAME = "hoarder-new-bookmark"; +export const NEW_BOOKMARK_REQUEST_KEY_NAME = "karakeep-new-bookmark"; diff --git a/apps/landing/src/Homepage.tsx b/apps/landing/src/Homepage.tsx index 988ac970..de5054bd 100644 --- a/apps/landing/src/Homepage.tsx +++ b/apps/landing/src/Homepage.tsx @@ -26,7 +26,7 @@ const DEMO_LINK = "https://try.karakeep.app"; const platforms = [ { name: "iOS", - url: "https://apps.apple.com/us/app/hoarder-app/id6479258022", + url: "https://apps.apple.com/us/app/karakeep-app/id6479258022", badge: appStoreBadge, }, { @@ -36,12 +36,12 @@ const platforms = [ }, { name: "Chrome Extension", - url: "https://chromewebstore.google.com/detail/hoarder/kgcjekpmcjjogibpjebkhaanilehneje", + url: "https://chromewebstore.google.com/detail/karakeep/kgcjekpmcjjogibpjebkhaanilehneje", badge: chromeExtensionBadge, }, { name: "Firefox Addon", - url: "https://addons.mozilla.org/en-US/firefox/addon/hoarder/", + url: "https://addons.mozilla.org/en-US/firefox/addon/karakeep/", badge: firefoxAddonBadge, }, ]; diff --git a/apps/landing/src/Privacy.tsx b/apps/landing/src/Privacy.tsx index 366a0395..ee544277 100644 --- a/apps/landing/src/Privacy.tsx +++ b/apps/landing/src/Privacy.tsx @@ -1,14 +1,13 @@ export default function PrivacyPolicy() { return ( <div className="p-4"> - <title>Hoarder - Privacy Policy</title> + <title>Karakeep - Privacy Policy</title> <strong>Privacy Policy</strong> <p> - This privacy policy applies to the Hoarder App app (hereby referred to - as "Application") for mobile devices that was created by - Mohamed Bassem (hereby referred to as "Service Provider") as - an Open Source service. This service is intended for use "AS - IS". + This privacy policy applies to the Karakeep app (hereby referred to as + "Application") for mobile devices that was created by Mohamed + Bassem (hereby referred to as "Service Provider") as an Open + Source service. This service is intended for use "AS IS". </p> <br /> <strong>Information Collection and Use</strong> diff --git a/apps/web/app/api/bookmarks/export/route.tsx b/apps/web/app/api/bookmarks/export/route.tsx index 669fb1c7..e550fcb5 100644 --- a/apps/web/app/api/bookmarks/export/route.tsx +++ b/apps/web/app/api/bookmarks/export/route.tsx @@ -35,7 +35,7 @@ export async function GET(request: Request) { status: 200, headers: { "Content-type": "application/json", - "Content-disposition": `attachment; filename="hoarder-export-${new Date().toISOString()}.json"`, + "Content-disposition": `attachment; filename="karakeep-export-${new Date().toISOString()}.json"`, }, }); } diff --git a/apps/web/app/signin/page.tsx b/apps/web/app/signin/page.tsx index 4dc91bec..372429e8 100644 --- a/apps/web/app/signin/page.tsx +++ b/apps/web/app/signin/page.tsx @@ -1,5 +1,5 @@ import { redirect } from "next/dist/client/components/navigation"; -import HoarderLogo from "@/components/HoarderIcon"; +import KarakeepLogo from "@/components/KarakeepIcon"; import SignInForm from "@/components/signin/SignInForm"; import { getServerAuthSession } from "@/server/auth"; @@ -13,7 +13,7 @@ export default async function SignInPage() { <div className="grid min-h-screen grid-rows-6 justify-center"> <span className="row-span-1" /> <div className="row-span-1 flex w-96 items-center justify-center space-x-2"> - <HoarderLogo height={100} /> + <KarakeepLogo height={100} /> </div> <div className="row-span-4 px-3"> <SignInForm /> diff --git a/apps/web/components/HoarderIcon.tsx b/apps/web/components/KarakeepIcon.tsx index 94c201e9..d70b3e17 100644 --- a/apps/web/components/HoarderIcon.tsx +++ b/apps/web/components/KarakeepIcon.tsx @@ -1,6 +1,6 @@ import KarakeepFull from "@/public/icons/karakeep-full.svg"; -export default function HoarderLogo({ height }: { height: number }) { +export default function KarakeepLogo({ height }: { height: number }) { return ( <span className="flex items-center"> <KarakeepFull height={height} className={`fill-foreground`} /> diff --git a/apps/web/components/dashboard/header/Header.tsx b/apps/web/components/dashboard/header/Header.tsx index 91f8c2ac..e882ebfc 100644 --- a/apps/web/components/dashboard/header/Header.tsx +++ b/apps/web/components/dashboard/header/Header.tsx @@ -3,7 +3,7 @@ import { redirect } from "next/navigation"; import GlobalActions from "@/components/dashboard/GlobalActions"; import ProfileOptions from "@/components/dashboard/header/ProfileOptions"; import { SearchInput } from "@/components/dashboard/search/SearchInput"; -import HoarderLogo from "@/components/HoarderIcon"; +import KarakeepLogo from "@/components/KarakeepIcon"; import { getServerAuthSession } from "@/server/auth"; export default async function Header() { @@ -16,7 +16,7 @@ export default async function Header() { <header className="sticky left-0 right-0 top-0 z-50 flex h-16 items-center justify-between overflow-x-auto overflow-y-hidden bg-background p-4 shadow"> <div className="hidden items-center sm:flex"> <Link href={"/dashboard/bookmarks"} className="w-56"> - <HoarderLogo height={38} /> + <KarakeepLogo height={38} /> </Link> </div> <div className="flex flex-1 gap-2"> diff --git a/apps/web/components/settings/ImportExport.tsx b/apps/web/components/settings/ImportExport.tsx index ab4fb640..43b934a6 100644 --- a/apps/web/components/settings/ImportExport.tsx +++ b/apps/web/components/settings/ImportExport.tsx @@ -11,7 +11,7 @@ import { useTranslation } from "@/lib/i18n/client"; import { deduplicateBookmarks, ParsedBookmark, - parseHoarderBookmarkFile, + parseKarakeepBookmarkFile, parseLinkwardenBookmarkFile, parseNetscapeBookmarkFile, parseOmnivoreBookmarkFile, @@ -166,7 +166,7 @@ export function ImportExportRow() { | "html" | "pocket" | "omnivore" - | "hoarder" + | "karakeep" | "linkwarden" | "tab-session-manager"; }) => { @@ -174,8 +174,8 @@ export function ImportExportRow() { return await parseNetscapeBookmarkFile(file); } else if (source === "pocket") { return await parsePocketBookmarkFile(file); - } else if (source === "hoarder") { - return await parseHoarderBookmarkFile(file); + } else if (source === "karakeep") { + return await parseKarakeepBookmarkFile(file); } else if (source === "omnivore") { return await parseOmnivoreBookmarkFile(file); } else if (source === "linkwarden") { @@ -374,9 +374,9 @@ export function ImportExportRow() { </FilePickerButton> </ImportCard> <ImportCard - text="Hoarder" + text="Karakeep" description={t( - "settings.import.import_bookmarks_from_hoarder_export", + "settings.import.import_bookmarks_from_karakeep_export", )} > <FilePickerButton @@ -386,7 +386,7 @@ export function ImportExportRow() { multiple={false} className="flex items-center gap-2" onFileSelect={(file) => - runUploadBookmarkFile({ file, source: "hoarder" }) + runUploadBookmarkFile({ file, source: "karakeep" }) } > <p>Import</p> diff --git a/apps/web/components/shared/sidebar/Sidebar.tsx b/apps/web/components/shared/sidebar/Sidebar.tsx index 2bdf365a..dff26cdd 100644 --- a/apps/web/components/shared/sidebar/Sidebar.tsx +++ b/apps/web/components/shared/sidebar/Sidebar.tsx @@ -35,7 +35,7 @@ export default async function Sidebar({ href={ serverConfig.serverVersion === "nightly" ? `https://github.com/karakeep-app/karakeep` - : `https://github.com/hoarder-app/hoarder/releases/tag/v${serverConfig.serverVersion}` + : `https://github.com/karakeep-app/karakeep/releases/tag/v${serverConfig.serverVersion}` } target="_blank" rel="noopener noreferrer" diff --git a/apps/web/lib/i18n/locales/ar/translation.json b/apps/web/lib/i18n/locales/ar/translation.json index 99ee0d54..02574c81 100644 --- a/apps/web/lib/i18n/locales/ar/translation.json +++ b/apps/web/lib/i18n/locales/ar/translation.json @@ -136,7 +136,7 @@ "import_bookmarks_from_pocket_export": "استيراد إشارات مرجعية من تصدير Pocket", "import_bookmarks_from_omnivore_export": "استيراد إشارات مرجعية من تصدير Omnivore", "import_bookmarks_from_linkwarden_export": "استيراد إشارات مرجعية من تصدير Linkwarden", - "import_bookmarks_from_hoarder_export": "استيراد إشارات مرجعية من تصدير Hoarder", + "import_bookmarks_from_karakeep_export": "استيراد إشارات مرجعية من تصدير Karakeep", "export_links_and_notes": "تصدير الروابط والملاحظات", "imported_bookmarks": "الإشارات المرجعية المستوردة" }, diff --git a/apps/web/lib/i18n/locales/da/translation.json b/apps/web/lib/i18n/locales/da/translation.json index eae9a653..4e4d6ca0 100644 --- a/apps/web/lib/i18n/locales/da/translation.json +++ b/apps/web/lib/i18n/locales/da/translation.json @@ -41,7 +41,7 @@ "import": { "export_links_and_notes": "Eksporter links og noter", "import_bookmarks_from_omnivore_export": "Importer bogmærker fra Omnivore-eksport", - "import_bookmarks_from_hoarder_export": "Importer bogmærker fra Hoarder-eksport", + "import_bookmarks_from_karakeep_export": "Importer bogmærker fra Karakeep-eksport", "import_export": "Import / eksport", "import_export_bookmarks": "Import / eksport bogmærker", "import_bookmarks_from_html_file": "Importer bogmærker fra HTML-fil", diff --git a/apps/web/lib/i18n/locales/de/translation.json b/apps/web/lib/i18n/locales/de/translation.json index ce0ec8c7..0218cbe4 100644 --- a/apps/web/lib/i18n/locales/de/translation.json +++ b/apps/web/lib/i18n/locales/de/translation.json @@ -114,7 +114,7 @@ "import_bookmarks_from_html_file": "Lesezeichen aus HTML-Datei importieren", "import_bookmarks_from_pocket_export": "Lesezeichen aus Pocket-Export importieren", "import_bookmarks_from_omnivore_export": "Lesezeichen aus Omnivore-Export importieren", - "import_bookmarks_from_hoarder_export": "Lesezeichen aus Hoarder-Export importieren", + "import_bookmarks_from_karakeep_export": "Lesezeichen aus Karakeep-Export importieren", "export_links_and_notes": "Links und Notizen exportieren", "imported_bookmarks": "Importierte Lesezeichen", "import_bookmarks_from_linkwarden_export": "Importieren Sie Lesezeichen aus dem Linkwarden-Export" diff --git a/apps/web/lib/i18n/locales/en/translation.json b/apps/web/lib/i18n/locales/en/translation.json index 880730ce..f6a59683 100644 --- a/apps/web/lib/i18n/locales/en/translation.json +++ b/apps/web/lib/i18n/locales/en/translation.json @@ -141,7 +141,7 @@ "import_bookmarks_from_pocket_export": "Import Bookmarks from Pocket export", "import_bookmarks_from_omnivore_export": "Import Bookmarks from Omnivore export", "import_bookmarks_from_linkwarden_export": "Import Bookmarks from Linkwarden export", - "import_bookmarks_from_hoarder_export": "Import Bookmarks from Hoarder export", + "import_bookmarks_from_karakeep_export": "Import Bookmarks from Karakeep export", "import_bookmarks_from_tab_session_manager_export": "Import Bookmarks from Tab Session Manager", "export_links_and_notes": "Export Links and Notes", "imported_bookmarks": "Imported Bookmarks" diff --git a/apps/web/lib/i18n/locales/es/translation.json b/apps/web/lib/i18n/locales/es/translation.json index 89af3229..9cd92b89 100644 --- a/apps/web/lib/i18n/locales/es/translation.json +++ b/apps/web/lib/i18n/locales/es/translation.json @@ -70,7 +70,7 @@ "import_bookmarks_from_pocket_export": "Importar marcadores desde exportación de Pocket", "export_links_and_notes": "Exportar links y notas", "imported_bookmarks": "Marcadores importados", - "import_bookmarks_from_hoarder_export": "Importar marcadores desde exportación de Hoarder", + "import_bookmarks_from_karakeep_export": "Importar marcadores desde exportación de Karakeep", "import_bookmarks_from_html_file": "Importar marcadores desde archivo HTML", "import_bookmarks_from_omnivore_export": "Importar marcadores desde exportación de Omnivore", "import_bookmarks_from_linkwarden_export": "Importar marcadores desde Linkwarden", diff --git a/apps/web/lib/i18n/locales/fr/translation.json b/apps/web/lib/i18n/locales/fr/translation.json index a473f4d0..d94555b9 100644 --- a/apps/web/lib/i18n/locales/fr/translation.json +++ b/apps/web/lib/i18n/locales/fr/translation.json @@ -114,7 +114,7 @@ "import_bookmarks_from_html_file": "Importer des favoris depuis un fichier HTML", "import_bookmarks_from_pocket_export": "Importer des favoris depuis une exportation Pocket", "import_bookmarks_from_omnivore_export": "Importer des favoris depuis une exportation Omnivore", - "import_bookmarks_from_hoarder_export": "Importer des favoris depuis une exportation Hoarder", + "import_bookmarks_from_karakeep_export": "Importer des favoris depuis une exportation Karakeep", "export_links_and_notes": "Exporter les liens et les notes", "imported_bookmarks": "Favoris importés", "import_bookmarks_from_linkwarden_export": "Importer des marque-pages depuis l'export Linkwarden" diff --git a/apps/web/lib/i18n/locales/gl/translation.json b/apps/web/lib/i18n/locales/gl/translation.json index 550a51d6..3137525f 100644 --- a/apps/web/lib/i18n/locales/gl/translation.json +++ b/apps/web/lib/i18n/locales/gl/translation.json @@ -120,7 +120,7 @@ "import_bookmarks_from_pocket_export": "Importar marcadores desde Pocket", "import_bookmarks_from_omnivore_export": "Importar marcadores desde Omnivore", "import_bookmarks_from_linkwarden_export": "Importar marcadores desde Linkwarden", - "import_bookmarks_from_hoarder_export": "Importar marcadores desde Hoarder", + "import_bookmarks_from_karakeep_export": "Importar marcadores desde Karakeep", "export_links_and_notes": "Exportar links e notas", "imported_bookmarks": "Marcadores importados" }, diff --git a/apps/web/lib/i18n/locales/hr/translation.json b/apps/web/lib/i18n/locales/hr/translation.json index b07233b7..a60a38d9 100644 --- a/apps/web/lib/i18n/locales/hr/translation.json +++ b/apps/web/lib/i18n/locales/hr/translation.json @@ -105,7 +105,7 @@ "import_export_bookmarks": "Import / Export knjižnih oznaka", "import_bookmarks_from_linkwarden_export": "Import oznaka iz Linkwarden exporta", "import_bookmarks_from_pocket_export": "Import oznaka iz Pocket exporta", - "import_bookmarks_from_hoarder_export": "Import oznaka iz Hoarder exporta", + "import_bookmarks_from_karakeep_export": "Import oznaka iz Karakeep exporta", "export_links_and_notes": "Export veza i bilješki", "imported_bookmarks": "Importirane oznake", "import_bookmarks_from_omnivore_export": "Import oznaka iz Omnivore exporta" diff --git a/apps/web/lib/i18n/locales/hu/translation.json b/apps/web/lib/i18n/locales/hu/translation.json index 675a0773..909385fc 100644 --- a/apps/web/lib/i18n/locales/hu/translation.json +++ b/apps/web/lib/i18n/locales/hu/translation.json @@ -92,7 +92,7 @@ "key_success": "A kulcs létrehozás sikeres" }, "import": { - "import_bookmarks_from_hoarder_export": "Könyvjelző importálása Hoarder-ből", + "import_bookmarks_from_karakeep_export": "Könyvjelző importálása Karakeep-ből", "import_bookmarks_from_omnivore_export": "Könyvjelző importálása Omnivore-ból", "import_export": "Importálás / Exportálás", "import_export_bookmarks": "Könyvjelző importálása / exportálása", diff --git a/apps/web/lib/i18n/locales/it/translation.json b/apps/web/lib/i18n/locales/it/translation.json index 2f21c047..5a3bacae 100644 --- a/apps/web/lib/i18n/locales/it/translation.json +++ b/apps/web/lib/i18n/locales/it/translation.json @@ -111,7 +111,7 @@ "import": { "import_export": "Importa / Esporta", "import_bookmarks_from_pocket_export": "Importa segnalibri da esportazione Pocket", - "import_bookmarks_from_hoarder_export": "Importa segnalibri da esportazione Hoarder", + "import_bookmarks_from_karakeep_export": "Importa segnalibri da esportazione Karakeep", "export_links_and_notes": "Esporta link e note", "imported_bookmarks": "Segnalibri importati", "import_bookmarks_from_html_file": "Importa segnalibri da file HTML", diff --git a/apps/web/lib/i18n/locales/ja/translation.json b/apps/web/lib/i18n/locales/ja/translation.json index d9393d90..ee9bbb4b 100644 --- a/apps/web/lib/i18n/locales/ja/translation.json +++ b/apps/web/lib/i18n/locales/ja/translation.json @@ -109,7 +109,7 @@ "import": { "import_export_bookmarks": "ブックマークのインポート/エクスポート", "import_bookmarks_from_html_file": "HTML ファイルからブックマークをインポートする", - "import_bookmarks_from_hoarder_export": "Hoarder エクスポートからブックマークをインポート", + "import_bookmarks_from_karakeep_export": "Karakeep エクスポートからブックマークをインポート", "imported_bookmarks": "インポートされたブックマーク", "import_bookmarks_from_pocket_export": "Pocketのエクスポートからブックマークをインポート", "import_bookmarks_from_omnivore_export": "Omnivoreエクスポートからブックマークをインポート", diff --git a/apps/web/lib/i18n/locales/ko/translation.json b/apps/web/lib/i18n/locales/ko/translation.json index 33848187..5fe3e33a 100644 --- a/apps/web/lib/i18n/locales/ko/translation.json +++ b/apps/web/lib/i18n/locales/ko/translation.json @@ -265,7 +265,7 @@ "import_bookmarks_from_html_file": "HTML 파일에서 북마크 가져오기", "import_bookmarks_from_pocket_export": "Pocket 내보내기에서 북마크 가져오기", "import_bookmarks_from_omnivore_export": "Omnivore 내보내기에서 북마크 가져오기", - "import_bookmarks_from_hoarder_export": "Hoarder 내보내기에서 북마크 가져오기", + "import_bookmarks_from_karakeep_export": "Karakeep 내보내기에서 북마크 가져오기", "export_links_and_notes": "링크와 주석 내보내기", "imported_bookmarks": "가져온 북마크" }, diff --git a/apps/web/lib/i18n/locales/nb_NO/translation.json b/apps/web/lib/i18n/locales/nb_NO/translation.json index d8ed2b38..125ae03f 100644 --- a/apps/web/lib/i18n/locales/nb_NO/translation.json +++ b/apps/web/lib/i18n/locales/nb_NO/translation.json @@ -148,7 +148,7 @@ "import_bookmarks_from_html_file": "Importer bokmerker fra HTML-fil", "import_bookmarks_from_pocket_export": "Importer bokmerker fra Pocket-eksport", "import_bookmarks_from_linkwarden_export": "Importer bokmerker fra Linkwarden-eksport", - "import_bookmarks_from_hoarder_export": "Importer bokmerker fra Hoarder-eksport", + "import_bookmarks_from_karakeep_export": "Importer bokmerker fra Karakeepp-eksport", "export_links_and_notes": "Eksporter lenker og notater", "imported_bookmarks": "Importerte bokmerker" }, diff --git a/apps/web/lib/i18n/locales/nl/translation.json b/apps/web/lib/i18n/locales/nl/translation.json index ea846560..20a367ea 100644 --- a/apps/web/lib/i18n/locales/nl/translation.json +++ b/apps/web/lib/i18n/locales/nl/translation.json @@ -100,7 +100,7 @@ "import_bookmarks_from_pocket_export": "Importeer Bladwijzers van Pocket export", "import_bookmarks_from_omnivore_export": "Bladwijzers importeren uit Omnivore export", "import_bookmarks_from_linkwarden_export": "Bladwijzers importeren uit Linkwarden-export", - "import_bookmarks_from_hoarder_export": "Bladwijzers importeren uit Hoarder-export", + "import_bookmarks_from_karakeep_export": "Bladwijzers importeren uit Karakeep-export", "export_links_and_notes": "Links en notities exporteren" }, "broken_links": { diff --git a/apps/web/lib/i18n/locales/pl/translation.json b/apps/web/lib/i18n/locales/pl/translation.json index 093c91ee..1ba5e7bb 100644 --- a/apps/web/lib/i18n/locales/pl/translation.json +++ b/apps/web/lib/i18n/locales/pl/translation.json @@ -89,7 +89,7 @@ "import_export": "Import / Eksport", "import_export_bookmarks": "Import / Eksport zakładek", "import_bookmarks_from_omnivore_export": "Importuj zakładki z eksportu Omnivore", - "import_bookmarks_from_hoarder_export": "Importuj zakładki z eksportu Hoarder", + "import_bookmarks_from_karakeep_export": "Importuj zakładki z eksportu Karakeep", "export_links_and_notes": "Eksportuj linki i notatki", "imported_bookmarks": "Zaimportowane zakładki", "import_bookmarks_from_linkwarden_export": "Importuj zakładki z eksportu Linkwarden" diff --git a/apps/web/lib/i18n/locales/pt/translation.json b/apps/web/lib/i18n/locales/pt/translation.json index 2b7c1227..2c768dfd 100644 --- a/apps/web/lib/i18n/locales/pt/translation.json +++ b/apps/web/lib/i18n/locales/pt/translation.json @@ -98,7 +98,7 @@ "import_export_bookmarks": "Importar/Exportar Marcadores", "import_bookmarks_from_html_file": "Importar favoritos de arquivo HTML", "import_bookmarks_from_linkwarden_export": "Importar marcadores da exportação do Linkwarden", - "import_bookmarks_from_hoarder_export": "Importar marcadores da exportação do Hoarder", + "import_bookmarks_from_karakeep_export": "Importar marcadores da exportação do Karakeep", "export_links_and_notes": "Exportar Links e Notas", "imported_bookmarks": "Favoritos importados" }, diff --git a/apps/web/lib/i18n/locales/pt_BR/translation.json b/apps/web/lib/i18n/locales/pt_BR/translation.json index 0fd233f7..f175ec1c 100644 --- a/apps/web/lib/i18n/locales/pt_BR/translation.json +++ b/apps/web/lib/i18n/locales/pt_BR/translation.json @@ -127,7 +127,7 @@ "import_bookmarks_from_pocket_export": "Importar Favoritos de exportação do Pocket", "import_bookmarks_from_omnivore_export": "Importar Favoritos de exportação do Omnivore", "import_bookmarks_from_linkwarden_export": "Importar Favoritos de exportação do Linkwarden", - "import_bookmarks_from_hoarder_export": "Importar Favoritos de exportação do Hoarder", + "import_bookmarks_from_karakeep_export": "Importar Favoritos de exportação do Karakeep", "export_links_and_notes": "Exportar Links e Notas", "imported_bookmarks": "Favoritos Importados" }, diff --git a/apps/web/lib/i18n/locales/ru/translation.json b/apps/web/lib/i18n/locales/ru/translation.json index 544b57ce..e7781537 100644 --- a/apps/web/lib/i18n/locales/ru/translation.json +++ b/apps/web/lib/i18n/locales/ru/translation.json @@ -61,7 +61,7 @@ "new_password": "Новый пароль" }, "import": { - "import_bookmarks_from_hoarder_export": "Импортировать закладки из экспорта Hoarder", + "import_bookmarks_from_karakeep_export": "Импортировать закладки из экспорта Karakeep", "import_export": "Импорт / Экспорт", "import_export_bookmarks": "Импорт / Экспорт закладок", "import_bookmarks_from_pocket_export": "Импортировать закладки из экспорта Pocket", diff --git a/apps/web/lib/i18n/locales/sk/translation.json b/apps/web/lib/i18n/locales/sk/translation.json index dd9a1642..f2cc6b8d 100644 --- a/apps/web/lib/i18n/locales/sk/translation.json +++ b/apps/web/lib/i18n/locales/sk/translation.json @@ -93,7 +93,7 @@ "import_bookmarks_from_html_file": "Importovať záložky z HTML súboru", "import_bookmarks_from_pocket_export": "Importovať záložky z Pocket exportu", "import_bookmarks_from_linkwarden_export": "Importovať záložky z Linkwarden exportu", - "import_bookmarks_from_hoarder_export": "Importovať záložky z Hoarder exportu", + "import_bookmarks_from_karakeep_export": "Importovať záložky z Karakeep exportu", "export_links_and_notes": "Exportovať odkazy a poznámky", "imported_bookmarks": "Importovať záložky", "import_export": "Importovať / exportovať" diff --git a/apps/web/lib/i18n/locales/sl/translation.json b/apps/web/lib/i18n/locales/sl/translation.json index a58518a0..b61b163a 100644 --- a/apps/web/lib/i18n/locales/sl/translation.json +++ b/apps/web/lib/i18n/locales/sl/translation.json @@ -8,7 +8,7 @@ "key_success": "Ključ je bil uspešno ustvarjen" }, "import": { - "import_bookmarks_from_hoarder_export": "Uvozi zaznamke iz Hoarder izvoza", + "import_bookmarks_from_karakeep_export": "Uvozi zaznamke iz Karakeep izvoza", "import_bookmarks_from_linkwarden_export": "Uvozi zaznamke iz Linkwarden izvoza", "imported_bookmarks": "Uvoženi zaznamki", "import_bookmarks_from_pocket_export": "Uvozi zaznamke iz Pocket izvoza", diff --git a/apps/web/lib/i18n/locales/sv/translation.json b/apps/web/lib/i18n/locales/sv/translation.json index cb069318..00567943 100644 --- a/apps/web/lib/i18n/locales/sv/translation.json +++ b/apps/web/lib/i18n/locales/sv/translation.json @@ -112,7 +112,7 @@ "import_export_bookmarks": "Exportera bokmärken", "import_bookmarks_from_omnivore_export": "Importera bokmärken från Omnivore-export", "imported_bookmarks": "Importerade bokmärken", - "import_bookmarks_from_hoarder_export": "Importera bokmärken från Hoarder-export", + "import_bookmarks_from_karakeep_export": "Importera bokmärken från Karakeep-export", "import_bookmarks_from_html_file": "Importera bokmärken från HTML-fil", "import_bookmarks_from_pocket_export": "Importera bokmärken från Pocket-export", "export_links_and_notes": "Exportera länkar och anteckningar", diff --git a/apps/web/lib/i18n/locales/tr/translation.json b/apps/web/lib/i18n/locales/tr/translation.json index abcaffb7..68d951c4 100644 --- a/apps/web/lib/i18n/locales/tr/translation.json +++ b/apps/web/lib/i18n/locales/tr/translation.json @@ -117,7 +117,7 @@ "import_bookmarks_from_html_file": "HTML Dosyasından Yer İşaretlerini İçe Aktar", "import_bookmarks_from_pocket_export": "Pocket Dışa Aktarımından Yer İşaretlerini İçe Aktar", "import_bookmarks_from_omnivore_export": "Omnivore Dışa Aktarımından Yer İşaretlerini İçe Aktar", - "import_bookmarks_from_hoarder_export": "Hoarder Dışa Aktarımından Yer İşaretlerini İçe Aktar", + "import_bookmarks_from_karakeep_export": "Karakeep Dışa Aktarımından Yer İşaretlerini İçe Aktar", "export_links_and_notes": "Bağlantı ve Notları Dışa Aktar", "imported_bookmarks": "İçe Aktarılan Yer İşaretleri", "import_bookmarks_from_linkwarden_export": "Linkwarden dışa aktarımından Yer İşaretlerini İçe Aktar" diff --git a/apps/web/lib/i18n/locales/uk/translation.json b/apps/web/lib/i18n/locales/uk/translation.json index 7b0c88b3..c436e3e0 100644 --- a/apps/web/lib/i18n/locales/uk/translation.json +++ b/apps/web/lib/i18n/locales/uk/translation.json @@ -127,7 +127,7 @@ "import_bookmarks_from_pocket_export": "Імпортувати закладки з експорту Pocket", "import_bookmarks_from_omnivore_export": "Імпорт закладок з експорту Omnivore", "import_bookmarks_from_linkwarden_export": "Імпортувати закладки з експорту Linkwarden", - "import_bookmarks_from_hoarder_export": "Імпортувати закладки з експорту Hoarder", + "import_bookmarks_from_karakeep_export": "Імпортувати закладки з експорту Karakeep", "export_links_and_notes": "Експорт посилань і нотаток", "imported_bookmarks": "Імпортовані закладки" }, diff --git a/apps/web/lib/i18n/locales/vi/translation.json b/apps/web/lib/i18n/locales/vi/translation.json index 3b3b0e17..8176125b 100644 --- a/apps/web/lib/i18n/locales/vi/translation.json +++ b/apps/web/lib/i18n/locales/vi/translation.json @@ -57,7 +57,7 @@ "import_bookmarks_from_linkwarden_export": "Nhập dấu trang từ bản xuất Linkwarden", "import_bookmarks_from_pocket_export": "Nhập dấu trang từ bản xuất Pocket", "import_bookmarks_from_omnivore_export": "Nhập dấu trang từ xuất Omnivore", - "import_bookmarks_from_hoarder_export": "Nhập dấu trang từ bản xuất Hoarder" + "import_bookmarks_from_karakeep_export": "Nhập dấu trang từ bản xuất Karakeep" }, "webhooks": { "edit_auth_token": "Sửa mã xác thực", diff --git a/apps/web/lib/i18n/locales/zh/translation.json b/apps/web/lib/i18n/locales/zh/translation.json index 178baca8..f0a9326a 100644 --- a/apps/web/lib/i18n/locales/zh/translation.json +++ b/apps/web/lib/i18n/locales/zh/translation.json @@ -114,7 +114,7 @@ "import_bookmarks_from_html_file": "从HTML文件导入书签", "import_bookmarks_from_pocket_export": "从Pocket导出导入书签", "import_bookmarks_from_omnivore_export": "从Omnivore导出导入书签", - "import_bookmarks_from_hoarder_export": "从Hoarder导出导入书签", + "import_bookmarks_from_karakeep_export": "从Karakeep导出导入书签", "export_links_and_notes": "导出链接和笔记", "imported_bookmarks": "已导入书签", "import_bookmarks_from_linkwarden_export": "导入 Linkwarden 导出的书签" diff --git a/apps/web/lib/i18n/locales/zhtw/translation.json b/apps/web/lib/i18n/locales/zhtw/translation.json index ae2c3c99..abc3bc0b 100644 --- a/apps/web/lib/i18n/locales/zhtw/translation.json +++ b/apps/web/lib/i18n/locales/zhtw/translation.json @@ -114,7 +114,7 @@ "import_bookmarks_from_html_file": "從 HTML 檔案匯入書籤", "import_bookmarks_from_pocket_export": "從 Pocket 匯出檔案匯入書籤", "import_bookmarks_from_omnivore_export": "從 Omnivore 匯出檔案匯入書籤", - "import_bookmarks_from_hoarder_export": "從 Hoarder 匯出檔案匯入書籤", + "import_bookmarks_from_karakeep_export": "從 Karakeep 匯出檔案匯入書籤", "export_links_and_notes": "匯出連結和筆記", "imported_bookmarks": "已匯入的書籤", "import_bookmarks_from_linkwarden_export": "從 Linkwarden 匯出檔案匯入書籤" diff --git a/apps/web/lib/importBookmarkParser.ts b/apps/web/lib/importBookmarkParser.ts index 25415975..a97e4da9 100644 --- a/apps/web/lib/importBookmarkParser.ts +++ b/apps/web/lib/importBookmarkParser.ts @@ -76,7 +76,7 @@ export async function parsePocketBookmarkFile( }); } -export async function parseHoarderBookmarkFile( +export async function parseKarakeepBookmarkFile( file: File, ): Promise<ParsedBookmark[]> { const textContent = await file.text(); diff --git a/apps/workers/crawlerWorker.ts b/apps/workers/crawlerWorker.ts index 9401088e..a40cbe53 100644 --- a/apps/workers/crawlerWorker.ts +++ b/apps/workers/crawlerWorker.ts @@ -160,7 +160,7 @@ export class CrawlerWorker { try { logger.info("[crawler] Loading adblocker ..."); globalBlocker = await PuppeteerBlocker.fromPrebuiltFull(fetch, { - path: path.join(os.tmpdir(), "hoarder_adblocker.bin"), + path: path.join(os.tmpdir(), "karakeep_adblocker.bin"), read: fs.readFile, write: fs.writeFile, }); diff --git a/apps/workers/workerUtils.ts b/apps/workers/workerUtils.ts index 59a5a780..dc846177 100644 --- a/apps/workers/workerUtils.ts +++ b/apps/workers/workerUtils.ts @@ -1,6 +1,6 @@ import { eq } from "drizzle-orm";
-import { db, HoarderDBTransaction } from "@karakeep/db";
+import { db, KarakeepDBTransaction } from "@karakeep/db";
import { assets, AssetTypes, bookmarks } from "@karakeep/db/schema";
type DBAssetType = typeof assets.$inferInsert;
@@ -8,7 +8,7 @@ type DBAssetType = typeof assets.$inferInsert; export async function updateAsset(
oldAssetId: string | undefined,
newAsset: DBAssetType,
- txn: HoarderDBTransaction,
+ txn: KarakeepDBTransaction,
) {
if (oldAssetId) {
await txn.delete(assets).where(eq(assets.id, oldAssetId));
|
