A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
import { create } from "zustand";
interface InBookmarkGridState {
inBookmarkGrid: boolean;
setInBookmarkGrid: (inBookmarkGrid: boolean) => void;
}
export const useInBookmarkGridStore = create<InBookmarkGridState>(
(set, get) => ({
inBookmarkGrid: false,
setInBookmarkGrid: (inBookmarkGrid) => {
if (get().inBookmarkGrid === inBookmarkGrid) {
return;
}
set({ inBookmarkGrid });
},
}),
);