xtimon / randcow

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mighty cowsay tells news

Everybody know cowsay. Great tool, made on Perl. I decided to enlarge it's functionality with rss feed, so you can never be bored openning terminal on local desktop or remote server.

Installation

Please verify that you have python version 3. If you don't have it, please install firstly.

$ python3 --version
Python 3.4.3

Installation is simple:

$ git clone https://github.com/xtimon/randcow.git ~/.randcow

Then you can add an alias:

$ echo "alias news='~/.randcow/randcow.py'" >> ~/.bashrc

Things you should change

There are two variables you will probably want to change.

  • Default cows_path directory:
cows_path = '/usr/share/cowsay/cows/' 
  • RSS feed link:
rss_feed = 'http://bash.im/rss/'

About


Languages

Language:Python 100.0%