Skip to main content

locally fetch, store, and present social media flux

Project description

Here’s the situation. You’re on a website that you think is pretty cool and you think it may be worth following them on Twitter (or RSS, Facebook, Google+, etc). You hesitate. Will you be inundated with irrelevant content?

Although this information is readily available and often a click or two away, these additional clicks create an unnecessary barrier to entry. The goal of flux is to make it possible to quickly assess the utility of following a particular feed of content and whether the flux of relevant content will be useful for you. Currently, flux supports:

Quick start

  1. Install flux with pip:

    [shell]$ pip install django-flux
  2. Add flux to the INSTALLED_APPS <https://docs.djangoproject.com/en/dev/ref/settings/#installed-apps> in settings.py of your django project:

    INSTALLED_APPS += ('flux', )
  3. Run syncdb to create the necessary tables:

    [shell]$ python manage.py syncdb
  4. Make sure the admin is enabled on your site and add accounts to monitor by visiting the admin page of your site (e.g., http://localhost:8000/admin/flux/account/add)

  5. Run the update_flux management command:

    [shell]$ python manage.py update_flux
  6. Use the flux_timeseries template tag on Account instances (account below) in your templates:

    <link rel="stylesheet" href="{{STATIC_URL}}flux/css/flux_timeseries.css" />
    
    {% load flux %}
    {% flux_timeseries account %}
  7. Customize the styling and layout by altering the CSS, and content accordingly

Production usage

To have the feeds monitored be continuously updated, add the following line to your crontab:

0 0 * * * /path/to/manage.py update_flux

Contribute!

  1. Clone the code from github

  2. Setup the virtualenv by following the instructions in example_project/virtualenv_requirements.txt

  3. Edit, test, and share your code. See the issues page for inspiration.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-flux-0.1.0.tar.gz (15.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page