Script to automatically update A DNS entry on Cloudflare
curl
and jq
must be installed.
version: "3" | |
services: | |
gluetun: | |
image: qmcgaw/gluetun | |
container_name: gluetun | |
cap_add: | |
- NET_ADMIN | |
environment: | |
- VPN_SERVICE_PROVIDER=mullvad | |
- VPN_TYPE=wireguard |
#!/usr/bin/env bash | |
# You must have cifs-tools installed | |
set -e | |
# Set variables here | |
SERVER_HOSTNAME="serverhostnamehere" | |
USERNAME="usernamehere" |
import json | |
accounts = [] | |
print("Reading exported JSON...") | |
with open("bitwarden-export.json", "r", encoding="utf8") as export_file: | |
vault = json.load(export_file) | |
vault = vault["items"] | |
for item in vault: |