rmnr
DocsTourSlicesBest PracticeAgentsInstall

Command Palette

Search for a command to run...

New
  • All slices
  • 3
  • 3
  • 4
  • 8
  • 11
  • 17
  • 18
  • 5
Catalog

Slices

Tier-3 portable vertical slices. Each slice ships a frontend half + a Convex backend half. Lift one folder, drop it into any compatible project. See slice architecture for the full plan.

Bundle builderGrand Tour
npx rahman-resources add <slug>npx rahman-resources lift rahman:<slug>
69 items

Auth(3)

v0.4.0

Convex Auth — Multi-Provider Sign-in

@convex-dev/auth: props-driven AuthCard (google · github · magic-link · password · phone OTP). No Clerk.

authconvexpasswordmagic-linkgoogle
v0.3.0peers: convex-auth

RBAC — Roles & Permissions

RBAC engine: 6 role presets + wildcard permissions + <PermissionGate>. Props-driven. No Clerk.

rbacauthpermissionsrolesauthorization
v0.7.0peers: rbac-roles, convex-auth

User Management

Members · invites · roles · teams · hierarchy · access matrix — tabbed, permission-gated. Props-driven.

user-managementmembersrbacauthteam

Integrations(3)

v0.4.0peers: convex-auth

Payment — Indonesia PSP (DOKU · Midtrans)

Indonesia payment providers behind one slug + ONE shared Convex backend (convex/features/payment discriminates on a provider column: paymentOrders + paymentWebhookEvents, unprefixed). Two frontend variants: doku — DOKU Hosted Checkout + Direct (VA / QRIS / e-Wallet / PayLater), HMAC-SHA256 signed REST, signature-verified webhook, idempotent retries, dependency-free, server-side env only. midtrans — Snap hosted-modal checkout + orders history (needs npm midtrans-client + a NEXT_PUBLIC_MIDTRANS_CLIENT_KEY). Install one with `npx rr add payment doku|midtrans`, or both. A future stripe variant is reserved in the schema's provider union.

paymentcheckoutindonesiadokumidtrans
v0.2.0

Resend — Transactional & Newsletter

Transactional email + newsletter blast via Resend. Double opt-in flow + audience segmentation. Magic-link delivery for Convex Auth. Bundles the subscribers list backend (subscribe / confirm / unsubscribe / count) — formerly the standalone `subscribers` slice, merged here in v0.1.3.

emailnewsletterresend
v0.1.0peers: convex-auth

Contact Form + Resend

Contact form posting to Resend email API. Server Action + Zod input validation. Convex mutation for storage + Resend send.

formemailresendconvex

AI(4)

v0.2.0peers: convex-auth

Create Your MCP

Turn any rr-based app into an MCP server that ChatGPT custom apps, Claude.ai connectors, Cursor MCP, and other AI clients authenticate to. OAuth 2.1 + PKCE flow with code → bearer exchange, env-configured vendor-host allowlist, single-use codes, 1-year bearer tokens, scope-tagged tools, opaque error collapsing, constant-time token compare. Static MCP_API_KEY fallback for service-account / CI scripts. Sanitized 2026-05-16 from rahmanef.com's production MCP integration — vendor literals (chatgpt.com / OpenAI paths) replaced with MCP_OAUTH_ALLOWED_HOSTS + MCP_OAUTH_ALLOWED_PATH_PREFIXES env vars so the slice ships portable.

aimcpoauthpkcechatgpt

AI3

v0.3.0peers: convex-auth, ai-router, ai-admin, vector-search

AI Workspace — chat · studio · agents

Three AI surfaces behind one slug — chat FAB, generation studio, agent runner. Install one variant or all.

aiai:chatbotai:studioai:agentagent-mode
v0.3.0peers: convex-auth, rbac-roles, admin-panel, audit-log

AI Admin — Console (Instructions · Skills · Tools · Agents · Providers)

Central operator console for the whole AI stack. Every other ai-* feature reads its registries from here. Tabs ordered to match the build-flow: 1. Providers — register Anthropic / OpenAI / Google / Mistral / Ollama (API keys AES-encrypted at rest) 2. Models — per-provider catalog (capabilities, context window, pricing) 3. Instructions — custom system-prompt library (Claude Projects-style) 4. Skills — named instruction + model default + tool defaults (consumed by chat + studio) 5. Tools — JSON-schema function specs + impl (http / convex / shell) + sandbox flag 6. Agents — skill × model × tools × max-iter (consumed by ai-agents) 7. Budgets — per-workspace cost caps + alerts + hard kill 8. Audit — every AI call: actor / agent / tokens / cost / latency / outcome Includes Create-Agent / Create-Skill / Create-Tool / Create-Instruction wizards.

aiai:admininstructionsskillstools
v0.5.0

AI Router — Backend Provider Proxy

Backend infrastructure (no UI). Single proxy that every other ai-* feature calls. Tier-routed — nano (Haiku) for classification, mid (Sonnet) for chat, flagship (Opus) for deep reasoning. Per-call usage log + cost guard. Works with direct provider keys or OpenRouter umbrella. Not something you mount — installed automatically as a peer when you add ai-workspace.

aiai:backendtier-routingcost-guard

Data(8)

v0.2.0

Convex Vector Search

Embeddings-based search via Convex's built-in vector index. Embed via OpenAI text-embedding-3-small (1536-dim), query via vectorIndex().

searchvectorembeddingsconvexrag
v0.2.0

Cal.com Booking

Embedded Cal.com booking widget + webhook receiver to mirror bookings into Convex.

dataschedulingcal-combookings
v0.2.0

BroadcastChannel — Cross-tab Sync

Same-origin cross-tab + cross-iframe state sync via BroadcastChannel API. Tiny, no backend, no install.

realtimecross-tabbroadcast-channeldemo-pattern
v0.1.0peers: admin-panel

Event Tracking — P0 Instrumentation

Client SDK + Convex ingestion endpoint for structured product events. Auto-captures page_view/signup/login + UTM/referrer/first-touch attribution. Batched flush via requestIdleCallback. Targets <100ms p99 ingestion.

eventsanalyticsinstrumentationattributionutm
convexlucide-reactnext
v0.3.0

Activity — public productivity log

Public-facing weekly activity log. Lists user-facing activities grouped by ISO week with schema.org-friendly markup, designed to maximise SEO so the question 'what is <person> working on this week?' lands here. Convex-backed (schema + queries + unauthenticated mutations); MCP-friendly so AI workflows (Claude / GPT / custom agents) can append entries directly. All user-facing copy + per-category labels + date/time locale are prop-driven (English defaults). Lifted 2026-05-27 from rahmanef.com; 225-LOC view split into view + 2 sub-components + 4 lib helpers for the 200-LOC cap; Indonesian strings + custom primitives stripped; cross-slice auth import dropped (consumer wraps mutations).

activityproductivitylognow-pagefeed
v0.3.0

File Upload — pluggable upload + URL resolver with storage-adapter contract

Upload + URL resolver behind a storage adapter. localStorage demo, swap to Convex/S3.

datauploadfilesstorageadapter
convexnextreact
v0.2.0peers: seo

Library — resource hub (prompts · visuals · snippets · links)

Grab-bag resource hub. One polymorphic `libraryItems` table holds six kinds — prompt, image, video, link, download, snippet — with per-kind payload fields switched on `kind` (no joins). Attribution-first: every item carries optional source/license/tools so re-shares stay correct. Collections group items. Convex-backed (schema + queries + unauthenticated mutations); SEO override fields reused from the `seo` peer slice so the surface matches blog/projects rows. Public view = filterable card grid + per-item detail with copy-to-clipboard for prompts/snippets and an opt-in upvote control. Lifted 2026-05-28 from rahmanef.com; 432-LOC mutations + 330-LOC detail split for the 200-LOC cap; Indonesian copy + custom primitives stripped (prop-driven English defaults); cross-slice auth + comments-votes coupling dropped (consumer wraps mutations + supplies the upvote handler).

libraryresourcespromptssnippetsmoodboard
v0.2.0

Data Table — TanStack + shadcn

Generic sortable/filterable/paginated table — row selection + column visibility on shadcn Table.

tabledata-tabledatagridsortingfiltering

Content(11)

v0.3.0peers: convex-auth

SEO — AI Metadata Generator

Service slice for SEO metadata generation — Anthropic-backed action with per-user 24h cost guard + portable persona prop. No public route. Backend exposes generate + generateAndApply mutations gated by requireAdmin; consumers inject brand voice via the personaContext arg (or buildSeoSystemPrompt factory).

contentseoaianthropicmetadata-generator
v0.1.0

Publisher — clean HTML

Render a node tree to standalone, framework-runtime-free HTML with one deduped CSS bundle + layered sanitization (HTML/CSS/CSP + injectable DOMPurify). Zero deps, no Convex.

contentpublisherhtmlstatic-exportsanitization
v0.1.0

Content Loops

Data-source-driven repeater: register pluggable sources, render one component per item, round-robin across variants, none/infinite pagination — no backend required.

