Skip to content

Commit ce5a24a

Browse files
hyperpolymathclaude
andcommitted
feat(tray): replace Tauri with Gossamer — gossamer-rs backend
Removed src-tauri/ entirely. New Rust backend uses gossamer-rs (Gossamer's own bindings) with the same 7 IPC commands: get_server_status, get/set_resource_prefs, get_cartridges, add_cartridge_source, toggle_cartridge, restart_server. Frontend unchanged — gossamer-bridge.js already supported dual-runtime detection. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 76ae3e9 commit ce5a24a

15 files changed

Lines changed: 362 additions & 408 deletions

File tree

tray/Cargo.toml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# SPDX-License-Identifier: MPL-2.0
2+
# (PMPL-1.0-or-later preferred; MPL-2.0 required for boj-server ecosystem)
3+
#
4+
# Cargo manifest for the BoJ Node Operator tray application.
5+
# Uses gossamer-rs (Gossamer webview shell) instead of Tauri.
6+
7+
[package]
8+
name = "boj-tray"
9+
version = "0.2.0"
10+
edition = "2021"
11+
description = "System tray app for BoJ server — Gossamer webview shell"
12+
authors = ["Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>"]
13+
license = "MPL-2.0"
14+
15+
[[bin]]
16+
name = "boj-tray"
17+
path = "src/main.rs"
18+
19+
[dependencies]
20+
gossamer-rs = { path = "../../gossamer/bindings/rust" }
21+
serde = { version = "1", features = ["derive"] }
22+
serde_json = "1"
23+
reqwest = { version = "0.12", features = ["json", "rustls-tls", "blocking"], default-features = false }
24+
tokio = { version = "1", features = ["rt-multi-thread", "macros"] }
25+
dirs = "5"

tray/gossamer.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://gossamer.dev/schemas/config/v1",
33
"productName": "BoJ Node",
4-
"version": "0.1.0",
4+
"version": "0.2.0",
55
"identifier": "dev.hyperpolymath.boj-node",
66
"build": {
77
"frontendDist": "./src",

tray/src-tauri/Cargo.toml

Lines changed: 0 additions & 24 deletions
This file was deleted.

tray/src-tauri/build.rs

Lines changed: 0 additions & 4 deletions
This file was deleted.

tray/src-tauri/icons/128x128.png

-360 Bytes
Binary file not shown.

tray/src-tauri/icons/32x32.png

-104 Bytes
Binary file not shown.

tray/src-tauri/icons/icon.png

-857 Bytes
Binary file not shown.

tray/src-tauri/icons/tray-icon.png

-104 Bytes
Binary file not shown.

tray/src-tauri/src/lib.rs

Lines changed: 0 additions & 128 deletions
This file was deleted.

tray/src-tauri/src/main.rs

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)