Email or username:

Password:

Forgot your password?
4 posts total
Jeff Martin

I ended up taking into a dive into the state of #Rust on the web this morning. Looks like lots of progress has been made since the last time I checked!

You can call browser APIs from Rust now thanks to efforts like wasm-bindgen and web-sys. It looks a bit clunky, but it's effective. And I wonder about the wasm->jsvm->native pipeline (and back) and its effect on performance. Seems like that jsvm layer doesn't need to be there, but we haven't gotten rid of it just yet.

So if you want to make a regular front-end web app in Rust? Go nuts, it'll probably work well enough. And things like Yew and Trunk even make it rather nice in DX terms.

But for my own projects mostly building privacy-respecting-apps-as-browser-extensions, it looks like Rust isn't quite ready yet, but it's close. The key missing piece seems to be access to browser extension APIs. There's a web-extensions-sys project, but it's only targeting manifest V3 for some reason, which means FireFox support is completely out.

Although I'd love to switch my front-end work to use Rust, looks like I'm stuck with javascript (and jsdoc) for now.

I ended up taking into a dive into the state of #Rust on the web this morning. Looks like lots of progress has been made since the last time I checked!

You can call browser APIs from Rust now thanks to efforts like wasm-bindgen and web-sys. It looks a bit clunky, but it's effective. And I wonder about the wasm->jsvm->native pipeline (and back) and its effect on performance. Seems like that jsvm layer doesn't need to be there, but we haven't gotten rid of it just yet.

silverpill

@cuchaz Apparently web-extensions-sys provides partial support for Firefox but it's hidden behind firefox feature

https://github.com/web-extensions-rs/web-extensions-sys/pull/40/files

Jeff Martin

Elephant help me, I'm actually releasing this thing! :toot: Folks, I present to you:

✨ End-to-end Encryption for Mastodon DMs ✨

#E2EE #Mastodon

codeberg.org/cuchazinteractive

It's far from perfect (Far), but it's a start. I have no idea how people release mods for Mastodon because I've never seen one before. Forks, sure, but not mods. So I made something up. You can read all about it at the link above.

For now, I'm supporting Mastodon v4.0.2 and the Firefox browser. There's a browser extension in there, so browser support is tricky. It's a whole thing. I'm starting simple at first. Walk before you can run and all that, right?

Anyway, try it out. If you want. Or not, no judgement. But if you do, tell me how it went, will ya? I'm curious.

Maybe try it on a testing instance first though. I should probably set one of those up actually.

And If you try it out and run into trouble, send toots! :blobcatboophappy: I'll help out.

Elephant help me, I'm actually releasing this thing! :toot: Folks, I present to you:

✨ End-to-end Encryption for Mastodon DMs ✨

#E2EE #Mastodon

codeberg.org/cuchazinteractive

It's far from perfect (Far), but it's a start. I have no idea how people release mods for Mastodon because I've never seen one before. Forks, sure, but not mods. So I made something up. You can read all about it at the link above.

Show previous comments
silverpill

@cuchaz How do you distribute public keys to other servers? I wrote a Fediverse Enhancement Proposal that attempts to standardize this: https://codeberg.org/fediverse/fep/src/branch/main/feps/fep-c390.md. There are several use cases (beyond E2EE) where this is needed, so having a standard mechanism for distributing keys is important. I'd appreciate your feedback.

Also, burger ID looks very interesting! Finally, a key manager extension that is not tied to any cryptocurrency.

Jeff Martin

I spent WAAAAAY too much time making this.

Jeff Martin

Lol, so apparently some smartphone makers just let you scale the screen image down to whatever size you want.

samsung.com/au/support/mobile-

h/t to @ticktok

Seems awkward, but I guess that could work. Except you still somehow have to manage to hold on to the massive thing with one hand.

I must be in the minority of people that doesn't want to use their phone as a home theater.

Go Up