Back to all projects
Full Stack · Case Study

DevStash — Developer Knowledge & Snippet Hub

Your developer brain, organized. Save, categorize, and instantly retrieve code snippets, AI prompts, commands, and markdown notes.

Role

Creator & Full-Stack Developer

Client

Developer Tool / Open Project

Timeline

2026 (Active Production)

Category

Full Stack

DevStash — Developer Knowledge & Snippet Hub

Technologies Used

Frontend
  • Next.js 16 (App Router)
  • React 19 & Compiler
  • TypeScript 5
  • Tailwind CSS v4
  • Monaco Editor
  • cmdk
  • Radix UI
  • React Markdown
Backend
  • Server Actions
  • NextAuth.js v5 (Auth.js)
  • Zod Validation
  • Bcrypt.js
Database
  • PostgreSQL (adapter-pg)
  • Prisma ORM 7
  • Upstash Redis
  • Rate Limiting
Other / Tooling
  • Vitest
  • ESLint 9
  • tsx Seeding
  • Vercel Edge
The Background & Challenge

The story behind the build

Developers waste hours re-searching for verified configuration snippets, Docker one-liners, regex patterns, and prompts previously crafted during past debugging sessions.

Standard note-taking applications lack syntax highlighting, multi-language code editors, or quick one-click clipboard copying.

Organizing technical bookmarks and documentation links usually results in bloated browser folders without searchable contextual notes.

Solution & Architecture

What was engineered

Created specialized item editors for 5 distinct developer asset types: Code Snippets (Monaco Editor), AI Prompts, Shell Commands, GFM Markdown Notes, and Smart Links.

Developed a hierarchical Collections system allowing smart grouping, drag-and-drop organization, and pinned quick-access favorites.

Built a global ⌘K command palette powered by fuzzy search (cmdk), enabling instant retrieval of any snippet in under 50 milliseconds.

Designed an intuitive dark-mode interface with fluid keyboard navigation, Next-Themes, Sonner toasts, and zero-friction one-click copy buttons.

Decisions worth explaining

React 19 & Next.js 16 App Router

Harnessed React 19 with the Babel React Compiler and Next.js 16 App Router for automatic memoization, instant server rendering, and zero client bundle bloat.

Prisma 7 + PG Driver Adapter & Upstash Rate Limiting

Implemented @prisma/adapter-pg with native PostgreSQL connection pooling alongside Upstash Redis and @upstash/ratelimit for sub-millisecond API rate limiting and edge security.

Results

<50ms

Search response time

Sub-50ms retrieval across extensive snippet libraries via the ⌘K command palette

5 Types

Specialized editors

Tailored workflows for code, shell, prompts, markdown, and smart links

0s

Context loss

Instant one-click copy directly into terminal or code editor

Next Project

RusskinBox — Email Campaign & Workspace Suite

Create campaigns, manage contacts, reuse templates, automate follow-ups, and track real-time deliverability from one workspace.

View project