https://github.com/rmdes/bluesky-invite-notifier
Get a ntfy.sh notification when you get a Bluesky Invite
https://github.com/rmdes/bluesky-invite-notifier
bluesky bluesky-api
Last synced: about 2 months ago
JSON representation
Get a ntfy.sh notification when you get a Bluesky Invite
- Host: GitHub
- URL: https://github.com/rmdes/bluesky-invite-notifier
- Owner: rmdes
- License: mit
- Created: 2023-09-06T19:30:19.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-09T17:42:58.000Z (over 2 years ago)
- Last Synced: 2025-02-15T05:44:16.402Z (over 1 year ago)
- Topics: bluesky, bluesky-api
- Language: Python
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Bluesky-Invite-notifier
Get a ntfy.sh notification when you get a Bluesky Invite
## Dependency
pip install python-dotenv
## How to use
- cp env.smaple .env
- cp accounts.json-sample accounts.json
- fill your handle and password (app password can't see invites codes now)
- create a ntfy.sh topic (the script does not handle auth to ntfy.sh, so pick a random name for the topic, think of it as a password)
- adapt .env with your topic and ntfy.sh server
- Install ntfy.sh mobile app and subscribe to the topic to get notifications on your phone
- `python3 scanBlueInvites.py`
## Optional : run a cron job every hours & almost forget :)
- chmod +x scanBlueInvites.py
- crontab -e
- copy this line and adapt to your script path
`0 * * * * cd /home/scripts/invites-notifier && /usr/bin/python3 scanBlueInvites.py >> cron.log 2>&1
`
## Credit
[mwyann.fr](https://github.com/Mwyann/)