Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

#TwitNotify

About this

The Twitter Notification tool.
Written in D.
Using my Twitter API wrapper Twitter4D

Support

  • Linux with libnotify
  • OSX Yosemite with terminal-notifier

How to use

  1. Clone this repository
    $ git clone https://github.com/alphaKAI/twitnotify.git
  2. Change current directory
    $ cd twitnotify
  3. Exec build.d with rdmd
    $ rdmd build.d
  4. Configure your consumer & access tokens
    $ (any editor) setting.json
  5. Exec TwitNotify binary
    $ dub or $ ./twitnotify

Single Account Mode

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"
}

MultiAccount Support

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"
    }
  }
}

Requirements

  • dmd(v2.067)
  • rdmd
  • dub

If you want to use on Linux

If you want to use on OSX

Disclaimer

unstable

LICENSE

The MIT License
Copyright (C) 2014 - 2015 alphaKAI http://alpha-kai-net.info

Author

alphaKAI
Twitter:@alpha_kai_NET

About

The Twitter Notification tool. Written in D.

Resources

License

Packages

No packages published

Languages