moxin-org / moxin

Moxin: an AI LLM platform in pure Rust
https://www.moxin.app
Apache License 2.0
122 stars 17 forks source link

Use `robius-url-handler` to handle incoming URLs with scheme `moxin://` #124

Closed kevinaboos closed 1 month ago

kevinaboos commented 1 month ago

Tested working on Debian-like Linux and macOS.

Note that this functionality will only work for properly packaged application bundles (i.e., using cargo-packager) that have been installed on your system, e.g., using sudo dpkg -i on Linux or installing the app bundle via the moxin-*.dmg disk image on macOS.

On Linux, the handled URLs are appended to the file /tmp/moxin_incoming_url.txt. On macOS, that file is located at $TMPDIR/moxin_incoming_url.txt.