All Projects → twitterdev → spotatweet

twitterdev / spotatweet

Licence: Apache-2.0 license
A Spotify & Twitter API mashup showing what people are listening to now. Written in Node.js.

Programming Languages

javascript
184084 projects - #8 most used programming language
EJS
674 projects
SCSS
7915 projects
CSS
56736 projects

Projects that are alternatives of or similar to spotatweet

trumptweets
Download data on all of Donald Trump's (@RealDonaldTrump) tweets
Stars: ✭ 39 (+50%)
Mutual labels:  twitter-api
twitter-d
TypeScript types for Twitter API objects
Stars: ✭ 54 (+107.69%)
Mutual labels:  twitter-api
spotifytrack
A personal homepage showing users' top songs and artists, providing a shareable link that they can use to show it off to friends.
Stars: ✭ 48 (+84.62%)
Mutual labels:  spotify
SpotMusicGen
A Program that creates a Spotify playlist from a YouTube Playlist
Stars: ✭ 47 (+80.77%)
Mutual labels:  spotify
bookmarks-for-spotify
"Bookmarks for Spotify" allows you to bookmark recently played song or audiobook tracks from Spotify.
Stars: ✭ 22 (-15.38%)
Mutual labels:  spotify
eleventy-plugin-embed-tweet
A plugin for embedding tweets on the server side during build time
Stars: ✭ 24 (-7.69%)
Mutual labels:  twitter-api
twitter-stream
A Go wrapper for Twitter's V2 Filtered Stream API
Stars: ✭ 26 (+0%)
Mutual labels:  twitter-api
sbotify
your personal bot that plays spotify music
Stars: ✭ 25 (-3.85%)
Mutual labels:  spotify
trending-twitter
Simple dashboard for getting currently trending hashtags and topics on Twitter
Stars: ✭ 23 (-11.54%)
Mutual labels:  twitter-api
spotify
Spotify - GraphiteJS
Stars: ✭ 22 (-15.38%)
Mutual labels:  spotify
discord-twitter-webhooks
🤖 Stream tweets to Discord
Stars: ✭ 47 (+80.77%)
Mutual labels:  twitter-api
Penicillin
Modern powerful Twitter API wrapper for Kotlin Multiplatform. #PureKotlin
Stars: ✭ 91 (+250%)
Mutual labels:  twitter-api
github-readme-twitter
Add Twitter to your github readme
Stars: ✭ 73 (+180.77%)
Mutual labels:  twitter-api
Stranger Things Wall
A wall of addressable LEDs inspired by the Netflix series Stranger Things that displays messages from Twitter.
Stars: ✭ 22 (-15.38%)
Mutual labels:  twitter-api
twspace-crawler
Script to monitor & download Twitter Spaces 24/7
Stars: ✭ 78 (+200%)
Mutual labels:  twitter-api
Lyricify-App
A fantastic app to provide auto-scrolling lyrics for Spotify, iTunes, Music Center, QQ Music, Netease Cloud Music, and YesPlayMusic. 一款为Spotify、iTunes、Music Center、QQ音乐、网易云音乐、YesPlayMusic提供滚动歌词的软件。
Stars: ✭ 486 (+1769.23%)
Mutual labels:  spotify
webplayer-hotkeys
A Chrome extension that assigns hotkeys to play/pause, and switch musics (next and previous). Works with Spotify, Deezer, SoundCloud and Youtube
Stars: ✭ 16 (-38.46%)
Mutual labels:  spotify
TwitterClone
TwitterClient app represents a real world twitter client app: it provides a fairly complex set of functionalities, it's a suitable showcase for all the advantages that architecture components bring, has all features that would make it a modular, scalable, testable and maintainable app.
Stars: ✭ 26 (+0%)
Mutual labels:  twitter-api
Jericho-Player
LightWeight Framework for discord.js v13 Music Bots and Radio Bots with fast moderation with commands and no memory leak.
Stars: ✭ 19 (-26.92%)
Mutual labels:  spotify
ml-flashcards
Extracting data from Twitter for #machinelearningflashcards 🤖
Stars: ✭ 35 (+34.62%)
Mutual labels:  twitter-api

SpotaTweet

A real-time Spotify & Twitter API mashup.

This web app filters the Twitter stream for #NowPlaying tweets, extracts track IDs from Spotify URLs, requests track data from the Spotify API, displays the embedded Tweet in the web browser and plays a preview. Implements Twitter statuses/filter stream and oEmbed API.

Inspired by Serendipity by @kcimc, formerly a Spotify Media Artist in Residence.

Screenshot

Installing and Running

Install Node.js.

Clone GitHub repo:

git clone https://github.com/twitterdev/spotatweet.git

Create Twitter and Spotify Apps:

Create a config.json file using config.sample.json as a template. Fill in your Twitter & Spotify API Keys. You may also set the values in the config.sample.json file as environment variables for environments like Heroku and Glitch. Values set in the environment will override those set in the config file.

Install node module dependencies:

npm install

Run application:

npm start

Open http://localhost:3000 in your browser.

A GET request to /nowplaying.json will return a Tweet object, additionally hydrated with a "spotify_track" object and a "oembed" object representing the latest #NowPlaying Tweet.

Deploying

Heroku

This application is already configured to run on Heroku and can be deployed with Git.

Before deployment set your Heroku environment config vars to mirror config.json.

On Heroku set NODE_ENV to "production."

Glitch

You can also easily remix this project on Glitch. Set the environment variables in the .env file.

Remix on Glitch

Limitations

  • A Spotify developer token only lasts for 3600 seconds (one hour), so the app will need to be restarted after that time.
  • Web audio does not autoplay on mobile Safari and some other browsers

Resources

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].