Git Product home page Git Product logo

tweet-theme-plotter's Introduction

Tweet Theme Plotter

Why I made this

I've been tweeting a lot about technology as a way to keep an online portfolio and build a network of engineers.

I'm producing some cool work from that content and in wanting to add to my resume, I wanted to see exactly what I've been working on.

So I built a scraper to look at my tweets, clean them, and get a count of the times they appear in my tweets. This might make me refine my writing so that I can add more concise tweets.

The goal is to build this and allow anyone to be able to use it and see what they mainly tweet about.

I'm a newbie to docker so any contribution is welcome!

How to use

Get Twitter API Credentials and Username

Here

Change your username in the app.py file

line 110

Get credentials from:

CONSUMER_KEY=''
CONSUMER_SECRET=''
ACCESS_TOKEN=''
ACCESS_SECRET=''

Create a config.py file and add those credentials to that file. It will look just like the code block above and you are already importing into the app.py file.

Make sure you DO NOT share those credentials with anyone.

Install Docker

Build the Container

docker-compose build

Run the Container

docker-compose up

You should see a populated output.csv locally. This is possible due to a Bind mounted volume at runtime. It maps a path in your host file system to a path in the Docker container's filesystem.

If everything is running correctly, go to your browser and type in: http://localhost:5000/

You should see your most tweeted topics!

tweet-theme-plotter's People

Contributors

jpurrutia avatar

Stargazers

Abdulqudus Ayoola avatar

Watchers

 avatar

Forkers

ay00la

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.