Go bindings for the Lemmy API
Go bindings for the Lemmy API
I've written Go bindings for Lemmy's HTTP API. If anyone wants to use them, the import path is go.arsenm.dev/go-lemmy
. The repo is at https://gitea.arsenm.dev/Arsen6331/go-lemmy with a mirror on GitHub: https://github.com/Arsen6331/go-lemmy.
Hey, thank you for sharing.
May I ask - How are you planning to use them?
0 0 ReplyI want to try making a bot and maybe a client of some sort
0 0 ReplyCool. I often wonder about pulling Lemmy data/components into Hugo (a static website, coded in Go).
For example:
-
Showing Lemmy ‘cards’ in the main Hugo feed (which display meta info about a Lemmy post (such as: number of comments, topic title, and post summary)).
-
Or even... displaying a Lemmy post’s entire comment section (creating a nested comment-section for each Hugo post).
It seems like you’ve experimented quite a bit.
Do you feel like either of those is possible?
0 0 Reply-