Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
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

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