Hacker News new | past | comments | ask | show | jobs | submit login

> This looks neat! I've never really been in to web development, but I'm curious... is it possible to create a standalone .html file for a browser-delivered app? Like, not just PWA or SPA, but... a single HTML App?

Yes, you can include your JavaScript and CSS directly inside the <script> [0] and <style> [1] tags, so you don't need to include any other file. Images like PNG, JPEG, ... can be either embedded with a base64 data URL [2] or an SVG with the SVG tag [3].

> what's the barrier to something interesting, say... implementing a minimal spreadsheet or maybe just a sortable/filterable table?

Well, you could go the easy route and use an already existing JavaScript library for this. Libraries are normally included via a URL, but you can just copy the contents of this library into the script tag as mentioned above.

Otherwise, I think it's manageable to do develop it yourself (sortable/filterable tables) much knowledge, but frontend development can be a PITA very fast

[0] https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sc...

[1] https://developer.mozilla.org/en-US/docs/Web/HTML/Element/st...

[2] https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_...

[3] https://developer.mozilla.org/en-US/docs/Web/SVG/Element/svg




That’s how TiddlyWiki works for example: https://classic.tiddlywiki.com/




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: