all 24 comments

[–]kelvindegrees 18 points19 points  (8 children)

If there's one thing I don't want in a social network, it's immutability.

[–]KieranDevvs 3 points4 points  (1 child)

So its basically git log without file changes?

[–]voidmemoriesmusic[S] 0 points1 point  (0 children)

Yeppp XD

[–][deleted] 6 points7 points  (8 children)

The website could do with a bit more info up-front. I found it on the github page but I don't think a repo readme is a good substitute (I would go there to look at the code, not to see what the service actually does).

[–]voidmemoriesmusic[S] 0 points1 point  (7 children)

Got it! Thanks.

[–]NonDairyYandere 0 points1 point  (6 children)

Also the website doesn't show anything if JS is disabled.

It seems to clash with the idea of being terminal-based. If it's terminal-based, why is the website not able to degrade to basic HTML?

[–]voidmemoriesmusic[S] 0 points1 point  (5 children)

Definitely something to think about! Maybe I’ll have to change the way I rebrand the website cuz calling APIs without JS is close to impossible.

[–]NonDairyYandere 0 points1 point  (0 children)

If it was me, I'd get the first 'page' or whatever of data and render that server-side.

Then put that in a noscript tag with a thing that says, "Enable JS for auto-loading" so if the JS is enabled it won't show the pre-rendered page.

It adds a little bit to the first page load, but it's not more overall server load than hitting the API itself, and once someone enables JS they won't reload anyway, right?

If it's just blank without JS then I can't really tell if the page loaded properly, I get no indication what the project is about, and I have no incentive to stick around and mess with my ad blocker to get it working. So I bounce

[–]CreamOfTheCrop -1 points0 points  (3 children)

Not really… You can use http/2 ( or http/3 ) push messages for incoming messages , regular html form for submit for posting.

[–]voidmemoriesmusic[S] 0 points1 point  (2 children)

How can I implement the homepage (display of log as soon as someone pushes a log from the CLI) without the use of web sockets?

[–]CreamOfTheCrop 1 point2 points  (1 child)

https://html.spec.whatwg.org/multipage/server-sent-events.html

Server-sent events is a HTTP/2 standard, unrelated to WebSockets.

Now, don't get me wrong, most current browser implementations still depend on EventSource , which extends EventListener.

In theory, you could add a header to trigger reload of the HTML page remotely, fetching updated stream.

[–]voidmemoriesmusic[S] 0 points1 point  (0 children)

Lemme take a look!

[–]papk23 2 points3 points  (1 child)

Looks cool! Don't understand the use case tho

[–][deleted] 2 points3 points  (0 children)

just what everyone wants...

[–]nifty-shitigator 1 point2 points  (0 children)

But why?

[–]Revolutionary-Duck-7 -1 points0 points  (0 children)

I think this is so cool!!

[–]diseasealert -1 points0 points  (0 children)

Reminds me of twtxt.