slash-done
Slash command to record completed tasks as WordPress posts
Prerequisites:
- A WordPress site running version 4.6+ and the JSON Basic Authentication plugin
- nginx or another proxy to front the app
Install:
npm install
- Copy
config-sample.json
toconfig.json
and update to your needs npm start
Usage:
- Make a POST request to
/log
with a JSON POST body that contains the keytext
with the item to record. For example:
curl -X "POST" "http://127.0.0.1:9001/log" \
-H "Content-Type: application/json; charset=utf-8" \
-d $'{
"text": "I did a thing"
}'