Skip to content

About

Let's get something online

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

configbutler.ai — public website

Founder-led marketing site for ConfigButler, a managed configuration control plane: a typed realtime API for configuration, with every accepted change recorded in the customer's own Git repository.

Built with Astro (static output). CloudFlare sits in front for HTTPS / caching.

Commands

npm install      # install deps
npm run dev      # local dev server (http://localhost:4321)
npm run build    # static build → dist/
npm run preview  # serve the built dist/
npx playwright install chromium  # once, outside the devcontainer
npm run test:e2e # Playwright end-to-end tests against the production build

Development container

.devcontainer/ holds a ready environment (Node, Playwright with Chromium, gh, SSH commit signing through the host agent). It follows the gitops-reverser devcontainer; see .devcontainer/README.md.

GitOps Reverser docs

/reverser renders Markdown from the gitops-reverser submodule at build time, unedited. The operator repo is the single source of truth; fix content there.

  • Which files get a route: docs in src/lib/reverser.ts. Links to any other file open on GitHub at the pinned commit.
  • Clone with --recurse-submodules, or run git submodule update --init. The build fails without it.

To move to a new release, see gitops-reverser submodule.

Container image

.github/workflows/image.yml builds the site into an nginx image (port 8080, non-root) for every PR and every push to main:

Tag Moves? Use
ghcr.io/configbutler/public-website:pr-<N> yes latest build of a PR
ghcr.io/configbutler/public-website:main yes latest main
ghcr.io/configbutler/public-website:sha-<short> no pin this (PR head or main commit)

tests/image.sh runs the image and checks routing (/about and /about/ serve directly, unknown paths 404). Run it locally with Docker: tests/image.sh.

gitops-reverser submodule

external/gitops-reverser is a git submodule of ConfigButler/gitops-reverser, the source for the documentation corner. It is pinned to a release tag, so the site only changes when someone bumps it.

git clone --recurse-submodules https://github.com/ConfigButler/public-website.git
git submodule update --init      # in an existing clone without the submodule
git submodule status             # which commit/tag the site is pinned to

To move to a new gitops-reverser release:

git -C external/gitops-reverser fetch --tags
git -C external/gitops-reverser checkout vX.Y.Z
git diff --submodule=log         # what changed upstream since the last pin
npm run reverser:pin             # records the commit in src/lib/reverser-pin.json (for builds without .git)
npm run build                    # prebuild fails if the pin and the submodule disagree
# review whether docs or concepts the site relies on changed, then:
git add external/gitops-reverser src/lib/reverser-pin.json
git commit -m "chore: Bump gitops-reverser to vX.Y.Z"

Structure

src/
  layouts/Layout.astro     # shared shell: <head>, fonts, sticky nav, footer, scroll/reveal JS
  components/
    Nav.astro              # sticky header (mono links + brass-dot CTA + mobile toggle)
    Footer.astro           # dark footer
    Mark.astro             # the dome mark (SVG)
    Wordmark.astro         # configbutler.ai wordmark (brass dot)
    Icon.astro             # line-icon set (1.7 stroke)
  pages/
    index.astro            # long homepage: hero · two doors · problem · how-it-works ·
                           # features · why-different · technology · open source ·
                           # ecosystem · design-partner CTA · founder
    applications.astro     # For Applications
    gitops.astro           # For GitOps
    technology.astro       # Technology & architecture
    open-source.astro      # Open source
    about.astro            # About / founder + contact form
  styles/global.css        # design system — ALL theme tokens live in :root
  form.js                  # contact form → web3forms

Brand & theming

The visual identity (forest ink #0f1e1a · cream #f3ead7 · brass #c4a35a, Geist + JetBrains Mono, the butler-dome mark, sharp/tight radii, mono UI chrome) comes from the brand handoff in design/ — see design/assets/configbutler/tokens.css and the finished reference in design/cb-landing.jsx.

To re-theme the whole site, edit the :root token block at the top of src/styles/global.css. Nothing else hardcodes a colour or font family.

design/ and raw-input.md are source/brief material, not part of the built site.

TODO

  • Check HSTS preload inclusion on https://hstspreload.org/
  • Reference to personal blog
  • Swap ecosystem/tech chips for real SVG logos where licensing allows

About

Let's get something online

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages