zerw0/fmatrix — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a Matrix chat bot for music stats, like a simple fmbot for Matrix rooms. It should let people link their Last.fm username, then use short commands to see their recent tracks, listening stats, top artists, top albums, top tracks, and room leaderboards.

I also want fun group commands like “who knows this artist”, “who knows this track”, and “who knows this album”, using everyone in the room who has linked their account. It should cache data so it doesn’t hit Last.fm too much, and store user links in a small local database.

Please include optional Discogs support so users can link a Discogs username, view collection stats, browse collection and wantlist pages, and search artists or releases. Also add optional Spotify support so people can get a Spotify link for their currently playing track or search “Artist, Track”.

Make it easy to run with either Docker or Python, using a config file or environment variables for Matrix, Last.fm, Discogs, and Spotify credentials. Include clear setup instructions and a help command in the bot.

Want more depth? Deep Reverse