Skip to content

Isidorsson/stack-picker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stack-picker

Pick a tech stack. Get a diagram. Get the prompt.

A static SPA for sketching a system's tech stack — choose one tech per category (frontend, runtime, database, auth, …), see it rendered as a layered architecture diagram, and copy a ready-to-paste LLM prompt describing the stack.

No backend. Selections live in the URL hash (so any link is a share link). Saved stacks live in localStorage.

Features

  • Layered diagram — categories grouped into Client / Hosting / Application / Data / Services / Observability, with compatibility hints when picks clash.
  • Prompt generator — customizable template with {{stack_list}} and per-category tokens ({{frontend}}, {{database}}, …) for handing the stack to an LLM.
  • Share via URL — selections serialize to the hash; copy the URL to share.
  • Save locally — name and persist stacks in localStorage.
  • Export — download the diagram as SVG or PNG.
  • Light / dark theme — toggled, persisted.

Stack

Getting started

bun install
bun run dev

Open http://localhost:5173.

Scripts

Script What it does
bun run dev Vite dev server
bun run build Production build (static output)
bun run preview Preview the built site
bun run check svelte-check + TypeScript

Deploy

Static output goes to build/. Configured for Vercel via vercel.json, but any static host works (Netlify, GitHub Pages, Cloudflare Pages, S3 + CloudFront, …).

Project layout

src/
  lib/
    components/   # Svelte components (sidebar, diagram, prompt panel, …)
    data/         # categories, layers, compatibility rules
    state/        # picker.svelte.ts — central runes-based store
    utils/        # prompt rendering, URL hash, SVG/PNG export
  routes/         # SvelteKit routes (single-page)
static/           # favicon and static assets

The data model is in src/lib/data/categories.ts — to add a new category or tech, edit that file plus src/lib/data/layers.ts (which row it sits on).

License

MIT.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors