Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ftrain/may142016
This app was created to support a collaborative project by Miranda July and Paul Ford as part of the Rhizome 7on7 project.
https://github.com/ftrain/may142016
Last synced: 7 days ago
JSON representation
This app was created to support a collaborative project by Miranda July and Paul Ford as part of the Rhizome 7on7 project.
- Host: GitHub
- URL: https://github.com/ftrain/may142016
- Owner: ftrain
- License: mit
- Created: 2016-05-23T02:31:10.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-05-23T18:38:22.000Z (over 8 years ago)
- Last Synced: 2024-08-02T16:53:21.376Z (3 months ago)
- Language: Python
- Size: 41 KB
- Stars: 20
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# "May 14, 2016" Twitter search tool
This was created to support [a collaborative project by Miranda July and Paul Ford with support from Starlee Kine as part of the Rhizome 7on7 project](https://vimeo.com/167171454).
![Here is a screenshot.](https://raw.githubusercontent.com/ftrain/may142016/master/doc/screenshot.jpg)
This is a Flask app and some utilities that load data into SQLite. Standard caveats about speed of development and general incompetence apply/but has the merit of working okay.
It makes it possible to search and browse historical tweets across a group of individuals. For example: Load in all the people in your Slack room, search their tweets for "dream," and recite their dreams back to them.
## Up and running:
- python 3
- put all the twitter handles in `data/handles.csv`
- `pip install -r requirements.txt`
- go get a twitter API key
- copy `config_template.py` to `config.py` and modify per that API key- Run these things
- `python -m util.make_db` # make the database
- `python -m util.load_users` # load the users from `data/handles.csv`
- `python -m util.import_tweets` # import the tweets from those handlesTweet importing will take a long time, many hours or days depending on your list of people, their prolixity, etc.
Run the app:
- `python app.py`
## Notes
- Works fine under `gunicorn`.
- If you start to mess with itwhile the tweets are loading into SQLite it can skip tweets because SQLite wants none of that.