问HN:有没有针对个人使用的一次性HTML工具?
我最近需要在户外频繁记录时间戳,所以我写了一个大约30行的HTML表单,里面只有一个输入框和三个按钮(时间戳/换行/清除),可以让我快速记录信息。<p>结果发现,将其制作成离线的渐进式Web应用(PWA)只需添加一个清单文件和一个用于缓存请求的sw.js,再加上两行localStorage代码以实现数据持久化,因此现在我手机上有了一个可靠的应用,它是木匠自制的丑陋但实用的工具的数字化等价物。<p>手动编写一个简单的HTML应用竟然如此简单,这让我对Web技术的易用性有了新的认识,只要不把它复杂化,就像用乐高积木造一辆车一样。<p>你有哪些为个人使用量身定制的黑科技小工具,利用了最基本的Web技术?
查看原文
I recently needed to frequently log timestamps on my phone while outside, so I wrote a ~30 line HTML form that is just an input box and three buttons (Timestamp/Newline/Clear) that lets me quickly log a message.<p>Turns out that making it into an offline PWA is just a matter of adding a manifest and a sw.js for cache requests, and two lines of localStorage for persistence, so now I have a trusty app on my phone that’s the digital equivalent of a carpenter’s self-crafted ugly-but-works shop tool.<p>It felt good that hand-rolling a barebones HTML app is actually so easy, giving me a new appreciation for the ease of use of the webstack if you don’t overcomplicate it into a car made from Legos.<p>What are some of your tailored-for-personal-use hacky toolets that leverages a minimal use of vanilla webstack?