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?

  • blawsybogsy
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year 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@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year 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.

    • blawsybogsy
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      1 year ago

      I have interactive commands to view communities, view posts, and reply, plus not-interactive editing and search stuff working. but i haven’t worked out how to get threading right, so comments under posts are all out of whack. i’ll slowly keep trying to pilfer stuff from mastodon.el, which can make progress fast. work is in develop branch. [sent via lem.el]