Skip to content

Instantly share code, notes, and snippets.

@melvincarvalho
Created February 7, 2016 20:07
Show Gist options
  • Select an option

  • Save melvincarvalho/7aefc07e4039fd60c494 to your computer and use it in GitHub Desktop.

Select an option

Save melvincarvalho/7aefc07e4039fd60c494 to your computer and use it in GitHub Desktop.
hook.json twtxt
{
"post_tweet_hook": "sleep 1 ; curl -H \"Content-Type: text/plain; charset=UTF-8\" --cert $CERT --key $CERT -X PUT --data-binary @/home/melvin/twtxt.txt https://melvin.databox.me/Public/twtxt/twtxt.txt",
"user": "melvincarvalho",
"twtfile": "/home/melvin/twtxt.txt",
"limit_timeline": "20",
"following": [
{
"user": "twtxt",
"uri": "https://buckket.org/twtxt_news.txt"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment