ζ΄ͺ 民憙 (Hong Minhee) · @hongminhee
248 followers · 1889 posts · Server todon.eu

#dioxus

Last updated 2 years ago

esmevane, sorry · @ironchamber
73 followers · 1059 posts · Server mastodon.esmevane.com

Oh damn supports terminal UI renderers? 🀯 bcnrust.github.io/devbcn-works

#dioxus #rust

Last updated 2 years ago

Ugvx · @Ugvx
5 followers · 74 posts · Server fosstodon.org

Have been having issues with with especially stylist recently. This may mean work on the blog will pause for a bit. Seem there is a bug with 1.70 that impacts wasm environments. The workaround I can't seem to get to work with stylist. Maybe it's time to give a go given it seems to be an all in one solution and I do need to build a desktop app to make my life easier next week...

#yew #rustlang #dioxus

Last updated 2 years ago

Kevin Sullivan · @ks982579
13 followers · 58 posts · Server techhub.social

@rust_discussions

The YouTube video is a great presentation on for . Thanks for sharing, I was actually looking into different crates recently for a new project!

#dioxus #rust #gui #rustlang

Last updated 2 years ago

fistons :rust: :java: · @fistons
19 followers · 68 posts · Server fosstodon.org

After trying with and , I think I may I found my jam for web front-end development in :

The documentation and examples are clear, performances looks fine. Maybe I will be able to build a web application with it 🀞

#yew #dioxus #rust #Leptos

Last updated 2 years ago

Alice :vUwUfied: Spring Dergy · @werefox
515 followers · 11194 posts · Server yiff.life

As is the usual for any of my sites - this is entirely static. You can view the entire thing without enabling Javascript. :aliceheartblack:​

Additionally, as you may see if you decide to check out the source code, this was written entirely with using the and crates! It was a bit of a learning curve, but very fun, and I certainly got myself to be a bit more comfortable with the language as a result. :alicemlem:​

Do keep in mind that in order to maintain user preferences on fonts and themes, the site does store two cookies in your browser. I may change this in the future, but that was the simplest solution for the time being.

#rust #dioxus #rocket

Last updated 2 years ago

Alice :vUwUfied: Spring Dergy · @werefox
514 followers · 11173 posts · Server yiff.life

Late to the party, but here's something I've been working to on to celebrate 500 followers - A letter to the void is here! :alicehappy:​

I'll be posting my poetry on there (there's a new one up now!), and I'll be doing updates to the site as well, so feel free to bookmark it if you're interested! :aliceheartblack:​

#trans #poetry #rust #dioxus

Last updated 2 years ago

Alice :vUwUfied: Spring Dergy · @werefox
501 followers · 10898 posts · Server yiff.life

So, with , it seems like the best I can do with regards to having it play nice with rust-analyzer is just to let it run cargo check while targeting wasm32-unknown-unknown and call it a day. Since dioxus-cli doesn't implement a json message output nor does it have its own form of a check, overriding the check command for build is ugly and slow, so I'd just rather allow the check to happen normally and run a dioxus serve --hot-reload in the terminal. :alicesideeye:

#dioxus

Last updated 2 years ago

Alice :vUwUfied: Spring Dergy · @werefox
499 followers · 10871 posts · Server yiff.life

Honestly, with as much trouble as has been so far as just a front-end component.... It's still really fucking nice to have. Even if I do substitute the backend for since I feel it's really lacking on routing options and has some jank SSR support... The fact that if I wanted to I could turn around and make web projects into a desktop app is kinda too neat to pass up. :alicesideeye:

#dioxus #rocket

Last updated 2 years ago

Crispin Bennett · @crispinb
31 followers · 247 posts · Server fosstodon.org

Good to hear on the latest episode of Rustacean Station (rustacean-station.org/episode/) that @servo is having a second wind.

For all the fecundity in UI frameworks, I would still bet on web tech. Browser engine diversity is an absolute must.

It's obviously a way off, but it would be interesting to see if Servo could have a future in projects like and

#rust #tauri #dioxus #rustlang

Last updated 2 years ago

Crispin Bennett · @crispinb
26 followers · 215 posts · Server fosstodon.org

@garrowbregenza I'm in a similar situation. I wanted to add a GUI to an existing cli project, with limited Rust abilities.
The one I've been able to make any headway with is Tauri. I would prefer not to use a js front end, but by keeping the UI layer very thin and doing most of the work on the Tauri/Rust side of the bridge, you can keep it minimal. You can use Rust for the FE, but Tauri doesn't hold your hand as much as with js.

