nandi/oripublic Fork 0
76d62ac0da1600e1c208017584c3fa22e54feaa3
Commits
Clone
git clone https://git.rickub.com/nandi/ori.git
git clone ssh://git@rickub.com/nandi/ori.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

forked from bots-garden/ori

0005-create-a-native-ui-to-connect-the-webapp.yaml · 39 lines · 1.8 KBYAML Blame HistoryRaw
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Managed by IssueSpec. Hand edits are welcome; keep the schema valid.
id: 5
title: Create a "native" UI to connect the webapp
state: open
author:
  name: k33g
  email: ph.charriere@gmail.com
createdAt: 2026-09-17T19:19:43.179Z
updatedAt: 2026-09-17T22:23:39.000Z
labels: []
body: |
  Desktop shell for the ori webapp, built with Wails v2 (Go + platform webview), living in
  `ori-desktop/` as its own Go module (`rickub.com/bots-garden/ori-desktop`).

  Behaviour: a connection screen asks for the ori server URL (default http://localhost:8888,
  remembered in `<user config dir>/ori-desktop/settings.json`), a Go-bound method checks
  `GET /healthz`, then the ori SPA is shown inside the window in an iframe (Wails v2 cannot
  navigate its main webview to an external URL; `runtime.BrowserOpenURL` is offered as fallback).

  Docs: `ori-desktop/README.md` (EN) and `ori-desktop/README.fr.md` (FR).
  Root Makefile targets: `make desktop` (wails build), `make desktop-test` (pure-Go tests).
tasks:
  - text: Own Go module with Wails v2.16 layout (main.go, app.go, wails.json, frontend/, build/)
    done: true
  - text: Bound Go methods GetConfig / SaveConfig / CheckHealth / Connect / OpenInBrowser / SettingsPath
    done: true
  - text: Settings persisted as JSON in the user config dir, with unit tests
    done: true
  - text: /healthz probe with unit tests against httptest
    done: true
  - text: Plain HTML/CSS/JS frontend embedding ori in an iframe with a thin native bar
    done: true
  - text: README (EN) + README.fr (FR), root Makefile targets, .gitignore entries
    done: true
  - text: Verified go test / go vet and a Windows cross-build (wails build -platform windows/amd64)
    done: true
  - text: Launch the window on a machine with the GUI toolchain (webkit2gtk / Xcode / WebView2) and confirm the iframe embed
    done: false
comments: []