{"id":28297797,"url":"https://github.com/ergo35/lyra","last_synced_at":"2026-02-03T11:33:47.111Z","repository":{"id":223878328,"uuid":"750334029","full_name":"eRgo35/lyra","owner":"eRgo35","description":"Lyra: a discord music bot written in rust 🦀","archived":false,"fork":false,"pushed_at":"2024-12-15T19:14:13.000Z","size":1296,"stargazers_count":0,"open_issues_count":10,"forks_count":0,"subscribers_count":1,"default_branch":"senpai","last_synced_at":"2025-06-30T21:45:16.262Z","etag":null,"topics":["bot","discord","music","rust"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/lyra","language":"Rust","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/eRgo35.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":"2024-01-30T12:56:35.000Z","updated_at":"2024-12-15T19:10:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"6ec9a435-b518-416c-99be-81fea9d3a75a","html_url":"https://github.com/eRgo35/lyra","commit_stats":null,"previous_names":["ergo35/lyra"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/eRgo35/lyra","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eRgo35%2Flyra","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eRgo35%2Flyra/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eRgo35%2Flyra/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eRgo35%2Flyra/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eRgo35","download_url":"https://codeload.github.com/eRgo35/lyra/tar.gz/refs/heads/senpai","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eRgo35%2Flyra/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262879878,"owners_count":23378696,"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":["bot","discord","music","rust"],"created_at":"2025-05-23T04:17:26.949Z","updated_at":"2026-02-03T11:33:47.074Z","avatar_url":"https://github.com/eRgo35.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch2 align=\"center\"\u003e\n  \u003ca href=\"https://lyra.c2yz.com\" target=\"blank_\"\u003e\n    \u003cimg height=\"256\" alt=\"Lyra\" src=\"assets/lyra-256.png\" /\u003e\n  \u003c/a\u003e\n  \u003cbr /\u003e\n  Lyra: a discord music bot written in rust :crab:\n\u003c/h2\u003e\n\nLyra is an open source, discord music bot written in Rust.\nThe idea behind this project is to allow a user to self-host one's own instance of the bot.\nUser no longer has to rely on 3rd-parties to provide them a service.\nThe bot can be run on a desktop, a vps or a phone as it's just a simple binary.\n\nCurrently bot is still heavily in development!\n\n## Getting started\n\nBefore you start, you need to create a discord bot and get a token.\nYou can do it [here](https://discord.com/developers/applications).\n\nAfter you create a bot, you need to invite it to your server.\n\nThen, head to download section and download the latest release (or compile it yourself).\n\nAfter you download the binary, you need to create a `.env` file in the same directory as the binary.\nExample can be found in `.env.example` file.\n\n```\nDISCORD_TOKEN=\u003cYOUR_DISCORD_TOKEN\u003e\nPREFIX=\u003cYOUR_PREFIX\u003e\n```\n\nDISCORD_TOKEN is the token you got from discord developers page and PREFIX is the prefix you want to use for your bot.\n\nBot by default reacts only to the prefix. To enable slash commands, while the bot is running type `:register` in the chat (where `:` is your bot prefix).\n\n## Features\n\n- Music playback\n- Audio effects (soon)\n- Some multipurpose commands\n- Slash commands\n- Self-hosted\n\n## Compilation\n\nTo compile the source code on your own, you need `rust` and `cargo`\n\nTo run a dev version, `cd` into the project directory and type\n\n```bash\n$ cargo run\n```\n\nTo build a production version use\n\n```bash\n$ cargo build --release\n```\n\nIf you need a version for a different system or architecture, you can use `cross` crate\n\n```bash\n$ cross build -r --target aarch64-unknown-linux-gnu\n```\n\nTo run a program, just type\n\n```bash\n$ ./lyra\n```\n\nRemember to provide a `.env` file in the same directory as the binary.\n\nIf you want to disown the bot from the shell, I recommend using the script I provided in `scripts` folder\n\n## Commands\n\nAs of now, the commands are:\n\n```\nMusic:\n  /deafen       Deafens itself while in a voice channel; aliases: deafen, undeaden, shuush\n  /join         Joins your voice channel\n  /leave        Leaves the voice channel; aliases: leave, qa!\n  /mute         Mutes itself while in a voice channel; aliases: mute, unmute, shhh\n  /pause        Pauses the currently playing song\n  /play         Plays a song; you can search by query or paste an url; aliases: play, p, enqueue\n  /queue        Shows next tracks in queue; aliases: queue, q\n  /repeat       Loops currently playing song provided amount of times; aliases: repeat, loop, while, for\n  /resume       Resumes currently paused song\n  /seek         Seeks a track by provided seconds\n  /skip         Skips the currently playing song; aliases: skip, :skipper:\n  /stop         Stops playback and destroys the queue; aliases: stop, end\n  /volume       Changes output volume\n  /effect       Plays one of available audio effects\n  /stream       Hijacks output and plays audio; search by query or paste an url; aliases: stream, override, hijack\n\nTools:\n  /ai           Asks AI\n  /dice         Rolls a dice\n  /dictionary   Explains provided query\n  /ip           Shows IP information\n  /metar        Prints metar for provided airport\n  /owoify       Owoifies whatever you want uwu\n  /ping         Pings you backs with a response time\n  /posix        Prints current time in POSIX format\n  /qr           Creates a qr code from text\n  /taf          Returns taf for provided airport\n  /uptime       Checks how long the bot has been running\n  /verse        Reference Bible by verse\n  /weather      Shows weather for provided location\n\nHelp:\n  /help         Prints this help message; aliases: help, huh, welp\n\nUse /help command for more info on a command.\nYou can edit you message to the bot and the bot will edit its response.\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fergo35%2Flyra","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fergo35%2Flyra","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fergo35%2Flyra/lists"}