Get the number of times a lastfm user has currently listened to a track on repeat.
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.env.example
.gitignore
.travis.yml
LICENSE
README.md
package-lock.json
package.json
repeatone.js
test.js

README.md

repeatone-webtask

Get the number of times a lastfm user has currently listened to a track on repeat.

Build Status js-standard-style Greenkeeper badge

Why?

I've always been a fan of Repeat One. Whether it was working, driving, studying, etc. sometimes I just enjoyed listening to a song 30+ times in a row. This is a webtask that will report whether I (or any lastfm user) is listening to a song on repeat.

Create Your Own

npm run init -- YOUR@EMAIL.COM # Only needed the first time
cp .env.example .env # Update with your lastfm API_KEY
npm run create
# Your container name will be shown after you create the webtask
curl -s https://wt-{CONTAINER_NAME}.run.webtask.io/repeatone-webtask?user=USER

Contributing

To be run locally, this requires node >= 6.0.0. When deployed it uses use latest so wt-cli builds it with babel.

Tests

npm run test

License

MIT