6.4 KiB
Raccoon for Lemmy
A Kotlin Multiplatform Mobile client for Lemmy.
Raccoon for Lemmy is a client for the federated aggregation and discussion platform Lemmy. The project started as an exercise to play around with Kotlin Multiplatform (KMP) and Compose multiplatform and gradually grew as a fully functional client with many features.
Main features
- view post feed and comments with different listing and sort types;
- possibility to upvote and downvote (with optional swipe actions)
- community and user detail;
- user profile with one's own posts, comments and saved items;
- inbox with replies, mentions and direct messages;
- global search on Lemmy with different result types (all, posts, comments, user, communities);
- create new posts (with optional images);
- reply to post and comments;
- custom appearance (color scheme, font size, post layout);
- custom localization (more languages to be added in future versions);
- block users and communities;
- support for multiple accounts (and multiple instances) with account-specific settings;
- explore all the communities on a given instance in guest mode;
- multi-community (aggregation).
Most clients for Lemmy currently offer the first points (with various degrees of completion), so there is nothing special about Raccoon for Lemmy, whereas the last ones are less common and are directed to more picky users (like me) who like to explore the Lemmy ecosystem and want to be able to group feed contents arbitrarily.
The application is under active development, so expect new features to be added (e.g. video support, marking posts as read / hide read posts, etc.) and the layout is going to change and evolve ( hopefully for the better) over time.
Why was the project started?
Because raccoons are so adorable, aren't they? 🦝🦝🦝
Joking apart, one of the main goals was to experiment with KMP and learn how to properly deal with the challenges of a multiplatform environment.
Secondly, as a means to dig deeper inside Lemmy's internals and become more humble and patient towards other apps whenever I found anything lacking or not implemented in an optimal way (according to my taste).
In the third place, I felt that the Android ecosystem of Lemmy apps was a little "poor" with few native apps (fewer open source), while the "market" is dominated by iOS and cross platform clients. I love Kotlin, I love open source software and I love native development, so there was a "niche" that needed to be filled.
Plus, developing a new client was an opportunity to add all the features that I needed and that were "scattered" across different apps, e.g. I liked the feature richness of Liftoff (e.g. the possibility to explore all the communities of an external instance), the multi-community feature of Summit and the polished UI of Thunder and I wished I could have them all in the same app. If I saw a feature of Lemmy (e.g. sorting by "Controversial") that not all apps offer, I could add it myself, etc. This involves a high level of discretionality and personal taste, I know, but this project is about experimenting and learning.
Technologies used:
- Koin for dependency injection
- Voyager for screen navigation
- Ktor and Ktorfit for networking in conjunction with kotlinx-serialization for JSON marshalling
- Moko resources for resource management
- Kamel for lazy image loading
- Multiplatform settings for encrypted preferences
- Markdown for markdown parsing
- SQLDelight and SQLCipher for local persistence
Credits:
- the
core-api
module is heavily inspired by Jerboa for Lemmy - the
core-md
module is taken from Multiplatform Markdown Renderer with some adptations a posteriori - the UI is inspired by the really great Thunder app
Want to try it out?
- get it on Obtanium by simply adding this
repo
https://github.com/diegoberaldin/RaccoonForLemmy
Want to leave your feedback or report a bug?
- open an issue on this project's issue tracker to report bugs or request new features
- create a post on the project's on community on Lemmy.world for broader questions, opinions, personal feedback, suggestions, insults or whatever you feel like writing