Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Like the simplicity approach - single-file tools are underrated.

One thing to note: if you ever want "install as app" functionality, you'd need to host them (even on GitHub Pages). File:// URLs don't support service workers, which means:

- Can't properly "Add to Home Screen" as a PWA

- Can't use Cache API for offline-first functionality

- Limited to localStorage (~5MB) instead of IndexedDB

- CORS restrictions prevent fetching from external APIs/CDNs

But if your tools work fine with localStorage and file:// access, no need to overcomplicate. The current approach is valid too.





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: