Follow

I kinda wanna try writing a client in using tauri. It's definitely a big project but I think if I take it easy and just do it for fun it might be ok. I've wanted an excuse to give Tauri a whirl for a while now...

· · Web · 5 · 2 · 26

@zkat Go for it! Writing a simple #matrix client is super doable. It gets complicated if you want it to run everywhere, support every feature and have a nice UX. But if you just want to display and send some messages, that is absolutely feasible and if you want to do more, you can incrementally improve from there. (Although I generally prefer it if people contribute to existing clients, everyone's got to scratch their itch sometimes.)

@deepbluev7 yeah the only itch this is meant to scratch is my curiosity. Plus I’m sure getting familiar with rust-matrix-sdk will help me contribute to existing clients, since several already use it

@zkat @deepbluev7 if you do end up like working w/ tauri, cinny.in/ seems to have a solid dev plan & they just released a tauri-based desktop app after there being a community-created wrapper for a while - github.com/ajbura/cinny/releas

@calebjasik @deepbluev7 yeah I’m basically just writing cinny in Rust tbh and that’s ok

@zkat @deepbluev7 cool beans; i’m honestly still not fully onboard w/ seeing wasm based client-side stuff being a great idea, but good luck 👍

@calebjasik @deepbluev7 Yeah me neither. It’s just a toy I’m playing around with to see what the landscape is like. It’s been a learning experience for sure

@zkat @deepbluev7 wait when did trunkrs.dev/ get on the scene :0 i may have done a github repo snoop 👀

@calebjasik yes, that was a reason for me to give it a shot, since it sounds like the rust sdk is mature enough now to do stuff? I mean I also wanted to play with Tauri but that's less of a priority now after changing my mind on architecture (the Tauri part is gonna be very very small)

@zkat that makes sense; if you decouple from tauri it’s more likely you can serve it as a webclient

@calebjasik @zkat Yes, Element-iOS is getting a rewrite similar to RiotX back in the day. Long term plan is to base most Element clients on the rust SDK afaik.

@zkat it's definitely a cool framework. I'm experimenting with it some for a graphical version of Nushell.

@jntrnr unpopular opinion: effective desktop GUI design peaked with the web platform, and literally any other desktop GUI framework is ultimately inferior in every way.

@zkat just thinking about all the font rendering, accessibility, tab navigation, etc etc

@jntrnr @zkat There have been some rather interesting prototype-y things where the shell *doesn't* pretend it's running on a VT100 serial console and instead has more rich graphical interactions. Is that something like what you were thinking?

(You'll *also* need to be able to pretend to be a VT100 console, but presumably there's a bunch of work from alacritty you can crib there)

@RAOF @zkat for Nushell, yeah that's the kind of thing in thinking of. Let you use vt100 if you need it. Many command in nu could use more graphical output (eg opening images, viewing takes, exploring structured data files, etc.)

@jntrnr @zkat yeah, you need VT100 so that you can run things *in* your shell, but the shell itself would be able to use all sorts of goodies like tooltips, menus, embedding graphics, animations, code folding, …

@sthiele don't get your hopes up. This is gonna be a toy project. I doubt it'll be remotely as featureful as something like Element :)

@zkat @zkat omg, I hadn't heard of Tauri before today, this is amaaaaaaazing

Sign in to participate in the conversation
Toot.Cat

On the internet, everyone knows you're a cat — and that's totally okay.