Discussion
Loading...

#Tag

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Rob Whittaker boosted
Kerrick Long (code)
Kerrick Long (code)
@kerrick@ruby.social  ·  activity timestamp last week

Is that Tauri, running a Roda app locally as a desktop app without exposing it to TCP?

Almost! It's my experimental Ruby port of Tauri... Tokra!

Write desktop software in Ruby, with an HTML and CSS interface. You can use JS frameworks, too. Plus: it's Rack-compatible!

Rubygem: https://rubygems.org/gems/tokra
Code: https://git.sr.ht/~kerrick/tokra/tree/stable/item/examples/verify_ping_pong/app.rb

#ruby #rust #tauri #tokra #desktop #software #programming #gui #webdev #html #css #javascript #FreeSoftware #OpenSource #PreRelease #PreAlpha #SeriouslyNotFinished

An application called "Tokra Ping-Pong" shows a Verification Test. The message from ruby says: "Who helped the Tau'ri fight the system lords?" This message matches the command line argument the ruby app was launched with. The form beneath that question has "The Tok'ra!" filled in, and three buttons: Send IPC, Submit form, and POST to API. Success messages are visible.

In the terminal behind the native app web view, the ruby command used to launch the app is visible, along with its debug output. You can see that each button has been clicked, with three different answers: "The Tok'ra!" was sent via IPC, "Bra'tac" was sent via form, and "The Asgard" was sent via the API. You can also see that the application is a Roda app.
An application called "Tokra Ping-Pong" shows a Verification Test. The message from ruby says: "Who helped the Tau'ri fight the system lords?" This message matches the command line argument the ruby app was launched with. The form beneath that question has "The Tok'ra!" filled in, and three buttons: Send IPC, Submit form, and POST to API. Success messages are visible. In the terminal behind the native app web view, the ruby command used to launch the app is visible, along with its debug output. You can see that each button has been clicked, with three different answers: "The Tok'ra!" was sent via IPC, "Bra'tac" was sent via form, and "The Asgard" was sent via the API. You can also see that the application is a Roda app.
An application called "Tokra Ping-Pong" shows a Verification Test. The message from ruby says: "Who helped the Tau'ri fight the system lords?" This message matches the command line argument the ruby app was launched with. The form beneath that question has "The Tok'ra!" filled in, and three buttons: Send IPC, Submit form, and POST to API. Success messages are visible. In the terminal behind the native app web view, the ruby command used to launch the app is visible, along with its debug output. You can see that each button has been clicked, with three different answers: "The Tok'ra!" was sent via IPC, "Bra'tac" was sent via form, and "The Asgard" was sent via the API. You can also see that the application is a Roda app.

~kerrick/tokra (stable): examples/verify_ping_pong/app.rb - sourcehut git

tokra | RubyGems.org | your community gem host

  • Copy link
  • Flag this post
  • Block
Kerrick Long (code)
Kerrick Long (code)
@kerrick@ruby.social  ·  activity timestamp last week

Is that Tauri, running a Roda app locally as a desktop app without exposing it to TCP?

Almost! It's my experimental Ruby port of Tauri... Tokra!

Write desktop software in Ruby, with an HTML and CSS interface. You can use JS frameworks, too. Plus: it's Rack-compatible!

Rubygem: https://rubygems.org/gems/tokra
Code: https://git.sr.ht/~kerrick/tokra/tree/stable/item/examples/verify_ping_pong/app.rb

#ruby #rust #tauri #tokra #desktop #software #programming #gui #webdev #html #css #javascript #FreeSoftware #OpenSource #PreRelease #PreAlpha #SeriouslyNotFinished

An application called "Tokra Ping-Pong" shows a Verification Test. The message from ruby says: "Who helped the Tau'ri fight the system lords?" This message matches the command line argument the ruby app was launched with. The form beneath that question has "The Tok'ra!" filled in, and three buttons: Send IPC, Submit form, and POST to API. Success messages are visible.

In the terminal behind the native app web view, the ruby command used to launch the app is visible, along with its debug output. You can see that each button has been clicked, with three different answers: "The Tok'ra!" was sent via IPC, "Bra'tac" was sent via form, and "The Asgard" was sent via the API. You can also see that the application is a Roda app.
An application called "Tokra Ping-Pong" shows a Verification Test. The message from ruby says: "Who helped the Tau'ri fight the system lords?" This message matches the command line argument the ruby app was launched with. The form beneath that question has "The Tok'ra!" filled in, and three buttons: Send IPC, Submit form, and POST to API. Success messages are visible. In the terminal behind the native app web view, the ruby command used to launch the app is visible, along with its debug output. You can see that each button has been clicked, with three different answers: "The Tok'ra!" was sent via IPC, "Bra'tac" was sent via form, and "The Asgard" was sent via the API. You can also see that the application is a Roda app.
An application called "Tokra Ping-Pong" shows a Verification Test. The message from ruby says: "Who helped the Tau'ri fight the system lords?" This message matches the command line argument the ruby app was launched with. The form beneath that question has "The Tok'ra!" filled in, and three buttons: Send IPC, Submit form, and POST to API. Success messages are visible. In the terminal behind the native app web view, the ruby command used to launch the app is visible, along with its debug output. You can see that each button has been clicked, with three different answers: "The Tok'ra!" was sent via IPC, "Bra'tac" was sent via form, and "The Asgard" was sent via the API. You can also see that the application is a Roda app.

~kerrick/tokra (stable): examples/verify_ping_pong/app.rb - sourcehut git

tokra | RubyGems.org | your community gem host

  • Copy link
  • Flag this post
  • Block
Dr. Juande Santander-Vela
Dr. Juande Santander-Vela
@juandesant@mathstodon.xyz  ·  activity timestamp 2 months ago

Today I Learned about Tauri [1], a framework similar to Electron but instead of spinning up its own Chromium-based browser instance, it uses the system’s available web renderer through the WRY library [2].

Hat tip to @jbz for linking to this comparison between Electron and Tauri [3] from someone trying to migrate an existing app (Dolt Workbench) [4] to Tauri.

[1]: https://v2.tauri.app/
[2]: https://crates.io/crates/wry/0.33.0
[3]: https://www.dolthub.com/blog/2025-11-13-electron-vs-tauri/
[4]: https://github.com/dolthub/dolt-workbench/?tab=readme-ov-file

#TIL #TodayILearned #Tauri #WRY

  • Copy link
  • Flag this post
  • Block
🫧 socialcoding.. boosted
cmars
cmars
@cmars@infosec.exchange  ·  activity timestamp 7 months ago

This weekend wraps a replatforming of the #stigmerge CLI onto a high level #filesharing API. A necessary step towards a #Transmission like interface. Experimenting with #tauri now.

A few bug fixes happened as well :)

https://github.com/cmars/stigmerge/releases/tag/stigmerge-v0.5.7

Need to fix #rust docs.rs, they're not building yet 🤦

#veilid #p2p

  • Copy link
  • Flag this post
  • Block
cmars
cmars
@cmars@infosec.exchange  ·  activity timestamp 7 months ago

This weekend wraps a replatforming of the #stigmerge CLI onto a high level #filesharing API. A necessary step towards a #Transmission like interface. Experimenting with #tauri now.

A few bug fixes happened as well :)

https://github.com/cmars/stigmerge/releases/tag/stigmerge-v0.5.7

Need to fix #rust docs.rs, they're not building yet 🤦

#veilid #p2p

  • Copy link
  • Flag this post
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.2-alpha.7 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct