A command-line tool for displaying album art from last.fm music data.
Users can retrieve the album art of their most recently played track, or search by album and artist. Album art is displayed in the terminal using ascii_magic.
- Retrieve the most recently played track for a specified last.fm user.
- Search by album and artist.
- Retrieve top album for a specified artist.
- Display album covers as ASCII art in the terminal.
-
Clone the repository:
git clone https://github.com/marlyr/ascii.fm.git cd ascii.fm
-
Install the required packages:
pip install -r requirements.txt
-
Create an API key for last.fm.
-
Create a
.env
file in the project directory and add your last.fm API key:API_KEY=your_last_fm_api_key
python asciifm.py --username your_last_fm_username
python asciifm.py --album "Album Name"
python asciifm.py --artist "Artist Name"
python asciifm.py --album "Album Name" --artist "Artist Name"