The landing page for Open Model Gateway (OMG), a self-hosted, open-source (MIT) gateway that puts cloud and self-hosted AI models behind one OpenAI- and Anthropic-compatible API, with workspaces, stacked budgets, exact cost accounting, single sign-on and audit. The site is served at https://omg.bitop.dev; the documentation lives in its own repository and site, https://docs.omg.bitop.dev.
It's one long page plus a 404 page, with no pricing, sign-up, forms, cookies, tracking or third-party requests. The text describes OMG v0.10.0 (released 2026-11-02, tag v0.10.0 of the gateway repository) and is checked against that tag's README, CHANGELOG.md, docs/roadmap.md, docs/architecture.md, docs/releases/ and the feature docs in docs/, with UI names from apps/web/src. Only shipped behaviour is described as shipped; planned work appears only as planned, as docs/roadmap.md lists it.
lib/site.ts holds the version, the release day (null until the tag exists; the footer and sitemap show it), the version the "What's new" section counts from (previousVersion), the release links (GitHub release, changelog, upgrade notes, and the release pages on the docs site), the published image (repository, tag, digest from the release's open-model-gateway-<tag>.digest.txt asset, and the cosign certificate identity .github/workflows/image.yml@refs/tags/<tag> with the GitHub Actions OIDC issuer) and the repository links, all pinned to the release tag. When moving to a new tag, check that every pinned path exists: git -C ../open-model-gateway ls-tree -r --name-only <tag>.
The repositories now live under bitop-dev (gateway transfer #623). Current gateway images publish to ghcr.io/bitop-dev/open-model-gateway (currentImageRepository in lib/site.ts). The featured v0.10.0 image predates the transfer: keep its ghcr.io/ncecere/open-model-gateway reference, digest and ncecere/open-model-gateway cosign identity together. Moving a source repository does not move its old container packages or rewrite signatures. Historical licence attribution and shared brand-token provenance remain as written.
Sections: hero, the problem, how it works, features, operations, the dashboard (screenshots), what's new, self-host, and open source and project status. "What's new" is a short themed summary of everything since previousVersion (four themes, each linking its docs page, plus the breaking changes operators must act on when upgrading), not one card per release: fold a new release into the themes and the feature cards rather than adding to a chain.
Naming. The page leads with "Open Model Gateway" (title, hero, metadata) and uses "OMG" only as a short form after it. The text names no competing products; providers the gateway connects to (OpenAI, Anthropic, AWS Bedrock, OpenRouter, vLLM, SGLang, Ollama) are named because they are what it connects to. Examples use generic names (gateway.example.edu, campus/chat). scripts/postbuild.mjs fails the build if a page uses a forbidden name or "OMG" before "Open Model Gateway".
- Next.js 16 (App Router) with
output: "export":next buildwrites plain static files toout/. - React 19, TypeScript 5.9, Tailwind CSS 4.
- Inter Variable, self-hosted from
@fontsource-variable/inter. - Node 22 and npm; every version is pinned in
package-lock.json. - nginx (alpine, pinned by digest) in the container.
app/brand.css holds OMG's colours (light by default, and dark), radii, shadows and font stacks, taken from the dashboard's Bitop theme (apps/web/src/components/ui/themes/neutral.css and styles/tokens.css in the gateway repository), and maps them to Tailwind v4 theme variables (bg-brand-surface, text-brand-muted, bg-brand-primary, text-brand-link, rounded-card, shadow-brand-2 and so on). A docs site should use the same file, byte for byte, so the two sites look like one product; change it in both repositories together and check with cmp.
Components and app/globals.css use only the Tailwind names (in CSS through --theme(--color-brand-…)), never the raw token variables, so a new brand.css drops in without other changes. The theme follows the system (prefers-color-scheme); data-theme="dark|light" or class="dark|light" can force one.
The logo is "Portal": a tunnel seen slightly off-axis, two light bands receding to an indigo core, on a dark tile. Its source, exports and usage rules are in ../omg-assets/logo/ (logo/portal/, logo/README.md).
components/logo.tsxis the only place the site draws the logo (header and footer): the mark as inline SVG (mark-small.svg, 28 px,aria-hidden) beside the name as live text. omg-docs draws it identically; change both together.lib/mark.jsonholds the mark as inner SVG markup on its 64 grid:svgismark-small.svg(read bycomponents/logo.tsx),svgRegularismark.svg(read byscripts/og-image.mjs). If the logo changes, copy both from../omg-assets/logo/portal/again, runnpm run og, and commit.npm run og(scripts/og-image.mjs) copiesfavicon.ico,favicon.svg,png/apple-touch-icon.png,png/icon-192.pngandpng/icon-512.pngunchanged from../omg-assets/logo/portal/(setLOGO_DIRto read from elsewhere) and drawspublic/og.png(1200x630: the mark and name, the headline and, once that slot is filled, theadmin-usagescreenshot) in the brand's dark colours. Rerun it when the logo or the screenshot changes and commit the results.
The page has 8 named screenshot slots in its dashboard section, listed in lib/slots.json with their alt text and captions. A slot without an image shows a clearly marked placeholder with the expected file name. The images in public/images/ were taken on v0.6.0; they are being retaken on v0.10.0 under the same slot names. Alt text was updated from apps/web/src at v0.10.0 where the UI changed (admin-usage, admin-limits, workspace-keys, workspace-logs); check those against the new captures.
npm run images # copy the screenshots that exist into public/images as WebP, record their sizes
npm run og # rebuild the Open Graph card and iconsCommit the results (public/images/, lib/screenshots.json, public/og.png, icons). Screenshots come from a fictional demo installation in ../omg-assets/screenshots/; set SCREENSHOTS_DIR to read from another directory. For each slot the script looks for file (or the slot's own name) and, if that's missing, the slot's interimFile, recording "interim": true in lib/screenshots.json. When the captures arrive, check each slot's alt text and caption against its image: they were written from the gateway's docs, before any capture existed.
| Slot | Shows |
|---|---|
admin-usage |
Admin › Usage & costs, Overview tab: settled, held and unknown cost (also used by public/og.png) |
admin-limits |
Admin › Settings › Defaults & limits, including the key issuance rows |
workspace-models |
Workspace › Models |
workspace-keys |
Workspace › API keys, with the 24-hour issuance count and key safety badges |
workspace-logs |
Workspace › Logs › Requests, with the Refresh action |
admin-connections |
Admin › Connections |
admin-key-safety |
Admin › Records › Key safety |
batch-detail |
A batch page |
npm ci
npm run dev # http://localhost:3000npm test
npm run typecheck
npm run build # static export to out/, then scripts/postbuild.mjsscripts/postbuild.mjs hashes the inline scripts Next.js writes into the HTML and puts them in the Content-Security-Policy (build/security-headers.conf), so script-src needs no 'unsafe-inline'. It fails the build if the output loads a script, style sheet, font, image or frame from another origin, if the page text uses a forbidden name, or if "OMG" appears before "Open Model Gateway".
To run the production image locally, read-only like in a cluster:
npm run docker # builds the image and serves it on http://127.0.0.1:8080.github/workflows/publish.yaml builds the site on every pull request and push. On main it also builds and pushes a multi-arch (linux/amd64, linux/arm64) image, with every action pinned by commit SHA:
ghcr.io/bitop-dev/omg-website:<full commit SHA>ghcr.io/bitop-dev/omg-website:latest
The image is nginx serving out/:
- runs as user 101, listens on port 8080, and answers
GET /healthzwithok; - works with a read-only root filesystem: the pid file and temp paths are under
/tmp, so mount anemptyDir(or tmpfs) there; - sends security headers (CSP,
nosniff,X-Frame-Options: DENY, Referrer-Policy, Permissions-Policy, COOP); - caches hashed assets under
/_next/static/for a year (immutable), other assets for an hour, and revalidates pages on every request.
Deployment lives outside this repository. New GHCR packages start private; make the package public, or pull it with a registry credential.
Homelab handoff: after this change is merged and the main publish succeeds, update the website deployment from ghcr.io/ncecere/omg-website to ghcr.io/bitop-dev/omg-website, selecting that publish's full commit SHA (or resolved digest). Confirm the new package is public or accessible with the deployment's pull credentials, then check GET /healthz and the source links at https://omg.bitop.dev. The old website package stays at its old path; source changes alone do not update the running site.
Dependabot opens one grouped pull request a week each for npm, GitHub Actions and the Docker base images.
- Code: MIT, see
LICENSE. - Website text: CC BY 4.0, see
LICENSE-CONTENT. - Inter is under the SIL Open Font License 1.1.