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
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