this post was submitted on 18 Jun 2023
89 points (98.9% liked)

Programming

17326 readers
192 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS
 

Hello everyone, I recently started working on a Gtk client for Lemmy written in Rust, called Lemoa and the awesome Relm4 crate.

So far, it supports most of the basic things that do not require a login, like viewing trending posts, browsing communities, viewing profiles, etc... Login features are planned to become added within the next one or two weeks, so that Lemoa can be used as a replacement for the web UI on a desktop.

Screenshot of an example community page:

Id you want to feel free to already try it at "alpha stage" (installation instructions are in the Readme).

Feedback and any kind of contributions welcome!

PS: I'm sorry if that's the wrong place to post about it, I didn't know where else to.

top 29 comments
sorted by: hot top controversial new old
[–] sisyphean@programming.dev 16 points 1 year ago* (last edited 1 year ago) (2 children)

I’m sure it’s a nice client but I don’t understand why so many GUI projects have no screenshots in their READMEs. It would be great if I could immediately see if I like it without installing it.

EDIT: thanks for adding the screenshot to your post! It looks awesome!

[–] bnyro@programming.dev 6 points 1 year ago (2 children)

Yes, I totally agree with you! I didn't yet add screenshots to the README since some parts of the app are still matter to be changed in the near future. The development started actually just four days ago, so there's still room for UI improvements. I'll make sure to add screenshots to the README once it's more mature.

[–] Lorenz_These_Curves@lemmy.world 4 points 1 year ago* (last edited 1 year ago) (1 children)

Hi there! First off--this looks awesome! Thanks for making it! Do you need any help with anything? I'm not a slouch at Rust and would love to see a desktop client for Lemmy that everyone can use! Is there anything you need help with testing? Dev? Docs?

[–] bnyro@programming.dev 3 points 1 year ago

Hey, thanks for your interest! What's probably needed the most currently is someone spending some time to get all the things that require authentication done, but of course other things like adding screenshots to the README, adding CI via GitHub actions, etc would be useful too! :)

[–] Possible6388@beehaw.org 2 points 1 year ago (1 children)

Why not just add them now? It’s not hard to update with new screenshots upon new changes.

[–] bnyro@programming.dev 4 points 1 year ago

I don't mind if someone creates a PR with some screenshots, however I would rather wait one or two weeks so that there's no need to create a newscreenshots when a new feature is added.

[–] InAmberClad@lemmy.nz 4 points 1 year ago* (last edited 1 year ago) (1 children)

I completely agree. It's the bare minimum to include screenshots if you want people to be interested. If the barrier to see if I even like the look of the app is cloning and building the project then I'll probably just move on to an alternative.

[–] bnyro@programming.dev 0 points 1 year ago (1 children)

As already stated out, the project is still in alpha. Apart from that, there is a screenshot in the post ...

[–] InAmberClad@lemmy.nz 1 points 1 year ago (1 children)

Apologies, I was just agreeing with the commenter above, I didn't mean to bring negativity to your project. My comment was more just an excuse to comment on Lemmy to get some engagement on the platform.

[–] bnyro@programming.dev 1 points 1 year ago

Oh well, looks like I just misunderstood you then. No worries!

[–] XTL@sopuli.xyz 10 points 1 year ago (1 children)

Rust and gtk? Nice! This is probably worth both reading through and trying out.

[–] bnyro@programming.dev 3 points 1 year ago

Please keep in mind it's still at a very early stage, so if things sometimes don't work out perfectly yet, that's matter to change in the future :)

[–] Meshuggah333@kbin.social 7 points 1 year ago (1 children)

Do you plan on putting it on flathub when it's out of beta?

[–] bnyro@programming.dev 1 points 1 year ago

Yes, likely. I have never published an app there before so it'll be kinda interesting to get it working, but I guess that'll be fine (I'll probably try it in two weeks or so). I'll also try to add it to Void Linux's repos once it's stable, hope we'll get accepted there too

[–] valpackett@lemmy.blahaj.zone 4 points 1 year ago (1 children)

Oh cool… mm, do we have a GNOME forum on this here threadiverse?

[–] bnyro@programming.dev 1 points 1 year ago

Requested here: https://programming.dev/post/320260. Please upvote it in order to become considered as a new community on programming.dev :)

[–] Hexarei@programming.dev 4 points 1 year ago (1 children)

A fellow chad Catppuccin enjoyer I see

[–] bnyro@programming.dev 2 points 1 year ago (1 children)

Yes, that's also the reason why the app uses gtk4 without libadwaita, I want to be able to use Catppuccin on it :)

[–] benneti@programming.dev 0 points 1 year ago (1 children)

For me cattpuccin also works with libadwaita apps if you symlink the config in gtk-4.0 folder of the theme to .config/gtk-4.0 or is it something more than the colors you are missing for libadwaita apps? 🙈

[–] bnyro@programming.dev 1 points 1 year ago (1 children)

Hmm, I've symlinked the gtk-4.0 folder to catppuccin, but some apps like Nautilus don't seem to get themed (not even sure if it uses libadwaita though). Some others do work.

[–] benneti@programming.dev 1 points 1 year ago

Hmm thats strange, nautilus is definitely themed for me, apart from symlinking and setting the general gtk theme, I think the only thing that I did in addition is setting the following in settings.ini

[Settings]
gtk-application-prefer-dark-theme=true
gtk-icon-theme-name=Papirus-Dark
gtk-theme-name=Catppuccin-Macchiato-Compact-Mauve-Dark
[–] holdthemayo@programming.dev 2 points 1 year ago* (last edited 1 year ago)

the view! macro looks neat, I had no idea that was a thing before

[–] matogoro@lemmy.sdf.org 2 points 1 year ago

Awesome!! Will definitely be following this project

[–] flying_walrus@lemm.ee 1 points 1 year ago (1 children)

looks awesome! awkward question but other people may run into this problem too:

The apt versions of libgtk-4-dev seem to be too old to build lemoa and I can’t find an obvious flatpak alternative, any tips?

I'm on pop_os 22.04 LTS; cargo install error with apt's libgtk-4-dev installed: Requested 'glib-2.0 >= 2.74' but version of GLib is 2.72.4

[–] bnyro@programming.dev 3 points 1 year ago (1 children)

There now are instructions how to build it using Docker in the Readme :)

[–] flyingwalrus@programming.dev 3 points 1 year ago

legend, thanks!

[–] cpp_hleucka@programming.dev 1 points 1 year ago

Very cool. Starred on Github. Looking forward to the release!