Code Monkey home page Code Monkey logo

reddit_monitor's Introduction


--INTRO---
Hello and welcome to my little app I wrote that puts
an icon in your system tray and tells you when you
have new messages on Reddit. It's pretty simple and
straight forward. Here is an example of what it looks
like:

http://github.com/PhillipTaylor/reddit_monitor/blob/0364546e605ce73c9b3fc25d8dc0bbd91f59b014/Demo.png

--REQUIREMENTS--
The requirements for this application are:
-	Systems that use GTK
-	Python 2.x
-	simplejson python module

--OPTIONAL FEATURES--
-	pynotify, for nicer pop-ups
-	gnome-python2-gnomekeyring for secure password convenience.
-	xdg-open guesses your prefer browser more accurately.


--DOWNLOADING--
To get the program you can either download the
source code using the "download" button above or you
can use the git link. There are no binaries and no
need for them.

--INSTALLATION AND SETUP--
There is nothing to compile and it runs from your
home directory.


--USAGE--

There are basically two python files. One does the work of
communicating with reddit and one does the GTK sys tray stuff.

./reddit.py <USERNAME>

tells you the karma and comment karma of a user, e.g.

[phill@phillfed reddit_monitor]$ ./reddit.py philluminati
User philluminati has 94 karma and 6013 comment karma

[phill@phillfed reddit_monitor]$ ./reddit.py joelthelion
User joelthelion has 6065 karma and 3876 comment karma

Pretty simple eh? DWM users can pipe this into their status bar
or this can be used in other ways. As well as telling you karma
it can also tell you if you have new mail. To do this use
the -m option. You will be prompted for your Reddit password

[phill@phillfed reddit_monitor]$ ./reddit.py -m philluminati
Your reddit password please: 
False

False means :-(
True means yay!

As I said there is a tray icon version. Just run:

./reddit_tray_icon.py

Fill out the dialog and that's pretty much all there is to it.
Anyway I hope you guys enjoy this.

Phillip (Philluminati) Taylor



--DISCLAIMER--

Use of this application may completely and utterly destroy any chance
of you ever doing any work again. Use with caution.



--KNOWN BUGS--

1. When the program scraps reddit to tell you if you have new mail it
inadvertently marks new mail as having been read. We are currently
speaking to Reddit about this.

2. Reddit login process looks obfusicated. My app can't verify your
password or username are correct so please type them carefully. Test
with .reddit.py -m if you have troubles.


--LICENSE--
GNU GPL version 3



--TESTED AGAINST--
Fedora 9, GNOME, x86_64
Fedora 10, KDE 4+, 32 bit
Fedora 11, GNOME, x86_64
Fedora 11, Awesome, x86_64
Debian Sid, GNOME, i586
Debian Sid, Awesome, i586



--ABOUT THE AUTHORS--
Phillip (Philluminati) Taylor
25 years old
B.Sc. HONS Software Engineering
I currently write Python code professionally for a Gambling company
in London. It's all web based so excuse my GTK stuff.



--GETTING INVOLVED--
Please feel free to submit patches to add support where needed
or other features. Also, note, there is absolutely no way I'm
going to contribute to a piece of software that is designed
specifically to game Reddit. That is strictly not our intention.

reddit_monitor's People

Contributors

chromakode avatar

Stargazers

Sarah Fortune avatar

Watchers

Sarah Fortune avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.