Context and code, together
One note holds the explanation and the snippet. Stop splitting answers across docs, gists, and scratch files.
Learn moreThe developer notebook that keeps your explanation and your code in one place — private, searchable, and ready when you ship again.
Not another generic notes app — built for how developers capture and reuse what they learn.
const tags = useMemo(
() => [...new Set(
notes.flatMap((note) => note.tags ?? []),
)],
[notes]
);This pulls every unique tag out of your notes array by flattening each note's tags and deduping with a Set.
It wraps the work in useMemo so the list only rebuilds when notes changes — avoids redoing the work on every render.
Worth knowing
note.tags can be undefined — the ?? [] fallback keeps flatMap from crashingnotes array gives you an empty tag list, not an errorSet removes duplicates but doesn't preserve any particular sort orderSnippet languages in the composer
Three reasons developers choose Code Notebook — feature details live in the docs.
One note holds the explanation and the snippet. Stop splitting answers across docs, gists, and scratch files.
Learn moreTags and fuzzy search built for growing libraries — not a folder tree you abandon after a week.
Learn moreRaw code in one click, syntax screenshots when your team needs the highlight colors.
Learn moreA simple loop — no feature dump. See the full walkthrough in documentation.
Title, rich body, tags, and a Monaco panel — one flow for create and edit.
Dashboard plus a searchable grid when your snippet count climbs.
Read view with instant copy — back to shipping, not re-finding.
Three steps to your first snippet library. Read the full guide →
Sign up — your notebook is private from day one.
Add context, tags, and a snippet in the composer.
Search or filter by tag, then copy when you need the code again.
AI explain, shareable links, keyboard navigation, and a VS Code extension — details in the docs.
Stream a plain-English walkthrough of any snippet from the Monaco toolbar.
Learn moreOpt in per note — copy a read-only URL for teammates without an account.
Learn moreCmd+K or Ctrl+K to jump to notes, open the library, or create a note.
Learn moreSelect code, right-click Save to Code Notebook — snippet and language pre-filled.
Learn moreStart free today. Questions? The documentation covers every feature in detail.