Latest: Website: current files by Branchwell, 39 min ago
| 📁 app | |
| 📁 app-icons | |
| 📁 assets | |
| 📁 careers | |
| 📁 compare | |
| 📁 functions | |
| 📁 help | |
| 📁 licenses | |
| 📁 migrations | |
| 📁 moderators | |
| 📁 privacy | |
| 📁 projects | |
| 📁 research | |
| 📁 research-pages | |
| 📁 src | |
| 📁 test | |
| 📁 tools | |
| 📁 volunteer | |
| 📄 _headers | 846 B |
| 📄 _redirects | 817 B |
| 📄 _routes.json | 184 B |
| 📄 .gitignore | 503 B |
| 📄 404.html | 3.1 KB |
| 📄 66365049776433ceca35572e03fca658.txt | 32 B |
| 📄 branch-note.css | 641 B |
| 📄 favicon.png | 3.9 KB |
| 📄 index.html | 12.0 KB |
| 📄 LICENSE | 1.1 KB |
| 📄 llms.txt | 620 B |
| 📄 mark.svg | 1.2 KB |
| 📄 no-orphans.css | 225 B |
| 📄 no-orphans.js | 4.4 KB |
| 📄 package-lock.json | 12.3 KB |
| 📄 package.json | 510 B |
| 📄 README.md | 3.5 KB |
| 📄 robots.txt | 904 B |
| 📄 sitemap.xml | 1.0 KB |
| 📄 social-card.png | 324.9 KB |
| 📄 wrangler.toml | 653 B |
Jobley volunteer board
jobley.ai lists open, unpaid volunteer opportunities. Each role has an email link to volunteer. No application or résumé is collected for volunteer roles. Board moderator access is separate.
The separate career directory uses all 848 civilian detailed titles from the BLS 2018 Standard Occupational Classification. Its 22 groups are guides to volunteering, not staffing commitments.
Editing and testing
- Edit
tools/atom-volunteer-roles.pyto update the roster, andtools/build-site.pyfor site copy and metadata. /volunteer/and/careers/loadassets/volunteer.cssafterassets/site.css, under a versioned URL. When you change it, bumpVOLUNTEER_CSS_Vintools/build-site.pyand the matching?v=in both pages so browsers fetch the new file; other pages are unaffected.- To refresh source titles, save the official BLS major-groups HTML and run
python3 tools/import-soc.py path/to/major_groups.htm. The build uses the committed source snapshot, not a network request. Edittools/career-families.pyfor search aliases, family labels, examples and community routes. - Run
python3 tools/build-site.py --community-pageswith Python 3.12+ to regenerate only the volunteer and career pages, thennpm testwith Node 22.5+. - Run
DB_FILE=:memory: npm run devlocally. Runnode tools/check-site.cjs /tmp/jobley-proofwith Playwright installed to check the public pages at mobile/desktop widths and capture screenshots. - Cloudflare Pages builds with
bash tools/cf-build.sh;dist/is its output._redirectscovers retired web paths and_routes.jsonbounds the Functions routes.
Compatibility and private records
The old public job feed returns an empty list for compatibility with older clients. Old individual job APIs, candidate intake, and job creation/publication are closed. No database migration or data deletion is required for this change. Existing records remain private, and the authenticated moderator routes and permissions remain in place.
Production Pages bindings: DB (D1), JOBLEY_PASSKEY_SETUP_SECRET (at least 32 characters), TURNSTILE_SECRET, TURNSTILE_SITE_KEY, and IP_SALT (the rate-limit salt; it falls back to the retired ADMIN_TOKEN). Public installer and feed routes are retired without deleting stored release artifacts.
Passkeys only
The curator and moderators sign in with passkeys (src/passkeys.js, @simplewebauthn/server, relying party jobley.ai). No passwords, pasted tokens, email links or codes; recovery is a second passkey. ADMIN_TOKEN and the old jl_mod_… moderator tokens no longer sign anyone in.
- The curator's first passkey:
curl -X POST -H "x-setup-secret: $JOBLEY_PASSKEY_SETUP_SECRET" https://jobley.ai/api/passkeys/setupreturns a one-time link (15 minutes). Open Jobley, choose Add a passkey and paste it. Without the right secret the endpoint answers 404. - Moderators: approving an application returns a one-time setup link instead of a token.
POST /api/admin/moderators/:id/setup-linkmakes a new one (for moderators approved before passkeys). - Signed in:
GET /api/admin/passkeys,POST /api/admin/passkeys/optionsthenPOST /api/admin/passkeysto add another,DELETE /api/admin/passkeys/:id(never the last),POST /api/admin/sign-out. - Apple app-site association (
webcredentials) is served at/.well-known/apple-app-site-associationbyfunctions/_middleware.js. - Migration
migrations/0002_passkeys.sql:npx wrangler d1 migrations apply jobley-db --remote.