name mode size
LICENSE 100644 1.08kB
README.md 100644 1.06kB
current_collage.jpg 100644 230.33kB
lastfm_chart_collage.sh 100755 3.88kB
lastfm_collage.rc 100644 61B
README.md
# lastfm_chart_services There's a Last.FM collage generator at http://tapmusic.net/ which is good and fine (and I donated money to them as well). But I wanted to self-host, get a little more experience with REST APIs (even if it's with CURL) and imagemagick, so I'm aiming to recreate it here with bash and formatted the way I want it. ![Example](https://s26.postimg.org/45icvxk3t/current_collage.jpg) This implies that you're going to have some way to post to social media automagically like ttytter (or the project that's replaced it). # Requires * curl * [jq](https://github.com/stedolan/jq) * awk * [imagemagick](http://www.imagemagick.org) * last.fm account (duh) and [API key](https://www.last.fm/api) Optional * [simple_placeholder_images](https://github.com/uriel1998/simple_placeholder_images) to deal with missing album covers # Usage Make sure you get a last.fm API key. :) Create lastfm_collage.rc in $HOME/.config with these lines (in order!) ``` YOUR_API_KEY YOUR_USERNAME 7day /DIRECTORY/FOR/OUTPUT ``` Then run the script!