Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/defaultnamehere/zzzzz
Roleplay as the NSA by making creepy graphs of your friends
https://github.com/defaultnamehere/zzzzz
Last synced: 13 days ago
JSON representation
Roleplay as the NSA by making creepy graphs of your friends
- Host: GitHub
- URL: https://github.com/defaultnamehere/zzzzz
- Owner: defaultnamehere
- License: mit
- Created: 2016-02-14T08:28:48.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-30T21:51:47.000Z (almost 7 years ago)
- Last Synced: 2024-10-16T04:42:10.864Z (27 days ago)
- Language: Python
- Size: 154 KB
- Stars: 1,300
- Watchers: 51
- Forks: 130
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
- Changelog: history.py
- License: LICENSE.md
Awesome Lists containing this project
README
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](https://defaultnamehere.tumblr.com/post/139351766005/graphing-when-your-facebook-friends-are-awake) 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=
cookie=
client_id=
excludes=
```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!