News for hackers. Stuff that matters.
Re:Sr.ht becomes Sourcehut by nixpulvis on Wednesday February 06, 2019 @07:00PM (#19101537)
"All features work without JavaScript" oh hello there, my new friend. :)
Re:Sr.ht becomes Sourcehut by combatentropy on Wednesday February 06, 2019 @07:20PM (#19101708)
Indeed, I haven't seen a single script tag in any of the pages.

It's written in Python, using Flask, https://drewdevault.com/2019/01/30/Why-I-built-sr.ht-with-Fl...

Re:Sr.ht becomes Sourcehut by juice13 on Thursday February 07, 2019 @02:29AM (#19103653)
There is javascript for progressive enhancement on some pages. E.g. submitting comments on tickets by pressing Ctrl+Enter, or selection of ranges of lines in git blob view.

For example: https://git.sr.ht/~sircmpwn/sourcehut.org/tree/master/conten...

But everything is designed to work well without JS first.

Re:Sr.ht becomes Sourcehut by mikro2nd on Thursday February 07, 2019 @04:31AM (#19104078)
I was especially impressed and made happy by the absence of Google Analytics script (at least on the one page I checked.)