#TwitNotify
The Twitter Notification tool.
Written in D.
Using my Twitter API wrapper Twitter4D
- Linux with libnotify
- OSX Yosemite with terminal-notifier
- Clone this repository
$ git clone https://github.com/alphaKAI/twitnotify.git
- Change current directory
$ cd twitnotify
- Exec build.d with rdmd
$ rdmd build.d
- Configure your consumer & access tokens
$ (any editor) setting.json
- Exec TwitNotify binary
$ dub
or$ ./twitnotify
If you use twitnotify as singleAccount mode, you must configure your setting.json as bellow.
//setting.json
{
"consumerKey" : "Your consumerKey",
"consumerSecret" : "Your consumerSecret",
"accessToken" : "Your accessToken",
"accessTokenSecret" : "Your accessTokenSecret"
}
You can use twitnotify for your some accounts.
If you use twitnotify as multiaccount mode, you must configure your setting.json as bellow.
//setting.json
{
"accounts":{
"Your Account 1" : {
"consumerKey" : "Your consumerKey",
"consumerSecret" : "Your consumerSecret",
"accessToken" : "accessToken for Account 1",
"accessTokenSecret" : "accessTokenSecret for Account 1"
},
"Your Account 2" : {
"consumerKey" : "Your consumerKey",
"consumerSecret" : "Your consumerSecret",
"accessToken" : "accessToken for Account 2",
"accessTokenSecret" : "accessTokenSecret for Account 2"
}
}
}
- dmd(v2.067)
- rdmd
- dub
unstable
The MIT License
Copyright (C) 2014 - 2015 alphaKAI http://alpha-kai-net.info
alphaKAI
Twitter:@alpha_kai_NET