Skip to content

Repository files navigation

glyndor.net

The marketing and projects site for Glyndor — secure, self-hosted, open-source infrastructure.

ci version-bump

A static Astro site: English and Spanish, zero client-side JavaScript islands, no runtime server.

Quick start

Requires Bun.

bun install
bun run dev      # http://localhost:15694
Command Action
bun run dev Start the dev server
bun run build Build the static site to dist/
bun run check Type-check Astro and TypeScript
bun run lint Lint and format-check with Biome

i18n

Add a string to src/lib/i18n/en (the source of truth), then mirror it in src/lib/i18n/es. The es dictionary is typed against en, so a missing key is a type error.

Local preview under Podman

bun run build
podman compose up        # http://127.0.0.1:8080

Serves the built dist/ with Caddy, bound to localhost only.

How versions stay current

flowchart LR
  S["Daily cron<br/>+ repository_dispatch"] --> F["Fetch latest release tag<br/>per tracked product repo"]
  F -->|changed| W["Write src/data/versions.json"]
  W --> C["Open PR to develop<br/>GitHub-signed"]
  F -.->|unchanged| N["No PR"]
Loading

A workflow here (.github/workflows/version-bump.yml) keeps the displayed product versions honest: it reads each tracked repository's latest GitHub release daily, on demand, or the instant a product's own release workflow fires a repository_dispatch. A changed tag opens a PR against src/data/versions.json, reviewed like any other change — there is no network call at build time, so the built site stays reproducible.

License

MIT.

About

The marketing and projects site for glyndor.net — secure, self-hosted, open-source infrastructure.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Used by

Contributors

Languages