Skip to content
VibeFather
Sign up free

2 cases built from this template

Same prompt, different [VARIABLES]. Click one to preview it above.

About this template

Code Hosting Platform App is a self-contained developer workspace modeled around the everyday repository workflow: browsing source trees, switching branches, reviewing split or unified pull request diffs, triaging issues, tracking releases, and inspecting code activity charts. Designed for developer tools teams, internal platform demos, documentation sandboxes, and engineering showcases, it ships as a pure static single-page app with zero backend dependencies. Everything interactive persists locally in the browser through a dedicated storage adapter, including stars, watches, forks, new issues, issue replies, reaction counters, and inline pull request review comments. The visual system anchors on Midnight Ink (#0D1321) paired with semantic Mint (#3DDC97) for additions and open states, Coral (#FF6B6B) for deletions and closed items, and Amber (#FFB547) for highlights, alongside a high-contrast light mode toggle. Space Grotesk and Inter handle navigation and prose while JetBrains Mono drives the syntax-highlighted code viewer, clickable line numbers, and commit hashes. A global command palette triggered by '/' or Cmd+K searches across repositories, files, and issues in real time. On mobile screens, the repository file tree tucks cleanly into an on-demand drawer and pull request diffs switch automatically to unified view. Swap the platform name, organization handle, primary repository, and maintainer profile variables to adapt the workspace to any engineering team or open-source project.

The template prompt

The live demo was built from exactly this text — nothing added. The other cases only change the values of the [VARIABLES].

# Code Hosting Platform App

Build this website exactly as described below. Replace the [VARIABLES] with your own values; keep everything else.

## Brief
Build an original, full-featured developer code-hosting web application for [BRAND], anchored on the [ORG_HANDLE]/[PRIMARY_REPO] open-source project maintained by [MAINTAINER_NAME] (@[MAINTAINER_HANDLE]). The app uses hash routing across Repository Code, Issues, Pull Requests, Commits, Releases, Insights, and User Profile views, with a global '/' and Cmd+K search palette, light/dark theme switching, and localStorage persistence isolated inside a single storage adapter module.

- Audience: Software engineers, open-source maintainers, developer-tools teams, and technical founders evaluating or demonstrating a self-contained repository collaboration workspace.
- Goal: Deliver an immediately inhabited, genuinely usable code-hosting interface on the very first screen—landing on the primary repository with an interactive file tree, branch switcher, syntax-highlighted code viewer, Markdown README, live diffs, and persistent local collaboration state.
- Tone: Crisp, technical, uncluttered, and authentic to real systems engineering teams—concrete commit messages, realistic multi-language source files, and zero marketing fluff.

## Stack
- Framework: Vite 6 + React 18 + TypeScript
- Styling: Tailwind CSS 4
- Libraries: lucide-react (ISC), @fontsource/space-grotesk (OFL-1.1), @fontsource/inter (OFL-1.1), @fontsource/jetbrains-mono (OFL-1.1)
- Build: `npm run build` → static files in `dist/`. No backend, no server code, no external APIs.
- Setup:
  - Set base: './' and build: { sourcemap: false } in vite.config.ts.
  - Import @fontsource/space-grotesk (600, 700), @fontsource/inter (400, 500, 600), and @fontsource/jetbrains-mono (400, 500, 600) in src/main.tsx.
  - Store all seeded repositories, source files, issues, pull requests, diffs, commits, releases, and profile metrics in src/data/seedData.ts, keyed dynamically from [BRAND], [ORG_HANDLE], [PRIMARY_REPO], [MAINTAINER_NAME], and [MAINTAINER_HANDLE].
  - Keep all browser persistence (stars, watches, forks, created issues, comments, inline PR reviews, reactions, and theme choice) inside src/data/storageAdapter.ts so swapping to a real API only edits one file.
  - Implement a lightweight, zero-dependency syntax tokenizer in src/utils/syntaxHighlight.ts supporting Rust, TypeScript, Go, Python, SQL, and Markdown without CDN scripts.

## Variables
- [BRAND] — Platform Name (default: "KestrelForge"). Fictional code-hosting platform name
- [ORG_HANDLE] — Organization Handle (default: "linden-sys"). Lowercase slug for the seeded organization
- [PRIMARY_REPO] — Primary Repository (default: "quiver-kv"). Default open repository shown on first load
- [MAINTAINER_NAME] — Maintainer Full Name (default: "Nadia Okafor"). Invented lead maintainer displayed on profile and commits
- [MAINTAINER_HANDLE] — Maintainer Handle (default: "nokafor"). Lowercase username for the maintainer profile
- [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/code-hosting-platform-app in the footer (default: yes; delete this line to remove it)

The copy under Pages & Sections is written for the default values. If your values differ, rewrite every headline, paragraph, label and image for them — same length, tone and structure. Layout, colors, type and motion stay as described.
Keep all copy, image paths and links in one content file (for example `src/content.ts`), keyed by section, so the content can be swapped later without touching components.

Pro template

Unlock the full prompt and the source code

  • The full prompt: design, sections, motion, assets
  • Source code of every live demo
  • Commercial license

The live demo and DESIGN.md stay free.

From $9/month · launch sale on yearly and lifetime

DESIGN.md

The design system on its own — colors, type, spacing and motion. Apply this look to a project you already have.

---
name: "Code Hosting Platform App"
colors:
  midnight_ink: "#0D1321"
  deep_slate: "#141C2F"
  border_slate: "#25324D"
  crisp_mist: "#E6EDF7"
  muted_steel: "#8FA2C2"
  mint_signal: "#3DDC97"
  coral_alert: "#FF6B6B"
  amber_highlight: "#FFB547"
  light_canvas: "#F4F7FB"
typography:
  display_headings: { family: "Space Grotesk", weights: [600, 700] }
  body_ui_controls: { family: "Inter", weights: [400, 500, 600] }
  code_diffs_hashes: { family: "JetBrains Mono", weights: [400, 500, 600] }
spacing: "Compact developer-tool density: 56px sticky top bar, 1280px max-width workspace container, 16px–20px panel gutters, 8px–12px control rhythm, generous 20px code reading padding."
radius: "6px for buttons, inputs, badges, and file rows; 10px for panels, code frames, and modal sheets; 999px for status pills and avatar rings."
---

# Code Hosting Platform App — Design System

Apply this design system to an existing project. It describes the look and feel only; for the full site, use prompt.md.

## Colors
- **Midnight Ink** `#0D1321` — Primary dark-mode page canvas
- **Deep Slate** `#141C2F` — Cards, panels, top navigation bar, and code frame background
- **Border Slate** `#25324D` — 1px crisp structural hairlines and diff table dividers
- **Crisp Mist** `#E6EDF7` — Primary dark-mode foreground text
- **Muted Steel** `#8FA2C2` — Secondary labels, commit hashes, line numbers, and metadata
- **Mint Signal** `#3DDC97` — Diff additions, open issue/PR states, active indicators, and heatmap highs (darkened to #0E8A58 in light mode for AA contrast)
- **Coral Alert** `#FF6B6B` — Diff deletions, closed/rejected badges, and destructive actions (darkened to #D63B3B in light mode)
- **Amber Highlight** `#FFB547` — Starred state, pinned badges, review warnings, and release tags (darkened to #B8730B in light mode)
- **Light Canvas** `#F4F7FB` — Light-mode page background with #FFFFFF elevated surfaces and #0D1321 foreground text

## Typography
- **Display & Headings** — Space Grotesk (OFL), weights 600/700. Self-host the font files.
- **Body & UI Controls** — Inter (OFL), weights 400/500/600. Self-host the font files.
- **Code, Diffs & Hashes** — JetBrains Mono (OFL), weights 400/500/600. Self-host the font files.

## Spacing & shape
- Spacing: Compact developer-tool density: 56px sticky top bar, 1280px max-width workspace container, 16px–20px panel gutters, 8px–12px control rhythm, generous 20px code reading padding.
- Radius: 6px for buttons, inputs, badges, and file rows; 10px for panels, code frames, and modal sheets; 999px for status pills and avatar rings.

## Motion
- Subtle 140ms hover transitions on file rows, tabs, and reaction chips.
- Smooth 180ms slide-in drawer for the mobile file tree and command palette overlay with backdrop fade.
- Respect prefers-reduced-motion by disabling drawer/modal slide transitions and chart bar entrance transitions.

## Imagery
Pure code-drawn technical visuals: bespoke geometric SVG platform mark for [BRAND], geometric SVG avatar emblems for fictional contributors, crisp Lucide icons, custom SVG 52-week contribution heatmap, SVG commit branch-rail graph, and SVG code-frequency area/bar charts. No external photos or emoji icons.

## Tone
Crisp, technical, uncluttered, and authentic to real systems engineering teams—concrete commit messages, realistic multi-language source files, and zero marketing fluff.

---
— Prompt by VibeFather · https://vibefather.ai/t/code-hosting-platform-app · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown

Make it yours

  • An open-source maintainer: set BRAND to your project, ORG_HANDLE and PRIMARY_REPO to your repository, and seed real issues and releases so visitors see live activity.
  • An internal platform team: keep the dark Midnight Ink theme and fill the repository tree with your services, using Insights charts to show code activity across teams.
  • A developer-tools startup: point MAINTAINER_NAME and MAINTAINER_HANDLE at your lead engineer and use the profile view as a public engineering showcase.
  • A coding bootcamp: swap the seeded source files for lesson repositories in Rust, Go and Python, and use issues as exercise threads students can reply to.

Code Hosting Platform App: questions and answers

How do I adapt the Code Hosting Platform App to my own engineering team or open-source project?

The Code Hosting Platform App exposes five variables: BRAND for the platform name, ORG_HANDLE for the organization slug, PRIMARY_REPO for the repository shown on first load, and MAINTAINER_NAME plus MAINTAINER_HANDLE for the lead maintainer. Change those values, then rewrite the seeded repositories, source files, issues, pull requests, commits and releases so they describe your project. The prompt asks you to keep all copy in one content file so you can swap it without touching components.

Can I use the Code Hosting Platform App for a client project?

Commercial and client use of the Code Hosting Platform App needs a Pro membership, which is also how you get the full prompt and the demo source code. The published brief, stack and variables are visible to everyone, but the complete prompt and the source files of the demos are reserved for Pro members. Free prompts and every DESIGN.md are licensed for personal, non-commercial use only.

Where does the Code Hosting Platform App store stars, new issues and review comments without a backend?

The Code Hosting Platform App keeps all browser persistence inside a single storage adapter, which writes to localStorage. Stars, watches, forks, new issues, issue replies, reaction counters, inline pull request review comments and the theme choice all survive a page reload. Because every write goes through that one adapter, pointing the app at a real API later means editing one file rather than hunting through components.

How does the search palette and keyboard shortcut work in the Code Hosting Platform App?

The Code Hosting Platform App opens a global command palette when you press the slash key or Cmd+K. The palette searches across repositories, files and issues in real time as you type, so you can jump to a source file or an open issue without leaving the keyboard. The rest of the workspace uses hash routing between the Repository Code, Issues, Pull Requests, Commits, Releases, Insights and User Profile views.

How do I add a new issue reply or a pull request review comment in the Code Hosting Platform App?

The Code Hosting Platform App lets you create issues, reply to existing threads, react to comments and leave inline review comments directly on a pull request diff. Every one of those actions is saved locally through the storage adapter, so the thread you build stays visible the next time you open the page. The split and unified diff views both show added lines in Mint and deleted lines in Coral.

How do I build a code hosting platform app with AI?

Copy the full prompt (Pro) from this page or run npx vibefather add code-hosting-platform-app, replace [BRAND], [ORG_HANDLE], [PRIMARY_REPO] and [MAINTAINER_NAME] with your own content, and paste it into Claude Code, Codex, Cursor or another AI coding agent. The live demos were built from exactly that text.

Which AI model built the Code Hosting Platform App demo?

The Systems KV storage org case was built by Gemini 4 Neon in Antigravity; the Audio DSP toolkit org case was built by GPT-6.2 Sol in Codex. Each build used the published prompt with nothing added, so you can compare the models side by side.

What tech stack and pages does the Code Hosting Platform App template use?

Code Hosting Platform App is a 7-page site built with React and Tailwind CSS, with page transitions and micro-interactions. The prompt fixes the stack so every AI tool builds the same kind of project, and the result runs as a static site you can host anywhere.

Is the Code Hosting Platform App template free to use?

Code Hosting Platform App is a Pro template: the brief, stack and variables are public, and the full prompt, the source code of the live demo and a commercial license come with VibeFather Pro. Its DESIGN.md is free for personal projects.

Does the Code Hosting Platform App template work on mobile?

Yes. Every Code Hosting Platform App build was tested on a phone-sized screen as well as desktop before it went live, checking layout, text size and touch targets. Open the live demo on your phone, or switch the preview on this page to mobile view, to check it yourself.