新增:社区项目区域、中英文社区项目文档 更新:中英文API文档

This commit is contained in:
hhhkkk520
2022-06-10 03:02:57 +02:00
parent 4f24896b15
commit d42c607e65
13 changed files with 118 additions and 11 deletions
+8
View File
@@ -0,0 +1,8 @@
# Build your own Telegram bot to query server information
Contributors:
+ [spiritLHLS](https://github.com/spiritLHLS)
+ [Erope](https://github.com/Erope/)
Project: [nezha_api_tgbot](https://github.com/spiritLHLS/nezha_api_tgbot) (Chinese)
The bot can request server status information from the Dashboard through the API, and then send the information to the user.
You can build this bot to easily view the current status of a given server without opening the Dashboard.
+21
View File
@@ -0,0 +1,21 @@
# Use Siri to run shortcut to check server status in iOS/MacOS
Current VersionV1.0 (Chinese)
Contributor:
+ 白歌 [hhhkkk520](https://github.com/hhhkkk520)
## Get shortcut command
Scan the following QR code with your iPhone or iPad to get the shortcut
<br/>
![coode](/images/case2/qrcode.png)
<br/>
MacOS users please visit [here](https://www.icloud.com/shortcuts/312005bf5ffd4387ac92a84056db9f09) to get the shortcut
## How to use
+ After getting the shortcut, open and edit the shortcut
+ Fill in `Dashboard URL`, `API Token`, `Server ID` in the three text boxes
+ Save the edit and test run, if you can get the result, the setting is correct.
+ Modify the name of the shortcut, such as: Server Status, then you can use Siri command: "Hey Siri, Server Status" to get the server status.
::: warning
Each shortcut can only monitor one server, if you need to monitor more than one server, please copy this shortcut several times and configure them separately, then modify the shortcut name separately, such as; Server 1 Status, Server 2 Status, etc.
:::
+14
View File
@@ -0,0 +1,14 @@
---
home: true
heroImage: https://raw.githubusercontent.com/naiba/nezha/master/resource/static/brand.svg
heroText: Nezha Monitoring Community Project
tagline: Related projects contributed by Nezha Monitoring community, provide more extensions for Nezha Monitoring
actionText: Learn More →
actionLink: /en_US/case/case1
features:
- title: Submit a project
details: We welcome you to submit your own projects, please join the Telegram group and contact the administrator for more information
- title: Important Notes
details: All projects are contributed by community members. Please be aware that Nezha monitoring team cannot be held responsible for community projects including and not limited to warranty, availability, security, etc.
---
<br/>This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License</a>.
-5
View File
@@ -148,8 +148,3 @@ JSON Return Example:
]
}
```
## Case - Build your own Telegram bot to query server information
Refer to [Community Project](https://github.com/spiritLHLS/nezha_api_tgbot) (Chinese)
The bot can request server status information from the Dashboard through the API, and then send the information to the user.
You can build this bot to easily view the current status of a given server without opening the Dashboard.