A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
export function switchCase<T extends string | number, R>( value: T, cases: Record<T, R>, ) { return cases[value]; }