🎨 Hacker News discusses how to keep a digital sketchbook fast and easy to update
In brief
- 🗺️ Kshitij Lauria puts paintings and locations online through a browser editor, while the public pages are cached.
- 💬 Hacker News replies offer another approach with immutable versions that are easy to roll back.
🖼️ Kshitij Lauria built a website for his paintings and sketches with tags and a map. Most visitors receive a cached page, while Lauria uploads new work through a web form. His system clears the cached pages when he changes the collection. Hacker News participants discussed other ways to keep such a gallery easy to maintain, including publishing versions that make it easier to undo a change.
📷 Lauria started by sharing scans in group chats. Friends asked where he had painted and what a place looked like in real life. The map makes that connection visible. His browser creates several smaller images at upload time for gallery views. Those images sit alongside the archival file in object storage. A single data file holds details for all pieces. Pages including individual tag views are built on demand from those details.
↩️ One participant described another approach for a map-based collection. They publish a fixed version of the catalogue and a short reference that points to the current one. Earlier versions can stay cached and a rollback means changing the reference. Lauria wanted to avoid tracking which pieces of metadata could affect each page on a small project. Another commenter tried visiting Lauria’s gallery with scripting blocked and reported being able to browse it.