Skip to content

Scaratech/lastfm-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LastFM Bot

A simple API for spoofing last.fm scrobbles of your currently playing song

Building

Dependencies: git, nodejs, pnpm/npm

$ git clone https://github.com/scaratech/lastfm-bot
$ cd lastfm-bot
$ pnpm i
$ pnpm build

Configuration

See: .env.example

Creating an API Account

You can put anything in any of the fields just make sure:

  • For "Callback URL" put: http://localhost:3000/callback
  • (I don't know if this is required) Put http://localhost:3000 for the "Application homepage"

Usage

$ pnpm start
# Visit: http://localhost:3000/auth in your browser
# After you've been authenticated, visit `http://localhost:3000/spoof/start` to start spoofing scrobbles
# Due to API rate-limiting, you can only scrobble 5 times a second, with a limit of 2800 scrobbles a day
# To stop, visit `http://localhost:3000/spoof/stop`

About

A simple API for spoofing last.fm scrobbles of your currently playing song

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published