Are you happy with your logging solution? Would you help us out by taking a 30-second survey? Click here

zzzzz

Roleplay as the NSA by making creepy graphs of your friends

Subscribe to updates I use zzzzz


Statistics on zzzzz

Number of watchers on Github 1243
Number of open issues 26
Average time to close an issue 6 days
Main language Python
Average time to merge a PR about 18 hours
Open pull requests 9+
Closed pull requests 2+
Last commit over 3 years ago
Repo Created over 3 years ago
Repo Last Updated over 1 year ago
Size 158 KB
Organization / Authordefaultnamehere
Contributors3
Page Updated
Do you use zzzzz? Leave a review!
View open issues (26)
View zzzzz activity
View on github
Fresh, new opensource launches 🚀🚀🚀
Trendy new open source projects in your inbox! View examples

Subscribe to our mailing list

Evaluating zzzzz for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)

Stalky

Um hello I guess you're here because you want to look at the code for this or run it yourself.

The code is up there ^ so I guess here's how you run it yourself.

What is this?

Oh, reading the blog post would really make that more clear.

Installation

Just run pip install -r requirements.txt

(virtualenv is for suckers right now)

You'll also need to supply some way of authenticating yourself to Facebook.

Do this by creating a SECRETS.txt file with the following lines:

uid=<Contains your Facebook user id>
cookie=<Contains your Facebook cookie>
client_id=<Contains your Facebook client id. Find it by inspecting the GET parameters sent when your browser requests `facebook.com/pull` using your browser's dev tools.>
excludes=<Contains your facebook friends ids which you want to exclude (optional)>

Download some data

python fetcher.py

This will run indefinitely and create data in log. Depending on the number of Facebook friends you have, and how active they are, you can expect around 50-100MB/day to be written to disk.

Make some graphs

  1. Run python graph.py to convert all the raw log data into CSVs
  2. Run python app.py to start the 100% CSS-free webapp
  3. Go to http://localhost:5000 to view the ultra-minimal webapp
  4. Paste the Facebook user id that you want to graph into the box.

You did it!

zzzzz open issues Ask a question     (View All Issues)
  • over 3 years Crash Unexpectedly Again
  • over 3 years whitelist option
  • over 3 years KeyError: 'p' :: Did facebook's internal API change?
  • over 3 years Run in python 3 windows
  • over 3 years Provide a Dockerfile
  • over 3 years Not Updating Graph
  • over 3 years Insecure Platform Warning
  • over 3 years No web app is loaded http//0.0.0.0:5000/
  • over 3 years fetcher.py crashes unexpected
  • over 3 years 'Namespace' object has no attribute 'cookie'
  • over 3 years Response:{u'reason': 110, u't': u'refresh', u'seq': 0}
  • over 3 years urllib throwing a InsecurePlatformWarning
  • over 3 years In README.md, clarify that cookie in SECRETS.txt needs single-quotes
  • over 3 years Got error from request
  • over 3 years Please clarify the type of data you can visualize
  • over 3 years 405 Method Not Allowed
  • over 3 years via api
zzzzz open pull requests (View All Pulls)
  • Update graph.py to use os.makedirs
  • use os.makedirs
  • Fix 405 method not allowed
  • Names
  • add excludes option to fetcher
  • Reduce log size
  • README.md: Clarifying secrets file
  • Patch #2: Fix crashing error in fetcher.py
  • Added elasticsearch compatibility for a better visualization
zzzzz questions on Stackoverflow (View All Questions)
  • Using SimpleDateFormat's "ZZZZZ" (+03:00) for timezone before Android 4.3
  • How to generate a character list A - ZZZZZ
zzzzz list of languages used
Other projects in Python