this post was submitted on 18 Mar 2022
8 points (100.0% liked)

Emacs

2310 readers
5 users here now

Our infinitely powerful editor.

founded 5 years ago
MODERATORS
 

Emacs eww cannot handle JS, which lemmy requires for function.

top 6 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 4 points 2 years ago

No, There isn't yet. ๐Ÿ˜ข

[โ€“] [email protected] 2 points 2 years ago (1 children)

I was looking into it, but the Lemmy API isn't documented at all. The devs have some documentation for the JS client library and believe that this is all that's needed. I wasn't motivated to tear the JS lib apart to figure it out, so I didn't.

But if you want to, that's what you need to do.

[โ€“] [email protected] 3 points 2 years ago* (last edited 2 years ago) (1 children)

Here's the API docs for the HTTP API. If you want to know the low level endpoints, just click the defined in links. We use that javascript / typescript API client as the reference, but it defines every endpoint call and response types, and someone could easily build another client for other programming languages using it as the reference.

[โ€“] [email protected] 2 points 2 years ago (1 children)

I've had this conversation with you before. Nothing has changed since then, and all my arguments stand.

[โ€“] [email protected] 1 points 2 years ago (1 children)

If you can't read through a well documented api and convert it to another language, I don't know what to tell you.

[โ€“] [email protected] 1 points 2 years ago

There's a world of difference between can and wants to. And as I already pointed out, the existing client is incomplete in important ways, like error handling. So even if I was excited to fuck around figuring out how it works, it still wouldn't be as good as actual documentation.

I get that this isn't important to you, but continuing to insist that it's documented when it objectively isn't is indefensible. Just say that you don't care and let folks decide whether they want to deal with it or walk.