Static GitHub Pages-ready balance screen based on the supplied mobile screenshot. It is plain HTML/CSS/JS, so there is no build step.
index.htmlis the page GitHub Pages serves.styles.csscontrols the mobile layout.config.jscontains the default currency, balances, accent color, and transactions.app.jshandles editing, reset, and the simulated pull-to-refresh interaction with a Safari-style spinner..nojekyllkeeps GitHub Pages from processing the site with Jekyll..github/workflows/pages.ymldeploys the static site from themainbranch.
Change the starting currency, balances, current transactions, and older month groups in config.js. Visitors can tap the gear button to edit the visible balances, currency, month groups, and every transaction row. Changes save immediately in the browser. The History row expands and collapses the older months.
Use Hard reset in the Setup sheet to restore the defaults from config.js.
- Create a new GitHub repository.
- Upload everything in this folder to the repository root.
- In GitHub, open
Settings->Pages. - Set
SourcetoGitHub Actions. - Push to the
mainbranch. The included workflow will deploy the site.
You can also publish without Actions by setting Pages source to Deploy from a branch and choosing the repository root on main.