clitter -- ChangeLog -> Twitter message sender

Appeared: 2007/07/29
Author: Ayukawa Hiroshi <ayukawa.hiroshi@gmail.com>
Status: alpha

What's this?

This is a tiny script to post message to Twitter from ChangeLog file.

If you are Unix, Linux and Mac OSX user and using ChangeLog for your daily logging, this script clitter can help you to post those ChangeLog comments to Twitter.

Just starting this script from your terminal speciying the userid & passwd and ChangeLog file names, everything goes automatically.

How to use.

(clitter will be installed to your python's bin directory. See if PATH envirinment variable contains the directory.)
$ clitter --help
Usage: 
   clitter [options...]  changelog_file_name1 [changelog_file_name2 ...]
   
   Post cahngelog file's new item to twitter.

Options:
  -h, --help            show this help message and exit
  -l USER, --login-id=USER
                        login id of twitter
  -p PASSWD, --passwd=PASSWD
                        login password
  -w WAITING, --wait=WAITING
                        chack range[sec]
  -s, --show-fname      show filename column.
$ clitter -l ayukawa.hiroshi@gmail.com -p **** ~/Documents/diary.txt &

Download

clitter-0.1.1.tar.gz
Installing also requires python-twitter installed in advance.

Install

(Install python-twitter in advance.)
$ tar zxvf clitter-0.1.tar.gz
$ cd clitter-0.1
$ sudo python setup.py install

How it works.

When clitter started, it scans today's ChageLog items and stores them in memory not to post them again any more.
And waiting for a while, clitter checks the ChangeLog again and again.
If there was a today's new item found, and the item is not stored item, clitter post it to Twitter.
This modist posting strategy prevents over posting of same ChangeLog items not to bother your follower.

License

##    Copyright 2007 Hiroshi Ayukawa (email: ayukawa.hiroshi [atmark] gmail.com)
##
##    Licensed under the Apache License, Version 2.0 (the "License");
##    you may not use this file except in compliance with the License.
##    You may obtain a copy of the License at
##
##        http://www.apache.org/licenses/LICENSE-2.0
##
##    Unless required by applicable law or agreed to in writing, software
##    distributed under the License is distributed on an "AS IS" BASIS,
##    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
##    See the License for the specific language governing permissions and
##    limitations under the License.
The point is NO WARRANTY :)

ChangeLog

Feedback: Ayukawa Hiroshi