Skip to content
This repository has been archived by the owner. It is now read-only.
Samples Stack Overflow user reputation scores
Clojure Python
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
src/chameleon
test
.gitignore
LICENSE
README.md
project.clj

README.md

This project has been superseded by Whitman and is unlikely to see any more improvements or bugfixes.


Chameleon

Chameleon is a simple service for sampling reputation from Stack Overflow. It takes a list of users from a MongoDB collection, collects those users' reputation scores, and saves them back into a MongoDB collection.

Prerequisites

  1. Leiningen
  2. MongoDB, running on your local machine.

Usage

  1. Build the Jar:

     $ lein uberjar
    
  2. Create a MongoDB database called chameleon.

  3. In the chameleon database, create a collection called users.

  4. Populate the users collection with users whose reputation you would like to record, in the following format:

     {_id: <stack overflow user id>}
    
  5. Run the Jar file:

     $ java -jar target/uberjar/chameleon-standalone.jar
    

You will probably want to run the program as a cron task, to sample reputation periodically.

You can’t perform that action at this time.