diff options
| author | sillylaird <sillyfanboy@gmail.com> | 2026-09-03 00:33:59 +0000 |
|---|---|---|
| committer | sillylaird <sillyfanboy@gmail.com> | 2026-09-03 00:33:59 +0000 |
| commit | 898b52edcb47bcb3e9d6106e74ca73e74ea01e70 (patch) | |
| tree | 85c6ee5ad58b860144551184d4cf86b560c62b91 /startpage/README.md | |
| download | www-main.tar.gz www-main.zip | |
Diffstat (limited to '')
| -rw-r--r-- | startpage/README.md | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/startpage/README.md b/startpage/README.md new file mode 100644 index 0000000..7ab37c8 --- /dev/null +++ b/startpage/README.md @@ -0,0 +1,49 @@ +# startpage/ + +Retro terminal personal startpage for sillylaird.ca. + +## Usage +- Open https://www.sillylaird.ca/startpage/ +- Use the engine picker to switch search (persisted). +- Type in "Filter cards & links" to live-filter the grid. +- Keyboard: `/` focuses filter; `?` shows help overlay; `Esc` clears. +- Cards powered by `cards.txt` (edit via /admin.php?section=startpage or directly). +- Last.fm now playing pulls from site API. + +## Data format (cards.txt) +``` +# Category Name | icon.png | alt +Label | https://url +Label2 | https://url2 + +# Next Category | ... +``` + +- One header line starts with `# ` +- Following lines until blank or next header are links `Label | url` +- Supported schemes: http/https/gemini/gopher +- Icons must be local filenames in this dir (no ..) + +## Editing +Preferred: /admin.php (authenticated). + +## OpenBSD boot banner version +The boot overlay shows `OpenBSD X.Y`. Source of truth: + +1. `openbsd_version.txt` — written by `../tools/update_openbsd_version.sh` (daily cron scrapes https://www.openbsd.org/) +2. JS date formula fallback if the cache is missing (anchor 7.9 = May 2026) + +`index.php` injects `window.OPENBSD_RELEASE` from the cache file. + +## Improvements (current) +- Removed vestigial age modal. +- Added live card filter + keyboard (`/`, `?`, Esc). +- Persisted search engine choice. +- CSS grid cards. +- Subtle wallpaper texture. +- Global theme toggle supported. +- OpenBSD version auto-updated via cron. + +Legacy: nav_links.txt (unused flat list). + +See index.php, startpage.css, startpage.js, render_cards.php for implementation. |
