SURJEET® — PORTFOLIO 2025NEW DELHI, IN — 28.6139° N
SURJEET
000
COMPILING PORTFOLIO — FULL-STACK / AI / E-COMMERCEPATIENCE IS A VIRTUE. SPEED IS A HABIT.

CASE STUDY — 02 / DEVELOPER TOOL — Jul 2024

1,000+ snippets, instant search, zero backend — your code never leaves the device.

RoleDesign + Development, solo
StackNext.js · TypeScript · localStorage
ShippedJul 2024
StatusLive — client-side only ↗
Snippet Manager

THE PROBLEM

Every developer leaks snippets across gists, notes apps, Slack DMs and random text files. Cloud snippet tools fix that by asking you to hand your code — and your habit of pasting secrets — to a third party. I wanted instant, private, offline-first storage with search that keeps up with typing.

Client-side storage is a design problem, not a limitation. The data model had to stay fast past a thousand entries, search had to feel instantaneous, and persistence had to survive schema changes without a migration ceremony.

02.BTHE BUILDFOUR DECISIONS THAT MATTERED
↳

THE APPROACH

Everything lives in a structured localStorage schema with versioned keys, queried through an in-memory index rebuilt on load. Filtering runs across language, category and tags; the search box re-ranks on every keystroke against the in-memory index — no network round trip anywhere in the hot path.

01

In-memory search index

1,000+ snippets searched on every keystroke with tag, language and category filtering — responses land in the same frame as the input.

02

Versioned localStorage schema

Structured persistence with migration-safe keys — the store evolves without stranding user data.

03

Zero backend

No server, no accounts, no telemetry. Data never leaves the device, which is the entire point of the product.

04

Keyboard-first flow

Capture, tag and retrieve snippets without touching the mouse — built for the speed developers actually work at.

0+
Snippets, handled smoothly
0
Backends, servers, accounts
0ms
Network in the search path
0%
Offline-capable
GALEVIDENCEFIG. 01 — 02
“localStorage is a database. Fight me.”

— Title of the journal entry I will write eventually

Open live
Source on GitHub
NEXT CASE — 03 / WEB APPReal-Time Workspace ↗