Skip to content

Comment on The HTML5 appcache is the New Bootloader

Comments

I had a play around in this area a few years ago. I had a tiny index.html that had just this script in the body.

  var s=localStorage["bootstrap"];
  if (s) {eval(s);} else {
    var t="But you are not carrying the axe!<br>";
	  t+='<a href="loadup.html">Get the Axe</a>';
	  document.body.innerHTML=t;
   }

http://fingswotidun.com/notanos/

Ultimately I found that I needed a server side because of URLs and the same-origin policy. There were just some things that browsers expected to fetch from a URL rather than have the data arrive by other means.

For a time I used a WebDav server to be a dumb server. Eventually the system evolved into https://github.com/Lerc/notanos Which uses it's own custom server https://github.com/Lerc/userserv which uses your unix login and statically serves files that your logged-in user is allowed to see.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.