this post was submitted on 18 Jun 2023
162 points (99.4% liked)

Programming

17313 readers
256 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 [email protected]



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 31 comments
sorted by: hot top controversial new old
[–] [email protected] 41 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!

[–] [email protected] 9 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 7 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?

[–] [email protected] 6 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! :)

[–] [email protected] 5 points 1 year ago (1 children)

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

[–] [email protected] 6 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.

[–] [email protected] 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.

[–] [email protected] 1 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 ...

[–] [email protected] 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.

[–] [email protected] 1 points 1 year ago

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

[–] [email protected] 14 points 1 year ago (1 children)

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

[–] [email protected] 5 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 :)

[–] [email protected] 13 points 1 year ago (1 children)

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

[–] [email protected] 1 points 1 year ago (1 children)

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

[–] [email protected] 1 points 1 year ago

I'll try to send you bug reports via GitHub when it's out.

[–] [email protected] 7 points 1 year ago (1 children)

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

[–] [email protected] 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 :)

[–] [email protected] 6 points 1 year ago (1 children)

A fellow chad Catppuccin enjoyer I see

[–] [email protected] 2 points 1 year ago (2 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 1 points 1 year ago

Which part of catppuccin does not work for you with libadwaita, by symlinking the gtk-4 config file from the theme libadwaita apps are themed for me.

[–] [email protected] 1 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? 🙈

[–] [email protected] 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.

[–] [email protected] 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
[–] [email protected] 4 points 1 year ago* (last edited 1 year ago)

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

[–] [email protected] 4 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

[–] [email protected] 3 points 1 year ago (1 children)

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

[–] [email protected] 3 points 1 year ago

legend, thanks!

[–] [email protected] 2 points 1 year ago

Awesome!! Will definitely be following this project

[–] [email protected] 2 points 1 year ago

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

load more comments
view more: next ›