Zen Reddit
Haskell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Web
LICENSE
README.md
Setup.hs
census.hs
userstats.hs
zen-reddit.cabal

README.md

Scripts and other resources to help maintain the Zen Reddit.

Install

git clone https://github.com/kowey/zennit
cd zennit
cabal sandbox init # (optional) may require more recent cabal install
cabal install
cd ..

git clone https://github.com/kowey/prawtools
cd prawtools
git checkout unicode
mkdir -p $HOME/.virtualenvs/zennit
source $HOME/.virtualenvs/zennit/bin/activate
pip install .
cd ..

Run

cd zennit
export TODAY=$(date +%Y-%m-%d)
subreddit_stats zen -d 90 -o userstats-${TODAY}-90d.csv -u YourUserName
userstats userstats-${TODAY}-90d.csv