{"id":16565236,"url":"https://github.com/wardbox/lastfm-to-mastodon","last_synced_at":"2026-06-08T05:31:26.157Z","repository":{"id":206632255,"uuid":"717315224","full_name":"wardbox/lastfm-to-mastodon","owner":"wardbox","description":"Post top album of the month to Mastodon","archived":false,"fork":false,"pushed_at":"2024-05-27T05:23:19.000Z","size":343,"stargazers_count":0,"open_issues_count":7,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-05T08:36:14.947Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wardbox.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-11T05:01:48.000Z","updated_at":"2023-11-11T07:21:11.000Z","dependencies_parsed_at":"2025-01-15T20:37:42.864Z","dependency_job_id":"5d7fcb36-df82-4292-a484-068283afb7b5","html_url":"https://github.com/wardbox/lastfm-to-mastodon","commit_stats":null,"previous_names":["wardbox/lastfm-to-mastodon"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wardbox/lastfm-to-mastodon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wardbox%2Flastfm-to-mastodon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wardbox%2Flastfm-to-mastodon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wardbox%2Flastfm-to-mastodon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wardbox%2Flastfm-to-mastodon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wardbox","download_url":"https://codeload.github.com/wardbox/lastfm-to-mastodon/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wardbox%2Flastfm-to-mastodon/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34050225,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T20:46:31.802Z","updated_at":"2026-06-08T05:31:26.142Z","avatar_url":"https://github.com/wardbox.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"./assets/lastfm-to-mastodon.png\" width=256px\u003e\n\n# lastfm-to-mastodon\n\nA simple Python script for sharing your monthly top album from LastFM to your Mastodon account.\n\n## What does this script do?\n\nOn the first day of each month, this script fetches your most-played album from the previous month on LastFM and posts about it on Mastodon. It includes details like the album name, artist, play count, a link to the album, and some hashtags.\n\n## Requirements\n\n- Python 3.x\n- LastFM account and [application](https://www.last.fm/api/account/create)\n- Mastodon account and [application](https://docs.joinmastodon.org/client/intro/)\n\n## Configuration\n\nCreate a copy of the `.env.example` file and call it `.env`, then populate all of the variables with your own data.\n\n## Usage\n\nRun the script:\n\n\n```shell\npython main.py\n```\nFor automated monthly posts, set up a cron job or a similar scheduler. There is an example github action in `./github/workflows/monthly_poster.yml`\n\n## Contributing\n\nIdeas, bug reports, and pull requests are welcome on GitHub at [https://github.com/wardbox/lastfm-to-mastodon].\n\n## License\n\nThis script is available as open source under the terms of the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwardbox%2Flastfm-to-mastodon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwardbox%2Flastfm-to-mastodon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwardbox%2Flastfm-to-mastodon/lists"}