Hacker News new | ask | show | jobs
by zugi 1274 days ago
Until a year or so ago you could read Twitter with Javascript disabled in your browser. So we know zero lines of Javascript are actually required to read tweets.

I just stopped clicking in Twitter links once they intentionally disabled browsing without Javascript, and use Nitter.net if there's a tweet I really want to read.

1 comments

It's common sense that for reading a bit of text and perhaps an image there is no need for JavaScript. Even video doesn't require it. It should all be HTML.
I've got an open source Twitter and Mastodon app that's as vanilla as possible. Python + HTMx.

Just added video support this morning. Total page load is 200kB. Double-click loads the video:

https://twitter.com/iSpoogeDaily/status/1607038383318081537

I'm releasing every week or two to Glitch unless I can get more funding. Latest version is on https://glitch.com/~hogumathi, there's supporter links and licensing info in the readme (public releases are AGPL).

Providing adaptive video (MPEG-DASH / HLS on any non Safari browser) still requires JS though.