contentlooprepeaterlistdata-source
v0.3.1

Markdown — page container with CRUD tabs + diagrams

Markdown (.md) container: Read / Write / Review tabs, mermaid diagrams, recharts charts. Same grammar as the notion editor.

contentmarkdownreadereditorreview
lucide-reactembla-carousel-autoplaynext
v0.4.0

Sections — composable marketing/landing sections

Marketing/landing-page composition: admin CRUD + config-driven public section renderers (stats/testimonials/pricing/faq/newsletter/custom). Absorbs the old feature-grid/faq-section/pricing-page/testimonials-grid/blog-section/portfolio-section/changelog-feed slugs.

adminlandingcmssectionscrud
v0.2.0peers: payment

Storefront Checkout — guest cart + checkout composition

Keranjang guest (localStorage) + sheet + ringkasan checkout. Host re-prices server-side; pasangkan dengan doku-payment untuk step bayar.

ecommercecartcheckoutgueststorefront
v0.1.0

Pages CMS — block-composed multi-page editor

Multi-page CMS: list/create/edit/publish pages built from 11 block kinds — localStorage or your own backend.

contentcmspagesblockseditor
v0.3.0peers: convex-auth

Comments — Threaded

Polymorphic-target threaded comments. Consumer picks `TargetRef = { kind, id, subId? }` (e.g. page+block, blog+slug, task+id). Reply nesting is real: `parentId` end-to-end + `buildThread(flat) → CommentNode[]` tree (oldest-first, orphan-safe). Renderless <CommentsThread> + <CommentsAnchor> wrappers; useComments(bindings, opts) returns items + `tree` + openCount + CRUD + forbiddenWords guard. Adapter pattern — see contract-negotiations §1.

contentsocialcommentsthreadedannotations
sonner@dnd-kit/core@dnd-kit/sortable
v1.1.1

Notion App — Block Editor

The notion-page-clone block editor as a portable slice: slash menu, markdown triggers, drag, per-block toolbar — host capabilities invert through an EditorAdapter seam.

contentnotioneditorblock-editorrich-text

Landing sections2

v0.1.1peers: convex-auth

Testimonials

Quote/name/role rotator backend. Public `listAll` + `get` (no auth — testimonials are public), admin CRUD via `requireAdmin`, internal `seed` for one-shot bootstrap. Indexed by `order` so carousel/grid keeps stable rotation. Lifted 2026-05-16 from rahmanef.com; token-based admin gate swapped for rr `_shared/auth`.

contenttestimonialsconvexbackendmarketing
v0.1.1peers: convex-auth

Services

Service offerings backend — title + summary + deliverables array + sort order. Public read, admin CRUD, internal seed. Pairs with a frontend services grid/list (consumer-side). Lifted 2026-05-16 from rahmanef.com; token-based admin gate swapped for rr `_shared/auth`.

contentservicesconvexbackendmarketing

UI(17)

v0.3.0

Command Menu

Notion-style ⌘K palette + search modal. Consumer supplies groups; slice owns dialog + MRU.

uipalettecmd-knavigationkeyboard
v0.1.0

Motion Primitives (8)

Eight ready-to-style motion components: marquee, kinetic-heading, magnetic, cursor-spotlight, stat-counter, reading-progress, grain, lightbox. Framer-Motion-powered, tree-shakeable. Facade slice — pulls from template-base/frontend/slices/motion-primitives.

uimotionanimationmarqueeframer-motion
v0.1.0

Responsive Dialog (Sheet ↔ Modal)

ResponsiveDialog — auto-switches between bottom Sheet (mobile) and centered Dialog (desktop) at the md breakpoint. Same API as shadcn Dialog. Kitab forbids raw <dialog>; use this everywhere. Facade slice — pulls from template-base/frontend/slices/responsive-dialog.

uidialogmodalsheetresponsive
v0.1.0

Three-Column Layout — Sidebar/Content/Inspector

ThreeColumnLayoutAdvanced — collapsible left/right + resizable widths + responsive breakpoints + PanelSection compound (Header/Items/Footer) + per-panel footer slots. Models shadcn sidebar API for the panel interior. Pair with PanelGroup/PanelMenu/PanelSeparator primitives. Trigger ≠ header (V-wave separation rule).

uilayoutthree-columnsidebarinspector
v0.5.0

Icon Picker

Notion-style emoji + lucide + phosphor picker. Search, 10-color tint, smart positioning.

iconemojilucidephosphorpicker
v0.1.0

Motion Kit — scroll reveals, carousel, accordion, micro-interactions

Tasteful entrance animations with no motion library: Reveal/Stagger/CountUp/Marquee + embla carousel + radix accordion. Reduced-motion safe.

uimotionanimationscrollreveal
v0.2.0

Site Setup Wizard — first-run site setup

Post-claim setup wizard: identitas, branding + theme preset live-preview, seed konten — semua props-driven, zero backend lock-in.

uionboardingwizardsetupfirst-run
v0.2.0

Selection — marquee multi-select + bulk actions

Marquee rubber-band multi-select for any list. Drag-right encloses, drag-left crosses, bulk delete.

uiselectionmarqueerubber-bandmulti-select
v0.3.0

Image Picker — one-button image/wallpaper chooser (gallery · upload · link · Unsplash · reposition)

ONE button opens a dialog: gallery (colours/gradients/textures), upload, paste URL, Unsplash search. Set any image — wallpaper, cover, profile header. Props-driven, no backend lock-in.

uiimagepickerwallpapercover
v0.2.0

Feedback States — loading skeletons + empty/error states

The "no real content yet" family — skeletons + spinners and 404/500/403 + zero-data, in two installable variants.

loadingskeletonspinnerempty-state404
v0.2.0

Marketing Chrome — Header + Footer

Config-driven marketing navbar + footer — the chrome every template hand-rolled, now one slice.

headerfooternavbarmarketingnavigation
v1.0.0

Settings — account + appearance shells

Two adapter-driven settings shells — account (async load+save) and appearance (sync per-setting) — the slice owns no data.

settingspreferencesaccountappearancetheme
v0.2.0

Notifications Center — bell + inbox

Bell with unread badge + popover/sheet inbox — adapter-driven, host supplies the feed.

notificationsinboxbellunreadtoast
v0.4.0

Theme Presets — unified switcher with bundled tweakcn registry

ONE switcher: light/dark/system + ~30 color presets in one Popover. Registry ships inside the slice — no public/ setup.

uithemetweakcncolorpreset
v0.24.0

Notion UI — page editor · database · sidebar primitives

