fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

10K
active users

#gjs

1 post1 participant1 post today

Just got #GJS to work with #panrpc - that means I can now use a Go application (or heck, a node app!) as a "backend" for a GJS GTK/libadwaita app in #GNOME, and call the GJS functions from Go/NodeJS and Go/NodeJS functions from GJS. The plan here is to write a GJS frontend for #Multiplex, and connect it to the Go backend using either a UNIX socket or a WebSocket so that we can use Go's WebRTC and Torrent libraries for streaming, and GJS to get proper GStreamer and libadwaita support!

Is there a working Torrent client that I could get running with #GJS? I'm investigating a potential #panrpc port to GJS so that I can swap out Go & GTK4 with TypeScript & GTK4 (for easier GStreamer embedding), and while I might be able to get the panrpc transport layer working with GstWebRTC I don't know how I would get the torrent layer to work since WebTorrent isn't and most bindings depend Node

Continued thread

The objective is to make a working WASI implemention for GJS, so that complex extensions such as GSConnect can make use of languages like Rust to implement the underlying KDEConnect protocol.

This could also be used to run SQLite easily on a gjs/GTK application.

Well in reality this unlocks a thousand of possibilities and I can't list them all.

#gnome#gtk#gjs