Skip to content

WayneCommand/uninotify

Repository files navigation

Uninotify

This is a unified message push service based on Cloudflare Workers, which can simply push messages in real time using an API.

Cloudflare

init

apt install npm nodejs

npm install wrangler -g

wrangler init --from-dash uninotify

next

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

Client

JetBrains Http Tool

### 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

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\"
        }"

Roadmap

  • Add more platforms