|
1 | | -# vibium.com |
| 1 | +# Vibium Website |
2 | 2 |
|
3 | | -Landing page for [Vibium](https://vibium.com) — browser automation built for AI. |
| 3 | +[](https://a14y.dev/badge/?s=33&v=0.2.0&a=24&t=38&p=8&f=16&w=0&e=0&n=14&d=2026-05-26&m=site&u=https%3A%2F%2Fvibium.com%2F) |
4 | 4 |
|
5 | | -## Local Development |
| 5 | +Browser automation for AI agents and humans, built on WebDriver BiDi. |
6 | 6 |
|
7 | | -Just open `index.html` in a browser. No build step required. |
| 7 | +This repository contains the user-facing [Vibium](https://github.com/VibiumDev/vibium) |
| 8 | +website and documentation. The homepage is an Astro page at `/`, while the |
| 9 | +documentation is published under `/docs/`. |
8 | 10 |
|
9 | | -## Links |
| 11 | +The docs are plain Markdown so they render well on GitHub, in Starlight, and |
| 12 | +inside an agent context window. |
10 | 13 |
|
11 | | -- [Twitter](https://twitter.com/VibiumDev) |
12 | | -- [GitHub](https://github.com/VibiumDev) |
13 | | -- [Contact](mailto:vibes@vibium.com) |
| 14 | +## Contents |
| 15 | + |
| 16 | +- [Introduction](docs/introduction.md) |
| 17 | +- [Installation](docs/installation.md) |
| 18 | +- [Quickstart](docs/quickstart.md) — a few lines, copy-paste. |
| 19 | +- [Getting Started](docs/getting-started.md) — the mental model. |
| 20 | +- [Tutorial: Filling a Form End-to-End](docs/tutorial.md) — a worked example. |
| 21 | +- [Core Concepts](docs/concepts.md) |
| 22 | +- [Command Reference](docs/commands/index.md) |
| 23 | +- [MCP Server Integration](docs/mcp-integration.md) |
| 24 | +- [Client Libraries](docs/client-libraries.md) |
| 25 | +- [Troubleshooting](docs/troubleshooting.md) |
| 26 | +- [FAQ](docs/faq.md) |
| 27 | +- [Contributing](docs/contributing.md) |
| 28 | + |
| 29 | +## Site generation |
| 30 | + |
| 31 | +The top-level `Makefile` is the build entrypoint: |
| 32 | + |
| 33 | +- `make build` regenerates public LLM docs, syncs Markdown and MDX into |
| 34 | + Starlight, builds the static site in `site/dist/`, and postprocesses the |
| 35 | + generated output for agent-readable surfaces. |
| 36 | +- `make rebuild` removes generated site output first, then runs the full build. |
| 37 | +- `make serve` regenerates content and starts the local Astro dev server. |
| 38 | +- `make test` builds the site and verifies the homepage, `/docs/` routes, |
| 39 | + root LLM assets, agent-readable generated files, and Google Analytics wiring. |
| 40 | +- `make clean` removes generated output listed in `scripts/clean-manifest.txt` |
| 41 | + and deletes stray `.DS_Store` files. |
| 42 | + |
| 43 | +Edit the homepage in `site/src/pages/index.astro`. Edit canonical docs content |
| 44 | +in `README.md` and `docs/`; `scripts/sync_starlight.py` copies those files into |
| 45 | +Starlight under `/docs/`. |
| 46 | + |
| 47 | +Edit canonical brand imagery in `site/src/assets/brand/` and landing page |
| 48 | +imagery in `site/src/assets/landing/`. The favicon files in `site/public/` are |
| 49 | +stable served assets. |
| 50 | + |
| 51 | +The generated `site/public/llms.txt` is a spec-compliant index served at |
| 52 | +`/llms.txt`; it links to Markdown copies of the docs under `/llms/`. The |
| 53 | +generated `site/public/llms-full.txt` keeps the single-file context form for |
| 54 | +agents that prefer one large document. |
| 55 | + |
| 56 | +`scripts/postprocess_site.py` runs after Astro builds. It writes same-path |
| 57 | +Markdown mirrors into `site/dist/`, adds language classes to generated code |
| 58 | +blocks, adds `<lastmod>` values to the XML sitemap, and publishes |
| 59 | +`site/dist/sitemap.md`. |
| 60 | + |
| 61 | +## Agent readability |
| 62 | + |
| 63 | +The badge above reflects the latest live `https://vibium.com/` a14y site audit. |
| 64 | +To check unpublished changes locally, build with a localhost `SITE_URL`, preview |
| 65 | +the static output, and run the site audit against that preview: |
| 66 | + |
| 67 | +```sh |
| 68 | +SITE_URL=http://127.0.0.1:4323 make build |
| 69 | +pnpm --dir site exec astro preview --host 127.0.0.1 --port 4323 |
| 70 | +npx -y a14y check http://127.0.0.1:4323/ --mode site --output agent-prompt --max-pages 200 |
| 71 | +``` |
| 72 | + |
| 73 | +After deployment, refresh the badge with the `Embed badge:` URL printed by: |
| 74 | + |
| 75 | +```sh |
| 76 | +npx -y a14y check https://vibium.com/ --mode site --max-pages 200 |
| 77 | +``` |
0 commit comments