{"id":28324272,"url":"https://github.com/dxnter/lasty","last_synced_at":"2025-06-24T02:32:05.046Z","repository":{"id":40203651,"uuid":"151153528","full_name":"dxnter/lasty","owner":"dxnter","description":"A Discord bot for fetching Last.fm analytics","archived":false,"fork":false,"pushed_at":"2022-12-08T01:51:15.000Z","size":839,"stargazers_count":7,"open_issues_count":6,"forks_count":3,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-02T02:13:30.381Z","etag":null,"topics":["discord","discord-bot","discord-js","discordjs-commando","lastfm","lastfm-api"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dxnter.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-10-01T20:19:13.000Z","updated_at":"2022-08-13T19:05:44.000Z","dependencies_parsed_at":"2023-01-24T04:15:26.578Z","dependency_job_id":null,"html_url":"https://github.com/dxnter/lasty","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/dxnter/lasty","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxnter%2Flasty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxnter%2Flasty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxnter%2Flasty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxnter%2Flasty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dxnter","download_url":"https://codeload.github.com/dxnter/lasty/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxnter%2Flasty/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261591731,"owners_count":23181783,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["discord","discord-bot","discord-js","discordjs-commando","lastfm","lastfm-api"],"created_at":"2025-05-25T17:11:56.971Z","updated_at":"2025-06-24T02:32:05.039Z","avatar_url":"https://github.com/dxnter.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cp\u003e\n    \u003cimg src=\"https://i.imgur.com/ybCbZI3.png\" width=\"400\" alt=\"lasty logo\"\u003e\n  \u003c/p\u003e\n  \u003cstrong\u003e\u003ci\u003eA Discord bot for fetching Last.FM data.\u003c/i\u003e\u003c/strong\u003e\n\u003c/div\u003e\n\u003cbr/\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://github.com/discordjs\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/discord.js-v12.4.0-blue.svg?logo=npm\" alt=\"shield.png\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/dxnter/lasty/blob/master/LICENSE\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/license-GNU%20GPL%20v3-green\" alt=\"License shield\"\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\u003chr /\u003e\n\n## About\nLasty is a Discord bot intended to interact with [Last.FM](https://last.fm/) to provide real time listening data.\n\u003cbr/\u003e\n_A public instance of Lasty is currently not available. Follow [Installation](https://github.com/dxnter/lasty#installation) to get started._\n\u003cbr/\u003e\nFor comments and support contact me on Discord: \u003cstrong\u003edxnter#0001\u003c/strong\u003e\n\n## 🚀 Getting Started\n### Requirements\n- [Discord Bot Token](https://github.com/reactiflux/discord-irc/wiki/Creating-a-discord-bot-\u0026-getting-a-token)\n- [Discord User ID](https://support.discord.com/hc/en-us/articles/206346498-Where-can-I-find-my-User-Server-Message-ID-)\n- [Last.FM API Key](https://last.fm/api)\n\n### Installation\n```bash\n# Clone the repository\ngit clone https://github.com/dxnter/lasty\n\n# Enter into the directory\ncd lasty\n\n# Install dependencies\nnpm install\n```\n\n### Configuration\nRename `config.example.json` to `config.json` in the root directory and enter in the correct information for each property.\n\n`EMBED_COLOR` can either be left as the default or changed to a valid hex color code.\n\n`OWNERS` can either be a single Discord User ID or multiple ID's separated by a comma. Owners will have complete control over Lasty and bypass command throttling.\n```json\n{\n  \"PREFIX\": \"\",\n  \"EMBED_COLOR\": \"#E31C23\",\n  \"OWNERS\": \"\",\n  \"DISCORD_BOT_TOKEN\": \"\",\n  \"LASTFM_API_KEY\": \"\"\n}\n```\n\n### Starting the bot\n\n```bash\nnpm start\n```\n\n#### Advanced\nThis section is completely optional but suggested if hosting Lasty on a VPS.\n\u003cbr/\u003e\nGlobally install `pm2`, this enables Lasty to run as a daemon process.\n```bash\nnpm install --global pm2\n```\n\nStart / stop the bot\n```bash\npm2 start npm -- start\nAND\npm2 stop all\n```\n\n## 📝 Commands\n[Commands Wiki](https://github.com/dxnter/lasty/wiki/Commands)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdxnter%2Flasty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdxnter%2Flasty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdxnter%2Flasty/lists"}