emit discord webhook when mullvad close to expiry
.gitignore | ||
CLAUDE.md | ||
mullvad_check.py | ||
README.md | ||
requirements.txt |
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