Coder Social home page Coder Social logo

ghukill / tweetset Goto Github PK

View Code? Open in Web Editor NEW

This project forked from janezkranjc/tweetset

0.0 1.0 0.0 527 KB

A web application for collecting tweets from the twitter API

License: MIT License

JavaScript 0.45% CSS 85.62% Python 8.17% HTML 5.76%

tweetset's Introduction

TweetSet

Manage supervisor jobs that collect tweets to a database using a web interface.

About TweetSet

I developed TweetSet because I needed some tweets for research. It was made available on http://www.tweetset.com however I quickly ran out of disk space and had to shut the website down. I'm gonna put up a limited version very soon just to demonstrate the usability of this app. The full version is however quite available here and you can run it locally on your machine or even deploy it to a server.

If you're finding this app usefull please provide me with some beer money. I'll be forever grateful.

Support tweetset via gratipay

How it works

TweetSet is a Django website that connects to a supervisor daemon and dynamically adds and removes supervisor tasks based on what the user wants to collect. It requires a valid twitter api application key. The user key is generated automatically after approval. If you want you can use the provided key, but for maximum performance and availability create your own application and replace the keys in the settings. You can generate API keys here: https://apps.twitter.com/

It's a bit more complicated to setup than my other project Twitter Tap, but it's way easier to use and maintain in the long run.

Installing and running local

First clone the repo:

git clone git://github.com/janezkranjc/tweetset.git

Create a virtual python environment for the project. If you're not using virtualenv or virtualenvwrapper you may skip this step.

For virtualenvwrapper

mkvirtualenv --no-site-packages tweetset-env

For virtualenv

virtualenv --no-site-packages tweetset-env
cd tweetset-env
source bin/activate

Install requirements

cd tweetset
pip install -r requirements.txt

Copy and edit passwords file

cp tweetset/tweetset/tweetset/settings/__passwords.py tweetset/tweetset/tweetset/settings/passwords.py
vi tweetset/tweetset/tweetset/settings/passwords.py

Sync database

cd tweetset
python manage.py migrate

Run the supervisor daemon

Navigate to the top of the repository (where supervisord.conf is located)

supervisord

Run the webapp

Navigate to the directory where manage.py is located

python manage.py runserver

Open browser to http://127.0.0.1:8000

This should work. I will be putting up a demo version soon live @ http://www.tweetset.com in the meantime if you have any questions don't hesitate to contact me.

Contributing

Contributions are very welcome. Just issue a pull request, I'll check it out and merge it if it's ok!

tweetset's People

Contributors

janezkranjc avatar

Watchers

Graham Hukill avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.