The Lending Law
I built a website that serves as a personal constitution for everything you lend: your drill, your books, your tent, your board games. Instead of repeating the same instructions every time someone asks to borrow something, you publish them once. The drill comes back with the same bit. The book comes back without folded corners. The tent comes back dry before it is folded. Your friends visit the site, submit a formal request for the item they need, and you approve or decline it from a private management panel. Every active loan is recorded in one place, so you always know who has what and when it is due back. If someone is late, the site provides ready-made reminder messages in three tones, from friendly to firm. The most delightful detail is the return ceremony: when a borrower brings something back, the site issues an official receipt, as though a small courtroom has just adjourned. The entire application is contained in a single file. It is free, requires no account, no password, and no installation, and it can be shared with a single link so that everyone sees the same ledger in real time. In practice, it is a personal lending register disguised as your own private code of law, and you would be surprised how often you actually reach for it.
Tech stack
- Claude
- GitHub Copilot
- Claude Code (Fable 5.1)
Links
Prompt
Build a complete single-file web application called "The Lending Law" — a personal
constitution for everything you lend to friends (drills, ladders, books, board games,
kitchen gear, camping equipment). It is a shareable public site where friends file
loan petitions, and a management panel where the owner tracks what's out and who has it.
DELIVERABLE
- One file: index.html
- No build step, no npm, no bundler, no framework
- Only external resources allowed:
* Google Fonts: Playfair Display, EB Garamond, JetBrains Mono
* jsonblob.com (https://jsonblob.com/api/jsonBlob) for optional cloud sync
- All CSS and JS inline in that one file
- Must open directly from the filesystem (file://) AND from a static host (Netlify,
GitHub Pages, Cloudflare Pages)
- State persists in localStorage under key "lending-law-v1"
- The cloud share ID persists in localStorage under key "lending-law-blob-id"
- The share ID is also readable from the URL query string "?blob=..." so share links work
CONCEPT
The site treats lending like a courtroom. Items are "cases" with exhibit numbers.
Loans are "releases." Returns trigger a ceremonial receipt. Rules are numbered
sections of a legal code. Amendments ar…
25 likes · 3 comments · 5 views
Comments (2)
nice ui and also useful build mate
thank you
Bravo