CodeStash
v1.0 just shipped — read the launch notes

The knowledge base built for developers.

CodeStash is the fast, web-based notebook for the things you'll need again — rich notes, beautifully highlighted code, screenshots straight from clipboard, and one-click sharing. No desktop install. No Notion bloat.

Free forever for personal use · No credit card required · Sign in with GitHub

codestash.app/notes
Frontend React hooks cheatsheet

React hooks I always reach for

React Next.js Frontend

A short list of patterns I keep reaching for. Cancel in-flight fetches when the component unmounts so React doesn't shout about state updates on unmounted nodes:

TypeScript hooks.ts
// cancel fetch on unmount
useEffect(() => {
  const controller = new AbortController()
  fetchData(controller.signal)
  return () => controller.abort()
}, [url])

Paste a screenshot from the clipboard and it lands inline — no re-uploading from disk.

12,400+
developers stashing notes
100+
languages highlighted
< 30s
signup to first note
99.9%
uptime SLA

Trusted by engineers at fast-moving teams

Linear Vercel ▲ Pulse stripe. RAILWAY supabase Mistral Cloudflare notion
Code-first editor

Notes that actually understand code.

Block-based, markdown-friendly editing built on TipTap and ProseMirror. Type three backticks and a language to drop in a fully-highlighted code block — VS Code-quality grammars for over 100 languages, line numbers, copy-to-clipboard, and a searchable picker that remembers what you write in.

  • Slash commands, markdown shortcuts, autosave every three seconds.
  • Real-time syntax highlighting in the editor; Shiki-rendered output for shared pages.
  • Tab inserts spaces. ⌘K opens search from anywhere.
Try the editor
queries.py
Python
# top customers by lifetime value
def top_customers(limit: int = 10) -> list[Customer]:
    return (
        Customer.query
        .filter(Customer.churned == False)
        .order_by(Customer.ltv.desc())
        .limit(limit)
        .all()
    )
Why developers love it

Everything you need. Nothing you don't.

We picked the six things that matter most to developers and built them properly. No databases, no Kanban boards, no project management — just the fastest place to write something down and find it again.

100+ language code blocks

VS Code-grade syntax highlighting in both edit and read views. Copy button, line numbers, and language autocomplete out of the box.

Paste screenshots inline

Hit ⌘V from your clipboard and the image lands in your note in under two seconds. Auto-converted to WebP, served from Cloudflare's edge.

Groups & drag-to-organise

A flat, fast folder structure with colour labels and emoji icons. Drag pages between groups; reorder the sidebar however suits your brain.

Find anything in 300ms

Full-text search across prose, titles and code. ⌘K from anywhere — results appear as you type.

One-click sharing

Generate a clean public link, or share with a teammate by username. Rich Open Graph previews on Slack, Discord, X and LinkedIn.

Export to Markdown

Your notes, your data. Export everything as a ZIP of Markdown files with images and folder structure preserved. Obsidian-compatible.

Why CodeStash

Lightweight by design. Sharp where it counts.

We benchmarked the obvious alternatives and built CodeStash to fix what each one gets wrong. Here's the honest comparison:

 
CodeStash
Notion Obsidian GitHub Gists OneNote
Code blocks worth reading VS Code-grade Basic Plugin-only Good, no notes None
Web-native, no install Yes Yes Desktop only Yes Microsoft account
Paste images from clipboard Yes Yes Plugin No Yes
One-click public sharing Yes Yes (paid) Manual publish Public by default Awkward
Built specifically for developers From day one No Yes Sort of No
AK
Alex K. 10:42 AM

Wrote up the React hooks I keep reaching for, sharing here:

codestash.app/p/8xq2k
{ } useEffect()
codestash.app
React hooks I always reach for
A short list of patterns I keep reaching for. Cancel in-flight fetches when the component unmounts so React doesn't shout about state updates…
A by @alex
Share & publish

Every page is one click from shareable.

Generate a public link in a single click. Anyone you send it to gets the page rendered with full syntax highlighting, copy buttons on every code block, and rich previews when pasted into Slack, Discord, or LinkedIn.

Want to build a public footprint? Publish to your developer profile at codestash.app/@you — SEO-indexed, structured data, ready to be found.

2.4M
page views on shared notes last quarter
36%
of new signups come from a shared page
I deleted three apps the day I tried CodeStash. Notion was overkill, Obsidian was stuck on my laptop, and Gists couldn't hold a thought. This is just the right size.
MR
Marcus Reyes
SRE · Mid-size SaaS
Pricing

Free for personal use. Fair for teams.

Start free, upgrade when you need bigger uploads, more groups, or a team workspace. Cancel anytime — your notes stay yours.

Free
£0 / month

Perfect for getting started and personal note-taking.

Start free
  • Unlimited notes
  • 3 groups
  • 5 MB image uploads
  • 3 shared pages
  • 7 days of history
Most popular
Pro
£4 / month, billed annually

Everything an individual developer needs.

Start 14-day trial
  • Unlimited groups
  • 25 MB uploads
  • Unlimited sharing
  • 30-day version history
  • API access & MCP
  • AI semantic search
Team
£8 / user / month

For small dev teams that want a shared brain.

Start a team
  • Team workspaces
  • Real-time collaboration
  • Roles & permissions
  • SSO (Google Workspace)
  • 90-day history
Business
£15 / user / month

Compliance, audit, and admin for larger orgs.

Talk to sales
  • SAML SSO
  • Audit logs
  • Admin controls
  • Unlimited history
  • Custom branding

All prices in GBP. VAT applied where applicable. Annual billing saves two months on Pro.

Frequently asked

Questions developers ask first.

Can I export my notes if I leave?

Yes — at any time. Export everything as a ZIP of Markdown files with images and folder structure preserved. The format is Obsidian-compatible, so you keep your knowledge whether or not you keep us.

Which languages get syntax highlighting?

Over 100 — every language supported by highlight.js for editing and Shiki (the engine VS Code uses) for shared output. The top 20 languages stay pinned at the top of the picker so the ones you reach for daily are always one click away.

Is my data secure?

All traffic runs over TLS 1.3, every database query is gated by Postgres row-level security, and your primary data lives in EU regions. We're GDPR compliant — including the right to erasure (account deletion purges all data within 30 days).

Do you have a VS Code extension?

Yes — select code in your editor, right-click → "Save to CodeStash", pick a group and page (or create a new one), and the snippet is appended with the correct language already detected. Authenticate once via OAuth and forget about it.

Can AI tools query my CodeStash?

On Pro and above, yes. We expose an MCP (Model Context Protocol) endpoint, so Claude, Copilot and other MCP-compatible assistants can pull from your knowledge base as a context source. Your notes become a long-term memory for your AI tools.

Stop scattering your knowledge across five apps.

Sign up in 30 seconds with GitHub. Free forever for personal use — and you'll be writing your first note before this kettle finishes boiling.

No credit card. Cancel any time. Your notes export as Markdown.