Pure Notion-clone primitives in 3 variants — page editor · 11-view database · tree sidebar — over one shared domain-type model. Not the full app (that's `notion`).

uinotionnotion-likedatabasetable

Admin / workspace2

v0.1.0

Dashboard Shell — Responsive

ResponsiveDashboardShell — desktop sidebar + topbar, mobile dock + sheet sidebar, breakpoint-aware. Ports superspace's layout/dashboard/{Desktop,Mobile,Responsive}DashboardShell + sidebar primary/secondary slots. Facade slice — pulls from template-base/frontend/slices/dashboard-shell.

uilayoutdashboardsidebartopbar
v1.0.0peers: convex-auth

Workspace Shell — atomic (workspace × menuSet) NavContext

Unified workspace + menu navigation primitive. NavContext = (workspaceId, menuSetId) atomic pair. 2-tier dropdown switcher (workspace radio + menuSet picker), ContextBadge header chip, full editor with tabs (menus / workspace tree / settings), tiered RBAC (admin menus.manage, user menus.fork). Replaces silo'd menu-store + workspace-store slices in superspace. Resolver chain: user nav-context cache > user assignment > workspace default > system. Source: superspace.

uinavigationworkspacemenushell

OS Apps(18)

v2.1.1

Image Editor — layered raster editor

Layered raster editor: layers, transform, paint, filters, layer styles, 1-click background removal, AI command registry, export.

image-editorphotoshopcanvaskonvalayers
v1.2.1

Reel — video timeline editor

In-browser NLE: layered multi-track timeline, keyframes, transitions, color grading, realtime WebM export with mixed audio.

videovideo-editortimelinenlekeyframes
v1.2.1

Preview — media quick-look

Quick-look viewer for image/video/audio/pdf: zoomable stage, transport players, editor handoff — backend optional.

mediapreviewviewerquick-lookimage
v1.2.1

Code — overlay syntax editor

Lightweight code editor: overlay highlighting, tabs with dirty dots, lazy explorer tree, injectable filesystem.

codeeditorsyntax-highlightidetabs
v1.2.1

System Monitor — host telemetry dashboard

Activity-Monitor-style dashboard: CPU/RAM/disk/GPU gauges, sparklines, live process table — telemetry injected.

monitoringtelemetrydashboardgaugessparkline
v1.0.0

Booking — session request form + owner inbox

Public 'book a session' form + the owner's triage inbox in one app — backend injected.

bookingcontactforminboxlead
v1.0.0

HTML Studio — sandboxed HTML/CSS/JS editor with live preview

Write HTML/CSS/JS, see it render live in a sandboxed iframe (opaque origin), Save to a shareable link — backend injected.

htmleditorsandboxiframepreview
v1.0.0

Resources Admin — curated icon-launcher CRUD

Owner-gated CRUD for a curated icon-launcher — add/edit/remove/reorder links that open in a new tab, backend injected.

launcherlinksbookmarksadmincrud
v1.0.0

Profile — CV + identity card

One owner's identity in two renderings — a formal one-column CV (resume) and a compact avatar + links + FAQ card (card).

resumecvprofileportfolioabout
v1.0.0

Start Here — guided OS onboarding tour

Lays the OS out as a guided path of stages — reads the LIVE app catalog (drift-proof), every tile opens the real app.

onboardingtourwelcomelauncherguide
v1.2.1

Terminal — shell emulator with live passthrough + PTY seam

React terminal: 17 built-ins on an in-memory fs, arrow-key history — wire exec for real one-shot shell passthrough.

terminalshellcliemulatorexec
v1.1.1

Assistant — agent workspace with streaming chat

Streaming chat + user-created agents, skills and automations (localStorage) — bring any LLM as an async generator.

aiassistantchatagentsstreaming
v1.2.1

Browser — remote headless-browser chrome

Omnibar, bookmarks, history + a screenshot viewport that forwards input — drive any headless Chromium via one adapter.

browserheadlessplaywrightremoteomnibar
v1.2.1

App Store — install, create + toggle apps

Storefront + Create-App over one localStorage registry; useInstalledApps() feeds any appshell-style launcher.

app-storeregistryinstallerdynamic-appslauncher
v1.6.0

File Explorer — Tree + CRUD + Preview + Properties

Backend-agnostic file manager: directory tree sidebar, breadcrumb nav, grid/list views, full CRUD.

filesfile-managerexplorertreebreadcrumb
v1.5.1

AppShell — Desktop + Mobile OS Shell

Manifest-driven macOS-style window manager + iOS-style mobile surface in one slice.

shellwindow-managerdesktopmobileresponsive
v1.0.0

Design Studio — photo / social design canvas

Standalone canvas studio: layers, filters, masks, transforms, aspect presets, export modal — fully offline demo.

canvaseditorlayersfiltersexport
v1.0.0

Quicklinks — website shortcuts with favicons

Add/remove website shortcuts with favicons; localStorage by default, injectable store for any host.

shortcutsbookmarksfaviconslauncherui

Infra(5)

v0.3.0

Rate Limit

Convex-backed per-key request counter. Atomic check-and-increment via `consume` mutation; expired rows pruned by `_pruneExpired` internalMutation wired to a 5-min cron. Replaces single-replica in-memory Map so multi-replica Next deployments share buckets. Limits live in an in-code POLICY map keyed by namespace prefix (admin-login:<ip>, mcp:<ip>) — never caller-supplied; optional RATE_LIMIT_SERVER_KEY env gates anonymous calls. Lifted 2026-05-16 from rahmanef.com; hardened 2026-06-07.

infrarate-limitconvexbackendthrottle

Admin / workspace4

v0.1.0peers: rbac-roles, dashboard-shell

Admin Panel — Unified Product Admin

17-section admin surface (events, funnels, attribution, users, A/B, flags, pricing, CMS, email, audit, ...) gated by RBAC. Auto-filters sidebar by tier (solo/influencer/organization) and user permissions. Single backend resolver (getMyAdminAccess) mirrors frontend gate so UI can never leak.

adminownerplatformrbacinstrumentation
v0.2.1peers: convex-auth, rbac-roles

Admin — generic shell + composed console

Access-gated admin in 2 variants — a minimal generic shell, or the composed 26-section console that mounts your other slices. Each pulls only its own backend.

infraadminconsoleshelldashboard
v0.2.0peers: convex-auth, audit-log, dashboard-shell

Platform Admin — Multi-Tenant Control Plane

Multi-tenant SaaS control plane. Workspace lifecycle ops (list/delete/cascade), per-tenant tier presets (gates + quota), KPI dashboard grid. Consumer-domain bits injected via adapter props (tenantTablesAdapter / tierPresets / kpiSources). Contract-only scaffold; canonical implementation lands via /rr-send from superspace. See docs/contract-negotiations-2026-05-15.md §4.

infraadminmulti-tenantsaasplatform
v0.3.0peers: convex-auth

Audit Log — Workspace Events

Workspace-scoped audit event recorder. Canonical logAuditEvent helper for mutations + actions; supports entity tracking, before/after diff, IP/user-agent capture.

infraauditcompliancelogging