Giter VIP home page Giter VIP logo

clockstalker's Introduction

This repository contains the code for the "ClockStalker" bot on Reddit. The bot selects certain users on Reddit, analyzes their posting history, generates a graph of this data, and guesses the user's time zone based on it. It then posts the graph as a reply to one of the user's comments.

The bot is started by invoking the file listener.py on the command line:

python listener.py

Then, assuming you have Python installed, the script will then run continuously until it is manually stopped.

Required Python packages:
-Python Reddit API Wrapper, AKA PRAW ("import reddit")
-urllib
-urllib2
-base64
-json
-numpy
-matplotlib

Note: If you have trouble running the script, it's almost certainly due to MatPlotLib. I've run this on Windows, Mac, and Linux machines, and each OS requires a slightly different configuration of MatPlotLib, and each presents different obstacles to installing it. Even if it does work, the graphs will often look different depending on which exact version is installed. I cannot guarantee that the graph generation code will work with all versions of MatPlotLib (or even the most recent version, since updates can break previously functional code).

~ClockStalker-creator

clockstalker's People

Watchers

 avatar  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.