Giter VIP home page Giter VIP logo

twit_img's Introduction

twit_img - Twitter Image Download Helper

A simple flask container based Tweepy frontend designed to download and name photos from tweets.

Enabled by the hard work of the Tweepy developers.

How to use

  1. Write secrets file (see below)
  2. (optional) setup a venv
    1. python -v venv venv
    2. source venv/bin/activate
  3. install libs: pip install -r requirments.txt
  4. run: flask run
  5. Point your browser at the host URL.

twit_img_secrets.py

The twit_img_secrets.py file takes the following form.

See Twitter's Developer Apps page for registering for a key/secret pair.

See Flask's Sessions Page for generating a random junk secret key.

#!/usr/bin/env python3

consumer_key = '<your twitter API key>'
consumer_secret = '<your twitter API secret>'

flask_secret = b'<your random flask API secret key>'

License

MIT. See LICENSE

twit_img's People

Contributors

opensiriusfox avatar

Watchers

 avatar James Cloos avatar Kostas Georgiou 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.