The lack of keyboard interface on Lemmy is killing me, but really what I want is a good client in Emacs. However, it’s beyond my Elisp to design and start such a project, but I could probably help. Anyone on it?

  • @[email protected]
    link
    fedilink
    English
    9
    edit-2
    2 years ago

    I have quite a few endpoints working now, each mostly just with the basic options implemented, and its easy to add endpoints with a handy macro i wrote. There are still quite a few quirks with lemmy itself that i’m struggling to work out, like how to search for my second account on another instance and actually have it appear in results. I might ask in a support room. The type-heavy rust and ts code is super foreign to me, it’s also very large. Moreover, the various documentation links, another one is https://join-lemmy.org/api/classes/LemmyHttp.html, sometime contradict each other. Maybe having the basics down I cd start on some necrco diy interface. [posted and edited via lem.el]

    • @asterisk
      link
      English
      32 years ago

      I think this would be the best way to go.

      Myself, I’d love to be able to interact with Lemmy through Gnus, but it would be great to have a general emacs API for flexibility so you can choose the front-end.

      It looks as though the api for a client is defined in api_common.

        • @asterisk
          link
          English
          12 years ago

          Thanks, yes that’s a more useful source than my one.

          • @[email protected]
            link
            fedilink
            English
            22 years ago

            https://codeberg.org/martianh/lem has some basics, functions returning plain JSON. i didn’t do any auth, but if its oauth and so similar to mastodon.el, we cd also just move its auth code into the fedi.el library. and fedi-http.el is already set up to handle auth tokens.

            discovering lemmy’s query parameters is quite a pain for me, as i don’t know rust.

            • @asterisk
              link
              English
              12 years ago

              That looks a promising start. I’ll have a look into it when I have some time. I hope some others do too!

              I don’t know Rust either, but it does appear to be relatively easy to understand; could be worse anyhow.

              It would be nice to have a fully documented API to work from: probably not a priority for the lemmy devs right now, I’d imagine.

    • Phillip J Phry
      link
      English
      12 years ago

      Do you have, or plan to have, any code up in a github repo? I’m decent with elisp and this sounds like a fun thing to hack on. My spare time is spread a little thin, so I doubt I’ll get to start on anything anytime soon, but I could totally try to contribute. If not, no worries.