https://github.com/tyrone-sudeium/submarine-returns-rs
https://github.com/tyrone-sudeium/submarine-returns-rs
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tyrone-sudeium/submarine-returns-rs
- Owner: tyrone-sudeium
- License: mit
- Created: 2024-01-10T03:35:28.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-04-03T07:33:48.000Z (7 months ago)
- Last Synced: 2025-04-03T08:31:04.463Z (7 months ago)
- Language: Rust
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Submarine Returns
Parses the SQLite DB from [Submarine Tracker](https://github.com/Infiziert90/SubmarineTracker) and:
- If invoked normally on the command line, spits out submarine return times
- If running with `--daemon`:
- Schedules a desktop notification on the local machine for each submarine's return time
- Schedules a push notification with the [Pushover Bridge](https://github.com/tyrone-sudeium/pushover-bridge/) specified at compile time
- Automatically watches the SQLite DB for changes and reschedules the above when it changes## Building
`PUSHOVER_BRIDGE_URL` and `PUSHOVER_BRIDGE_PSK` are required in the environment when building:
PUSHOVER_BRIDGE_URL="http://[server].[tailnet].ts.net:1414/message_queue.json" PUSHOVER_BRIDGE_PSK="[same psk you gave the bridge]" cargo build --release