mirror of https://github.com/ospab/ostp.git
The plan's share feature for the (single-config) desktop GUI. The QR is rendered locally so the access key never leaves the device. - src-tauri: add `qrcode = "0.14"` (features=["svg"]) + `generate_qr` command (string -> SVG), registered in the invoke handler. Ported from the current ostp-gui. (cargo check on src-tauri passes.) - Frontend: "Share" button next to Import builds `ostp://KEY@HOST?sni&type` from the current config fields, calls generate_qr, and shows a modal with the QR + a read-only link + Copy. Added i18n keys (en/ru) so the new data-i18n labels resolve (missing keys would render as the raw key). Note: Rust side verified via cargo check; the frontend is syntax-checked (node --check) but not runtime-verified — needs a Tauri build to confirm visually. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| src-tauri | ||
| .gitignore | ||
| README.md | ||
| build_dist.js | ||
| package-lock.json | ||
| package.json | ||
README.md
Tauri + Vanilla
This template should help get you started developing with Tauri in vanilla HTML, CSS and Javascript.