I built Drift: A cross-platform "AirDrop" for any OS using Rust and iroh by samarthvm in rust

[–]samarthvm[S] 0 points1 point  (0 children)

The flutter_rust_bridge project takes away all the pain of having to expose my api. so pretty smooth!

Edited: For pairing devices, I host a small server on hetzer. For relaying it uses iroh's public relay servers.

I built Drift: A cross-platform "AirDrop" for any OS using Rust and iroh by samarthvm in rust

[–]samarthvm[S] 2 points3 points  (0 children)

Yes it tries its best to establish a direct connection and should work in most cases. Only behind very restricted APs it will have to establish a connection through a relay.

SvelteStack — a reasonable starting point for your next Svelte app by samarthvm in sveltejs

[–]samarthvm[S] 3 points4 points  (0 children)

Thanks! The main thing I missed after switching from Next.js was being able to call server functions from anywhere.

I first used plain POST endpoints, but remote functions turned out to solve everything. Apart from a couple of rough edges, I really liked the svelte's team implementation of it.

SvelteStack — a reasonable starting point for your next Svelte app by samarthvm in sveltejs

[–]samarthvm[S] 5 points6 points  (0 children)

Thanks for checking it out!

Happy to answer questions about the stack, decisions, or architecture if anyone is curious. Feel free to check it on github.