3 ms·
Seems to still require a server which the static site client-side JS continues to call out to? Not really a 'static site' then. Occurs to me that you could pro
by gwern 5y ago
Seems to still require a server which the static site client-side JS continues to call out to? Not really a 'static site' then.
Occurs to me that you could probably go much further towards a truly static site by borrowing from https://phiresky.github.io/blog/2021/hosting-sqlite-databases-on-github-pages/ https://phiresky.github.io/blog/2021/hosting-sqlite-database... - store the user credentials publicly in a readable way, and use a sufficiently slow hash like scrypt to make the hashes non-bruteforceable. Writes can be done async or maybe through a system like IPFS or Zeronet, or just stored locally and visible to the user only... I'm not entirely sure where you'd want such a scheme, but if you can make a BBS using the SQlite approach (https://ansiwave.net/blog/semantic-web.html https://ansiwave.net/blog/semantic-web.html) I'm sure there's a niche or variant somewhere which might be interesting.