The tilolang.dev website: a live in-browser playground, real apps and the language docs
https://tilolang.dev
- TypeScript 43.6%
- Svelte 35.4%
- CSS 13.8%
- Astro 4.6%
- Shell 2.1%
- Other 0.5%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| ci | ||
| k8s | ||
| public | ||
| src | ||
| .gitignore | ||
| astro.config.mjs | ||
| bun.lock | ||
| nginx.conf | ||
| package.json | ||
| README.md | ||
| svelte.config.js | ||
| t.toml | ||
| tsconfig.json | ||
tilolang.dev
The website of tilolang: what the language is for, a live playground of
two devices syncing one app, the real apps of the Tilo repository running in the browser
(/apps), and the language and builder documentation (/docs).
Everything the pages run comes from the tilo repository:
- the compiler and runtime are
crates/lang/tilolang-web, built for the browser by itsbuild-page.sh(with the apps ofapps/tlbeside it) intopublic/wasm/; - the docs are the book
docs/tilolang/pages.toml, exported bytools/docs/developer_docs.py; /installis tilo's installer script.
Development
bun install
# in a tilo checkout:
crates/lang/tilolang-web/build-page.sh /path/to/tilolang-site/public/wasm
python3 tools/docs/developer_docs.py --manifest docs/tilolang/pages.toml export --out /path/to/tilolang-site/.book
# here, TILO naming that checkout (the docs pages render with its tools/docs/book.ts):
TILO=/path/to/tilo TILO_BOOK=.book bun run dev
Build and deploy
t.toml declares it: ci/build.sh builds the image from this tree and tilo's main, t publishes it
to registry.tilo.so/tilo/tilolang-site, and a run of main writes k8s/site.yaml, the image pinned
by digest, to the deploy branch, which Argo CD applies. They run on every push to main and
hourly, so tilo's changes reach the site without a push here.