Skip to content

Commit

Permalink
docs: more webhook config (jeessy2#544)
Browse files Browse the repository at this point in the history
* docs: copy the issues with documentation labels to docs

* docs: fix fwalert wrong photo link

* docs: remove docs folder and add issues to README.md

* docs: remove typesetting changes

* docs: forgot to remove document

* docs: remove useless lines

* docs: more webhook config

---------

Co-authored-by: jeessy2 <6205259+jeessy2@users.noreply.github.com>
  • Loading branch information
WaterLemons2k and jeessy2 authored Feb 11, 2023
1 parent 172ffc1 commit 318eccc
Showing 1 changed file with 13 additions and 17 deletions.
30 changes: 13 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,14 @@

自动获得你的公网 IPv4 或 IPv6 地址,并解析到对应的域名服务。

<!-- TOC -->

- [ddns-go](#ddns-go)
- [特性](#特性)
- [系统中使用](#系统中使用)
- [Docker中使用](#docker中使用)
- [使用IPv6](#使用ipv6)
- [Webhook](#webhook)
- [Callback](#callback)
- [界面](#界面)
- [开发&自行编译](#开发自行编译)

<!-- /TOC -->
- [特性](#特性)
- [系统中使用](#系统中使用)
- [Docker中使用](#docker中使用)
- [使用IPv6](#使用ipv6)
- [Webhook](#webhook)
- [Callback](#callback)
- [界面](#界面)
- [开发&自行编译](#开发自行编译)

## 特性

Expand All @@ -38,16 +33,15 @@
## 系统中使用

- 下载并解压[https://github.com/jeessy2/ddns-go/releases](https://github.com/jeessy2/ddns-go/releases)
- 双击运行, 如没有找到配置, 程序自动打开[http://127.0.0.1:9876](http://127.0.0.1:9876)
- [Releases](https://github.com/jeessy2/ddns-go/releases) 下载并解压 ddns-go
- 双击运行, 如没有找到配置, 程序将自动打开 http://127.0.0.1:9876
- [可选] 安装服务
- Mac/Linux: `sudo ./ddns-go -s install`
- Win(以管理员打开cmd): `.\ddns-go.exe -s install`
- 安装服务也支持 `-l`监听地址 `-f`同步间隔时间(秒) `-c`自定义配置文件路径 `-noweb`不启动web服务 `-skipVerify`跳过证书验证
- [可选] 服务卸载
- Mac/Linux: `sudo ./ddns-go -s uninstall`
- Win(以管理员打开cmd): `.\ddns-go.exe -s uninstall`
- [可选] 支持启动带参数 `-l`监听地址 `-f`同步间隔时间(秒) `-c`自定义配置文件路径 `-noweb`不启动web服务 `-skipVerify`跳过证书验证。如:`./ddns-go -l :9877 -f 600 -c /Users/name/ddns-go.yaml`
- [可选] 支持安装或启动时带参数 `-l`监听地址 `-f`同步间隔时间(秒) `-c`自定义配置文件路径 `-noweb`不启动web服务 `-skipVerify`跳过证书验证。如:`./ddns-go -l :9877 -f 600 -c /Users/name/ddns-go.yaml`

## Docker中使用

Expand Down Expand Up @@ -120,6 +114,8 @@
- URL中输入Discord复制的 `Webhook网址`
- RequestBody中输入 `{"content":"域名 #{ipv4Domains} 动态解析 #{ipv4Result}.","embeds":[{"description":"#{ipv4Domains} 的动态解析 #{ipv4Result}, IP: #{ipv4Addr}","color":15258703,"author":{"name":"DDNS"},"footer":{"text":"DDNS #{ipv4Result}"}}]}`

- [查看更多Webhook配置参考](https://github.com/jeessy2/ddns-go/issues/327)

## Callback

- 通过自定义回调可支持更多的第三方DNS服务商
Expand Down

0 comments on commit 318eccc

Please sign in to comment.