emit discord webhook when mullvad close to expiry
Find a file
2025-07-22 00:35:56 -03:00
.gitignore initial commit 2025-07-21 18:59:54 -03:00
CLAUDE.md add CLAUDE.md 2025-07-22 00:35:56 -03:00
mullvad_check.py initial commit 2025-07-21 18:59:54 -03:00
README.md add README.md 2025-07-21 19:02:54 -03:00
requirements.txt add requirements.txt 2025-07-21 19:03:10 -03:00

mullvad_check

check if mullvad is close to expiry and emit a discord webhook if so

git clone ... && cd ...
python3 -m venv env
env/bin/pip install -Ur requirements.txt

export MULLVAD_ACCOUNT_NUMBER=...
export MULLVAD_WARNING_DAYS=5 # or 30
export DISCORD_WEBHOOK_URL=https://discord.com/...

# run this hourly, daily, whatever idc!
# it stores data on cwd mullvad_cache.json so make sure cwd is writeable
env/bin/python3 ./mullvad_check.py