Easily send notifications to your phone via HTTP
Docker compose is the quickest way to get the server up and running. This will launch the server on http://localhost:8000.
docker run -p 8000:80 damianmoore/skylark-server:latest
If you want to help contribute or just want to avoid Docker then you can clone the repo, make a virtual environment, install requirements and run the Django runserver. It will be listening on http://localhost:8000.
git clone https://github.com/damianmoore/skylark-server.git
pipenv install
pipenv shell
./manage.py runserver
The latest Android release is available to download from Google Play Store.
You are welcome to clone and build the Android app project for yourself.
Once you have the app installed you will need to connect it to the address of an instance of the server you have running (see above).
Help would be much appreciated if you have iOS experience. We also aim to have a desktop, browser-based notification implementation.
Notification can be sent via HTTP POST or GET with data transported as JSON, POST data or URL encoding. Here are a couple of examples.
import requests
requests.post('http://localhost:8000/webhook/', params={
'title': 'Notification from Python',
'body': 'Sent with the requests library',
'color': '#3776ab',
'icon': 'https://www.python.org/static/opengraph-icon-200x200.png',
})
curl -X POST \
-H "Content-Type: application/json" \
-d '{"title": "Notification from cURL", "body": "Hello, World!", "color": "#ff9500", "icon": "http://i.imgur.com/7Ih60Gu.png"}' \
http://localhost:8000/webhook/