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

  • ieure
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    3 years ago

    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.

    • DessalinesA
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      3 years ago

      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.

        • DessalinesA
          link
          fedilink
          arrow-up
          1
          ·
          3 years ago

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

          • ieure
            link
            fedilink
            arrow-up
            2
            arrow-down
            1
            ·
            3 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.