Skip to content

About

A code knowledge graph built for LLM agents — accurate answers, minimal tokens, maximum speed

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

rgctl-website

Marketing site, docs hub, and user-facing feature guides for rgctl.

Live: https://rgctl.io/

Layout

Path Role
src/ Next.js App Router (static export)
docs/guides/ SSOT for feature guides (also published under /docs/guides/)
docs/videos/ Homepage CLI demo + per-guide VHS tapes (docs/videos/README.md)
docs/videos/agent/ Coding-agent question scripts and recording workspace (docs/videos/agent/README.md)
docs/videos/agent/voiceover/ Voiceover scripts and ElevenLabs audio pipeline
docs/growth/ Traffic growth proposal and campaign planning
AGENTS.md End-to-end guide for agents/contributors reproducing the guide videos
scripts/copy-*.mjs Prebuild: assemble content/docs, language catalog, demos

Non-guide reference docs (Introduction, user-guide, json-api, …), AGENTS.md, and *-ast-coverage.json are pulled at build time from the rgctl product repo via RGCTL_REPO (default: sibling ../rgctl or ../rbuilder).

Develop

# From a sibling checkout layout:
#   ~/git/rust/rgctl          (or rbuilder)
#   ~/git/rust/rgctl-website

pnpm install
cp .env.example .env.local   # optional Umami website ID
pnpm dev

Open http://localhost:3000

Override the product repo path:

RGCTL_REPO=/path/to/rgctl pnpm build

Build / deploy

pnpm build   # → ./out (apex https://rgctl.io)

GitHub Actions: .github/workflows/website.yml (Pages → https://rgctl.io/).

Analytics

rgctl.io uses Umami cookieless analytics — no analytics cookies, no consent banner, and no cross-site tracking.

Set the website ID locally or in the GitHub Actions secret:

NEXT_PUBLIC_UMAMI_WEBSITE_ID=ebbf1b29-17ac-41b2-aef9-d160b899b38f

Optional overrides:

NEXT_PUBLIC_UMAMI_SRC=https://analytics.example.com/script.js  # self-hosted
NEXT_PUBLIC_UMAMI_DOMAINS=rgctl.io                              # restrict tracking

The script is not emitted when the website ID is unset, so the site builds and runs without analytics if the secret is missing.

Editing guides

Edit markdown under docs/guides/ in this repository. Links from the product repo (rgctl/rgctl) should point at https://rgctl.io/docs/guides/… rather than in-tree paths.

About

A code knowledge graph built for LLM agents — accurate answers, minimal tokens, maximum speed

Resources

Stars

0 stars

Watchers

1 watching

Forks

Contributors

Languages