feat: publish dbussmsforward refactor

This commit is contained in:
2026-05-08 23:54:03 +08:00
commit 9f1ee9ffe6
77 changed files with 15585 additions and 0 deletions
+39
View File
@@ -0,0 +1,39 @@
{
"daemon": {
"mode": "forward",
"validate_on_startup": true,
"use_systemd": true,
"log_level": "INFO",
"host": "0.0.0.0",
"port": 8080
},
"forwarding": {
"device_name": "router-01",
"sms_code_key": "验证码±verification±code±认证±代码±随机码",
"ignore_storage_type": "sm",
"enable_sms_code_extraction": true,
"enabled_channels": ["autman_push"]
},
"notifications": {
"console": {
"enabled": false
},
"autman_push": {
"enabled": true,
"api_url": "https://autman.example/api/push",
"access_token": "REPLACE_ME",
"method": "POST"
}
},
"sms_source": {
"kind": "modemmanager",
"path": "",
"delete_after_read": false,
"poll_interval_seconds": 5,
"system_bus_address": "unix:path=/run/dbus/system_bus_socket",
"modemmanager_service": "org.freedesktop.ModemManager1",
"modem_object_path": "auto",
"storage_blacklist": ["sm"],
"state_ready_values": [3]
}
}