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%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
qwolff 7d67a74c06
fix(nginx): an app's own media plays from the blob the page makes of it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 17:01:14 +00:00
ci Render the books with tilo's tools/docs/book.ts 2026-11-24 04:57:18 +00:00
k8s Build, publish and deploy the site with t, from tilo's tilolang-web 2026-11-23 22:16:55 +00:00
public Add the tilolang.dev site: an Astro page with a live in-browser playground 2026-11-23 13:57:27 -08:00
src feat(apps): the app row fades at an edge where more apps follow 2026-11-24 16:20:17 +00:00
.gitignore Build, publish and deploy the site with t, from tilo's tilolang-web 2026-11-23 22:16:55 +00:00
astro.config.mjs Render the books with tilo's tools/docs/book.ts 2026-11-24 04:57:18 +00:00
bun.lock Docs at /docs/, rendered from tilo's tilolang book 2026-11-23 22:31:44 +00:00
nginx.conf fix(nginx): an app's own media plays from the blob the page makes of it 2026-11-24 17:01:14 +00:00
package.json Docs at /docs/, rendered from tilo's tilolang book 2026-11-23 22:31:44 +00:00
README.md Render the books with tilo's tools/docs/book.ts 2026-11-24 04:57:18 +00:00
svelte.config.js Add the tilolang.dev site: an Astro page with a live in-browser playground 2026-11-23 13:57:27 -08:00
t.toml The site build knows its commit, for version.txt 2026-11-24 00:00:36 +00:00
tsconfig.json Add the tilolang.dev site: an Astro page with a live in-browser playground 2026-11-23 13:57:27 -08:00

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 its build-page.sh (with the apps of apps/tl beside it) into public/wasm/;
  • the docs are the book docs/tilolang/pages.toml, exported by tools/docs/developer_docs.py;
  • /install is 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.