This is a unified message push service based on Cloudflare Workers, which can simply push messages in real time using an API.
apt install npm nodejs
npm install wrangler -g
wrangler init --from-dash uninotify
Navigate to the new directory cd uninotify
Run the development server npm run start
Deploy your application npm run deploy
Read the documentation https://developers.cloudflare.com/workers Stuck? Join us at https://discord.gg/cloudflaredev
### notify service
POST https://notify.waynecommand.com/wechat
Content-Type: application/json
Authorization: Bearer apikey
{
"platform": "", # default use iyuu
"apiToken": "", # default use env
"title": "这是一个新消息",
"content": "这是消息内容"
}
curl -X POST --location "https://notify.waynecommand.com/wechat" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer apikey" \
-d "{
\"platform\": \"\",
\"apiToken\": \"\",
\"title\": \"this is a new notify\"
}"
- Add more platforms