Checks public WAN IP every 5 minutes via systemd timer. On change: - Updates A-records via DirectAdmin API (login key auth) - Sends WhatsApp notification via wwebjs-api
30 lines
703 B
JSON
30 lines
703 B
JSON
{
|
|
"name": "wan-ip-guard",
|
|
"version": "1.0.0",
|
|
"lockfileVersion": 3,
|
|
"requires": true,
|
|
"packages": {
|
|
"": {
|
|
"name": "wan-ip-guard",
|
|
"version": "1.0.0",
|
|
"dependencies": {
|
|
"dotenv": "^16.4.5"
|
|
},
|
|
"engines": {
|
|
"node": ">=18"
|
|
}
|
|
},
|
|
"node_modules/dotenv": {
|
|
"version": "16.6.1",
|
|
"resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.6.1.tgz",
|
|
"integrity": "sha512-uBq4egWHTcTt33a72vpSG0z3HnPuIl6NqYcTrKEg2azoEyl2hpW0zqlxysq2pK9HlDIHyHyakeYaYnSAwd8bow==",
|
|
"license": "BSD-2-Clause",
|
|
"engines": {
|
|
"node": ">=12"
|
|
},
|
|
"funding": {
|
|
"url": "https://dotenvx.com"
|
|
}
|
|
}
|
|
}
|
|
}
|