has potential, but I've found it pretty inscrutable

#rust #dioxus

Last updated 2 years ago

Crispin Bennett · @crispinb
25 followers · 210 posts · Server fosstodon.org

I find the website misleading. It's in the nature of open source that much isn't truly ready for user-space programmers, and that's fine. But honesty is always and everywhere a requirement. With its "Feature-packed Examples" (few of which are documented, and only one of which I could get to run), "Start building today, with Dioxus" (surely only possible for superior developers), the Dioxus web site is borderline deceptive (even given the slack we rightly give open source projects)

#dioxus #rust

Last updated 2 years ago

Alice :vUwUfied: Spring Dergy · @werefox
482 followers · 10256 posts · Server yiff.life

I had a typo in the extension for the font file I was trying to serve, and the CSS was attempting to ask for a local install of it, which obviously wasn't going to work on most devices. :alicemlem:​

Aside from that, I changed the pre-rendered HTML from Dioxus to go into a non-escaped HTML template being rendered through Rocket, using Handlebars. That should be a much better solution than simply manually writing some shitty HTML by paw and then casting the string as RawHtml(). :alicesweat:​

In the future, it would be good to separate the Dioxus and Rocket parts into subcrates, so one could run dioxus serve in one, and cargo run in the main one. (something like this)Buuuut... that's for later, I need a break. :aliceweh:​

(sourcecode)

#rust #dioxus #rocket #tailwindcss

Last updated 2 years ago

Alice :vUwUfied: Spring Dergy · @werefox
481 followers · 10236 posts · Server yiff.life

Okay, so like... I have the site working, and I'm realizing that I absolutely can't get the site to be served with static assets alone. I would absolutely need to use some kind of other framework or write html to a file if I want static assets. That's fine, but it requires more work as well. Oh well, time to check out

Another option would be to have the SSR only output the HTML if I'm building for release, then I can just serve those assets alone with something like nginx. :alicesideeye:​

But then that requires using nginx for things like routing and I'm not really about that. :aliceweh:​

#rocket #rust #dioxus #staticsiterendering

Last updated 2 years ago

Alice :vUwUfied: Spring Dergy · @werefox
481 followers · 10236 posts · Server yiff.life

Okay, I finished that already! :alicemlem:​

That was really easy once I actually got and working. Excited to tackle a bigger project now! :aliceheartblack:​

#dioxus #tailwindcss

Last updated 2 years ago

Alice :vUwUfied: Spring Dergy · @werefox
481 followers · 10236 posts · Server yiff.life

Okay, I finished that already! :alicemlem:​

That was really easy once I actually got and working. Excited to tackle a bigger project now! :aliceheartblack:​

#dioxus #tailwindcss

Last updated 2 years ago

Alice :vUwUfied: Spring Dergy · @werefox
480 followers · 10214 posts · Server yiff.life

Getting set up was kind of a lot more of a pain than I expected it to be, but I think I did figure it out now. :alicesideeye:​

Mainly because I'm using VSCodium, as opposed to what I'm sure most devs are using like uhhhh emacs or vim or whatever.

#dioxus #rust

Last updated 2 years ago

Crispin Bennett · @crispinb
24 followers · 193 posts · Server fosstodon.org

I've been avoiding for web front end as it's all so new/churny, and js/ts is mature & easily SO/google/OpenAI-able even for a front-end naΓ―f like myself.
But now I'm not so sure. I admire the Deno folks' attempts to simplify/unify the whole ecosystem. Seeing how the attempt to do this just for dependencies itself gets increasingly complex (deno.com/blog/package-json-sup) makes me think just ditching the whole farrago could be worthwhile for those who can.
and look tempting.

#rust #Leptos #dioxus

Last updated 2 years ago

The whale · @thewhalecc
285 followers · 1737 posts · Server framapiaf.org

Dioxus - Dioxus is a user interfaces that run anywhere. Written in Rust, inspired by React. dioxuslabs.com/ by @dioxuslabs@twitter.com

#dioxus #ui #rust #dev

Last updated 3 years ago

Just discovered the framework that let you write app in react style, seriously !? What the ?! Since I decided to go back to I discovered so many incredible modules, thanks you πŸ¦€β€οΈπŸ¦†!

dioxuslabs.com

#rustaceans #rustlang #rust #dioxus

Last updated 3 years ago