Skip to content
Log and analyze the pixel stream from /r/place.
JavaScript Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
export_csv.sh
export_png.js
getUrl.js
index.js
package.json
yarn.lock

README.md

place

Log pixels on /r/place

Setup

git clone https://github.com/wgoodall01/place.git
cd place
npm install
npm install -g pm2
pm2 start --name "place" index.js

It also works without pm2, but there are some fun metrics you would miss out on.

What it does

  1. Make a sqlite3 database with some tables and stuff
  2. Connect to the /r/place websocket, log everything to the place table
  3. Request the place bitmap every 60s, write that as a BLOB to the bitmap table

Other stuff

Run ./export_csv.sh, and assuming you have sqlite3 in your system path it will dump the whole place table into a export-${timestamp}.csv

You can’t perform that action at this time.