Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kognise/stalker
A thing that watches everything everything I do. Currently deactivated because it makes less sense now that I have a job.
https://github.com/kognise/stalker
Last synced: 19 days ago
JSON representation
A thing that watches everything everything I do. Currently deactivated because it makes less sense now that I have a job.
- Host: GitHub
- URL: https://github.com/kognise/stalker
- Owner: kognise
- License: mit
- Created: 2022-04-27T20:31:18.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-05-10T18:51:18.000Z (over 2 years ago)
- Last Synced: 2024-10-14T12:20:01.602Z (about 1 month ago)
- Language: TypeScript
- Homepage:
- Size: 222 KB
- Stars: 72
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Stalker 😌
You know that thing on my website that shows what I'm doing? Well, it used to be manually updated, but that got boring.
Now I have a complex system of janky programs that culminate in a bunch of if-then statements that generate that status! It even updates my Slack. I'm unstoppable.
## API
Consumable at and deployed on the glorious [Fly.io](https://fly.io/).
**Public endpoints:**
- `/` - Get current activity and now playing song
- `/history` - Get full activity history
- `/dash` - Access web dashboard (only I can update statuses)**Kognise-only endpoints:**
- `/manual` - Manually update status
- `/manual/clear` - Clear manual status
- `/ping/:key` - Signify activity for a device class
- `/list/:key/:sourceDevice` - Update browser tabs or running apps
- `/zoom` - Zoom webhook updates## Other
Compile StalkerMini (mobile app) to an APK with Gradle, I just used Android Studio.
Stalkerd (desktop daemon) needs a `.password` file to compile, which Rust embeds in the binary. Don't share the binary! I made this technical decision because I'm lazy.
The browser extension is quite cursed. If it doesn't work, you'll have to open the dev console; the error message should explain how to set the password.
Stalkerd is not cross-platform yet, only supports macOS.
## Todo
- Some way to let me know if something is breaking on the backend
- Figure out why StalkerMini sometimes gets yeeted by the system
- Maybe switch to Spotify API for now playing
- Improve code quality (lmao as if)