Skip to content

About

overpressure.org: the landing page, with the app's downloads from the newest release and the headsets, deployed to GitHub Pages.

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

overpressure.org

TL;DR. The landing page of overpressure: what the project is, the app's download for each system, the headsets and where to ask. One static page in page/, filled in by landing/build.py with the newest release from GitHub and deployed to GitHub Pages by the Pages workflow.

How it works

  • The release. The page offers the newest stable release of overpressure/overpressure; while there is none, the newest beta, and it says so. Each system's button links to that release's file on GitHub, so the site itself stays a few hundred kilobytes. Linux's tile also points to the apt and dnf repositories on packages.overpressure.org; the documentation links lead to docs.overpressure.org.
  • The headsets. headsets.json lists them in the page's order, each with what runs on it. A headset whose repository has a release installs; one without is in development.
  • Your computer first. page/download.js puts the download for the visitor's system first and makes the top button download it. Without JavaScript, or on a phone, every system is listed alike.
  • Deploying. A change on main deploys at once. Every hour the workflow builds again from GitHub's releases and deploys only when the page's data (site.json, written next to the page) differs from the live one: a new release is on the page within the hour.

Building it

With uv, from the repository root:

uv run python -m landing --out _site                   # from GitHub's API (GH_TOKEN raises its rate limit)
uv run python -m landing --data site.json --out _site  # from an earlier build's data, offline
uv run python -m http.server -d _site 8000             # look at it on http://localhost:8000
uv run python -m unittest                              # the tests, against fake releases
uv run ruff format --check . && uv run ruff check . && uv run ty check

The text is in page/index.html, the look in page/style.css: the app's colours, Inter and tiles, dark and light, one column on a phone; the icons in page/assets/icons.svg are drawn like the app's. The logo and the headsets' drawings in page/assets/ are copies from overpressure/brand and overpressure's app: a change goes there first. The app's screenshots (app-install-dark.jpg, app-install-light.jpg) are its demo (pnpm dev in overpressure's app/) installing a PICO 4 in an 860 by 600 window at twice the pixels, both taken at the same moment. Inter is under the SIL Open Font License.

License

The code and the text are in the public domain (the Unlicense). The logo and the drawings are CC BY-SA 4.0, from overpressure/brand.

About

overpressure.org: the landing page, with the app's downloads from the newest release and the headsets, deployed to GitHub Pages.

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages