English | 简体中文
Chanify is a safe and simple notification tools. For developers, system administrators, and everyone can push notifications with API.
You can deploy your own server.
-
Install iOS App.
-
Get token from channel detail
-
Send message
-
You can create your channel
- GET
https://api.chanify.net/v1/sender/<token>/<message>
- POST
https://api.chanify.net/v1/sender/<token>
Content-Type:
text/plain: Body is text messagemultipart/form-data: The block of data("text") is text messageapplication/x-www-form-urlencoded:text=<url encoded text message>
Additional params
| Key | Description |
|---|---|
| title | The title for notification message. |
| sound | 1 enable sound, otherwise disable sound |
| priority | 10 default, or 5 |
E.g.
https://api.chanify.net/v1/sender/<token>?sound=1&priority=10&title=hello
# Send message
$ curl --form-string "text=hello" "https://api.chanify.net/v1/sender/<token>"
# Send text file
$ cat message.txt | curl -H "Content-Type: text/plain" --data-binary @- "https://api.chanify.net/v1/sender/<token>"
from urllib import request, parse
data = parse.urlencode({ 'text': 'hello' }).encode()
req = request.Request("https://api.chanify.net/v1/sender/<token>", data=data)
request.urlopen(req)
require 'net/http'
uri = URI('https://api.chanify.net/v1/sender/<token>')
res = Net::HTTP.post_form(uri, 'text' => 'hello')
puts res.body
const https = require('https')
const querystring = require('querystring');
const data = querystring.stringify({ text: 'hello' })
const options = {
hostname: 'api.chanify.net',
port: 443,
path: '/v1/sender/token',
method: 'POST',
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
'Content-Length': data.length
}
}
var req = https.request(options, (res) => {
res.on('data', (d) => {
process.stdout.write(d);
});
});
req.write(data);
req.end();
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => 'http://<address>:<port>/v1/sender/<token>',
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS => [ 'text' => 'hello' ],
]);
$response = curl_exec($curl);
curl_close($curl);
echo $response;
Requirements:
- Xcode
- protoc 36.2 (for the Objective-C code generated from
CHTP.proto)
Init project
$ open Chanify.xcworkspace
Test push in simulator
$ ./send.swift text=hello
Release notes, supported feature scope, and submission checklist: App Store release. Simulator push tests do not validate production APNs or distribution signing.
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Distributed under the MIT License. See LICENSE for more information.
Dependency versions, offline source packages, and build requirements: Dependencies.

