A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
import type { Metadata } from "next";
import Bookmarks from "@/components/dashboard/bookmarks/Bookmarks";
import InfoTooltip from "@/components/ui/info-tooltip";
import { useTranslation } from "@/lib/i18n/server";
export async function generateMetadata(): Promise<Metadata> {
// oxlint-disable-next-line rules-of-hooks
const { t } = await useTranslation();
return {
title: `${t("common.archive")} | Karakeep`,
};
}
function header() {
return (
<div className="flex gap-2">
<p className="text-2xl">🗄️ Archive</p>
<InfoTooltip size={17} className="my-auto" variant="explain">
<p>Archived bookmarks won't appear in the homepage</p>
</InfoTooltip>
</div>
);
}
export default async function ArchivedBookmarkPage() {
return (
<Bookmarks
header={header()}
query={{ archived: true }}
showDivider={true}
showEditorCard={true}
/>
);
}