Skip to content

display what track you're scrobbling right now on your GitHub profile

Notifications You must be signed in to change notification settings

upsetbit/lastfm-webp-widgets

Repository files navigation

Last.fm WebP Widgets

Now Playing

Running with Docker

docker run \
    --rm \
    -e LASTFM_USERNAME='your-lastfm-username' \
    -e LASTFM_API_KEY='your-lastfm-api-key' \
    -e S3_BUCKET_NAME='an-s3-bucket-you-own' \
    -e AWS_ACCESS_KEY_ID='access-key-to-upload-to-the-bucket' \
    -e AWS_SECRET_ACCESS_KEY='secret-key-to-upload-to-the-bucket' \
    -e AWS_REGION='us-east-1' \
    caian/lastfm-widget-now-playing

Build from source and run

just run lastfm-now-playing

or

cd cmd/lastfm-now-playing \
    && go build -tags exec_local,save_s3 -o ../../bin/lastfm-now-playing \
    && cd ../.. \
    && ./bin/lastfm-now-playing