New: Install with AgentRahman Resources for your
Rahman Resources for your
next Next app.
36 layouts, 68 slices — copy-first, production-grade, handed to you with shadcn primitives, Convex self-hosted, Tailwind 4 and TypeScript strict. Reusable Next.
What's in the box
Every artifact has been battle-tested in production. Pick what you need, strip what you don't.
Vertical-Slice Architecture
Each feature owns its config, page, views, components, settings, agent, and Convex mirror. Add or remove a feature by adding or removing one folder.
Copy-First Flow
Never greenfield. Every artifact comes from a proven source project (internal kitab-core, rahmanef.com, cescadesigns, notion-clone). Edit imports, ship.
shadcn-only UI
All components are shadcn primitives or composed from them. ResponsiveDialog, DateField, FileUpload — no raw HTML buttons or dialogs.
audit-bp Gated
Best-practice auditor pulls latest Next 16 / React 19 / Convex docs via Context7 before scoring. Score ≥80 to ship.
Dokploy in One Command
si-coder skill creates the GitHub repo, pushes, configures Dokploy, sets DNS, and triggers deploy. Zero human involvement.
Self-hosted Convex + @convex-dev/auth
No Clerk. Self-hosted Convex backend in the same docker-compose. Postgres-backed for prod.
Auto-generated Slice Docs
Per-slice DEPS.md, CONTRACT.md, STATUS.md, USAGE.md generated from imports + defineFeature config.
Cookbook + Recipes
8 layout variants and 8 feature drop-ins (block editor, command palette, db views, comments, ...) ready to mount.
Cookbook layouts
Production-grade layouts. Marketing, dashboard, and CMS shapes.
Personal Brand OS
Full-app personal site — public landing (hero, blog, portfolio, services, resources, contact) + admin dashboard (posts, leads, chatbot, comments). Inspired by saudivisuals.com + cescadesigns. Fill-in-the-blank with lorem ipsum.
templatepersonal-brandblog
Agency Studio OS
Full-app B2B agency / studio site — public (home, services, work + project detail, about, contact) + admin (dashboard, projects pipeline, clients, services, leads, settings). Inspired by saudivisuals.com + cescadesigns.
templateagencystudio
Landing — Hero Carousel
Full-width image carousel hero with auto-fade + dot indicators. Originally CMS-driven via Convex. Best for visual brands.
marketingcarouselimage
Landing — Asymmetric Masonry
8-slot repeating asymmetric grid. Intersection-observer staggered scroll-reveal. Lifted from rahmanef.com portfolio.
marketingportfoliomasonry
Landing — Bento Grid
Feature-grid marketing landing. Compose Card + Magnetic + KineticHeading. Modern SaaS feel.
marketingbentofeatures
Landing — Kinetic Text
Brand-forward landing. Letter-stagger headings + magnetic CTAs + marquee strips. Motion-heavy.
marketingmotiontype
Slices
Tier-3 vertical slices. Auth, AI, payments, editor primitives — ported and audited.
Image Editor — layered raster editor
A Photoshop-style raster image editor built on Konva. Layers panel (reorder, opacity, visibility, lock, 16 blend modes), free transform (move/scale/rotate/flip via a Transformer), image + text + shape + paint layers, brush & eraser with size/opacity/hardness, non-destructive adjustments + filters, canvas resize/aspect presets, and LAYER STYLES: stroke, drop shadow, outer glow, clipping mask. One-click BACKGROUND REMOVAL runs fully in-browser via @imgly/background-removal (free, no API key — downloads a small ONNX model on first use). Undo/redo, zoom/pan, shortcuts, PNG/JPG/WebP export. v2 adds an AI FUNCTION-CALLING layer: every editor operation is a named, schema'd command (EDITOR_COMMANDS registry + useEditorCommands binding) driven by an in-editor chat; the streaming bridge is injectable via configureAgentStream(fn) and everything except the chat works without it. A headless server barrel (server.ts) runs commands against documents with no DOM. Image I/O via props (initialImage / onSave).
image-editorphotoshopcanvas
Reel — video timeline editor
A complete in-browser video editor. Real media clips (image/video/audio) on a layered multi-track timeline — the top row renders frontmost, with ▲▼ reorder and per-track lock/hide/mute. ONE Canvas-2D draw path is shared by the live preview and the realtime MediaRecorder exporter, so what you see is exactly what renders (WebM with real mixed audio: per-clip volume/fades/auto-duck through a streaming audio graph). Per-clip trim/speed (0.25–4×)/reverse, dissolve/wipe/slide transitions via clip overlap, keyframes (opacity/scale/x/y/rotation) with easing + one-click In/Out animation presets, text styling with preset grid, color grading + vignette, filmstrip thumbnails + real waveforms, snapping, split/duplicate. The workspace is config-driven: 6 resizable layout presets (react-resizable-panels v4) incl. quick-import files-pane layouts, plus custom composition size. Drafts auto-save to localStorage. Self-contained: toasts via sonner, the files pane runs on an injectable fs adapter (configureReelFs; in-memory mock by default), and shell hooks (inspector/activity) are inert seams in lib/host.ts.
videovideo-editortimeline
Preview — media quick-look
A quick-look media viewer in the macOS Preview spirit. Images render on a zoomable (40–300%) checkerboard stage so transparency reads; audio gets a card player with a CSS-bar waveform + transport; video gets play/pause + scrubber + volume; PDFs embed full-bleed and text gets a simple surface. The toolbar carries a type-indicator chip, zoom, Download, Open-in-editor, and prev/next. Two integration seams in lib/host.ts make it portable: configureMediaSource maps fs paths to fetchable URLs (identity by default, so public URLs work with zero wiring) and configureMediaOpener routes the Open-in-editor handoff (image → image-editor, video/audio → reel-editor) to your shell — both inert until set. Launched bare it shows a fully offline sample gallery (inline SVG gradients, simulated A/V playback). Pairs with file-explorer (onOpenFile → MediaViewer payload) and the editors.
mediapreviewviewer
Code — overlay syntax editor
A lightweight code editor in the VS-Code spirit without the weight: a transparent textarea layered over a highlighted pre (regex tokenizer for JS/TS/JSON/CSS) gives real editing with live syntax color and a line-number gutter; a tab strip tracks dirty buffers with Cmd/Ctrl+S save; a status bar shows path, Ln/Col, tab size, language and save state. The explorer is a lazy per-directory tree — each folder lists on expand, with inline new-file/new-folder affordances — rendered as a rail on desktop and a Sheet on mobile, and the new-file form is a responsive dialog ⇄ bottom drawer. The filesystem is INJECTED via a small CodeFsAdapter (list/read/write/mkdir): point configureCodeFs at a real API or use the bundled writable in-memory mock (seeded sample tree) so it works with zero backend. Writes are best-effort — a read-only host flags the save but keeps the local buffer. Pairs with file-explorer (onOpenFile → payload) and appshell.
codeeditorsyntax-highlight
System Monitor — host telemetry dashboard
An Activity-Monitor-style dashboard: circular CPU/RAM/disk/GPU gauges, rolling CPU + network sparklines on glass panels, and a live process table — polling every 1.5s with a ~40-point history. Telemetry is INJECTED via a small SysMonAdapter (stats/processes): point configureSysmon at a real host API (/proc, an agent, a cloud endpoint) or keep the bundled wavy in-browser mock so the dashboard renders alive with zero backend. Self-contained: shell inspector hooks are inert seams in lib/host.ts.
monitoringtelemetrydashboard
Terminal — shell emulator with live passthrough
A React-DOM terminal: monospace glass aesthetic, colored prompt, arrow-key history, red stderr. Built-ins (ls·cd·pwd·cat·mkdir·touch·rm·mv·cp·echo·whoami·date·uname·df·ps·neofetch·help·clear) run against an in-memory FsModel, so it works with ZERO backend. Wire configureTerminal({ mode:"live", fs, exec }) and ls/cat read through your real filesystem, file mutations mirror to it, and any unknown command passes through exec.run as a one-shot shell call (stdout/stderr/exit rendered). Self-contained: shell inspector hooks are inert seams in lib/host.ts.
terminalshellcli
Stack
Everything you'd pick if you were starting today.
Pick how you start.
Roll your own, hand it to an agent, bring an existing project, or compose it visually — every path lands on the same rr conventions.
Roll your own — copy from the repo, adjust imports, ship.
terminalbash
# Fresh Next 16 + React 19 + Tailwind 4 + Convex + shadcn app
npx rahman-resources@latest init my-app
# …pre-bake every shadcn primitive:
npx rahman-resources@latest init my-app --with-shadcn-all
# …or pre-load a full-app template:
npx rahman-resources@latest init my-app --template personal-brand-os
cd my-app
cp .env.example .env.local # fill NEXT_PUBLIC_CONVEX_URL
npx convex dev --once # generate convex/_generated
npm run dev # http://localhost:3000