Giter Club home page Giter Club logo

spotify-caster's Introduction

Spotifycaster

Twitter Bot that tweets a random song from followed artist per hour.

Used ruby on rails app here instead of plain ruby, becuase I'm saving the tweets and determine whether it was mentioned or unmentioned.

Stacks

  • Rails 4.1.6
  • ruby 2.1.4p265
  • Sass
  • Rspec3
  • Node.js
  • Twitter Api
  • Spotify Api
  • Bower
  • Humane JS

Features:

  1. It tweets a random song per hour.

screenshot 2015-09-05 12 57 46

  1. You can request for a random song from your favorite artist. screenshot 2015-09-05 12 55 38

Heroku Scheduler:

  • It tweets a random song per hour
  • Responds to requested mentions every 10 minutes

Installation

  • Clone the project:
git clone [email protected]:ChunAllen/Spotify-Caster.git
  • Copy secrets.yml.template and fill up Twitter and Spotify Credentials:
cp config/secrets.yml.template config/secrets.yml
  • Fill Up Spotify and Twitter Api Credentials in config/secrets.yml
default: &default
  TWITTER_CONSUMER_KEY: ''
  TWITTER_CONSUMER_SECRET: ''
  TWITTER_ACCESS_TOKEN: ''
  TWITTER_ACCESS_TOKEN_SECRET: ''
  SPOTIFY_CLIENT_ID: ''
  SPOTIFY_CLIENT_SECRET: ''
  • Deploy to Heroku

Deploy

  • Add rake task to your Heroku Scheduler:
rake tweet:random_song
rake tweet:request

Demo:

You can also check an video demo by clicking the link below: Link for Demo

Resource Links:

[Twitter] (https://twitter.com/spotifycaster)

[Web App] (spotifycaster.herokuapp.com)

spotify-caster's People

Contributors

chunallen avatar lcpriest avatar

Stargazers

 avatar

Watchers

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