GithubHelp home page GithubHelp logo

dolandrew / helping-friendly-book Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 27.83 MB

Automated Twitter Bot for Phish song & show stats

Home Page: http://www.twitter.com/PhishCompanion

Java 85.47% HTML 14.09% Procfile 0.12% Dockerfile 0.32%
phish twitter stats java spring-boot automation twitter-api

helping-friendly-book's Introduction

Helping Friendly Book

www.twitter.com/PhishCompanion

The Helping Friendly Book is a Java Spring Boot application deployed to Heroku that runs the Helping Friendly Bot (@PhishCompanion) account on Twitter. It does 4 main things:

  1. Listens to another Twitter account, @Phish_FTR, which tweets the song name as soon as Phish plays it live. When it finds a song name, it goes to phish.net to look up additional stats about the song and tweets that. Screen Shot 2022-07-30 at 5 14 09 PM

  2. Posts a “Show On This Day” once per day at 11AM PT. This tweet is threaded and includes the date, location, setlist and setlist notes of the random selected show on this day. OnThisDay

  3. Posts set start times. setstarttime

  4. Posts a #Pick5 on show days -- HFB uses an algorithm to find five songs that are likely to be played and tweets them out before the show starts.

All data is pulled from phish.net.

Helping Friendly Book has some other features that leverage the Twitter API:

  • Favoriting a tweet (this is used to like @Phish_FTR’s tweets)
  • Following users that like another users tweet
  • Unfollowing users that don’t follow back
  • Threaded tweets (tweets with replies)

IMG_2115

To build and run with Gradle:

./gradlew build
./gradlew bootRun

To build and run with Docker:

docker build . -t helpingfriendlybook
docker run helpingfriendlybook

helping-friendly-book's People

Contributors

dolandrew avatar

Watchers

 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.