Re:Show HN: Bubblin – Bandcamp for books
by marvindanig on Tuesday December 18, 2018 @09:04AM
(#18706420)
> so now I have to keep a tab open in safari constantly…
You can close the tabs and re-open any number of books without an Internet connection. The books will work normally.
That is the whole point of offline-first!
Re:Show HN: Bubblin – Bandcamp for books
by Angostura on Tuesday December 18, 2018 @09:40AM
(#18706621)
How? by trawling through History?
Re:Show HN: Bubblin – Bandcamp for books
by bunderbunder on Tuesday December 18, 2018 @09:45AM
(#18706658)
I'm guessing it's something like readthedocs.io, where you can navigate to that url when you're offline, and it'll give you a somewhat restricted UI that lets you browse any documentation that you've downloaded for offline reading.
Re:Show HN: Bubblin – Bandcamp for books
by sonicaa on Tuesday December 18, 2018 @10:01AM
(#18706819)
We load the entire book in one shot and offline it immediately using a service-worker [0].
Feel free to test it! Bookmark the url and turn off the Internet. Now close the tab, hard refresh or restart your computer if you want to test that far. Reopen your browser and open the bookmarked url and the book will open up on the last page you were on and work normally with full UX/UI without Internet connection.
[0] https://developer.mozilla.org/en-US/docs/Web/API/Service_Wor...
But to the point you do raise - so now I have to keep a tab open in safari constantly for each book I'm reading or might want to read? If I'm going on a trip and want to take half a dozen books because I'm not sure which I will read, now I've got 6 tabs open in safari constantly.