Johannes Heuel b60cce35ca
All checks were successful
tests / fmt (push) Successful in 1m9s
tests / build (push) Successful in 1m35s
tests / clippy (push) Successful in 1m26s
tests / pre-commit (push) Successful in 1m34s
deploy / release-image (push) Successful in 4m0s
tests / test (push) Successful in 1m19s
renovate / renovate (push) Successful in 54s
Merge branch 'main' of gitea:jheuel/ohrwurm
2025-03-04 11:44:05 +01:00
2025-03-03 13:32:53 +00:00
2025-03-03 13:32:53 +00:00
2024-02-20 14:42:02 +01:00
2024-06-30 11:16:12 +02:00
2024-11-28 19:26:42 +01:00
2024-06-20 20:16:19 +02:00
2024-02-16 19:37:49 +01:00
2024-06-20 20:16:19 +02:00
2024-02-14 16:06:24 +01:00
2024-06-20 20:16:19 +02:00
2025-03-04 10:27:46 +00:00
2024-11-26 21:52:22 +01:00
2024-06-18 11:51:28 +02:00
2025-03-04 11:44:00 +01:00

Light

Ohrwurm

Ohrwurm is a user-friendly bot designed to play music in Discord voice chats. Once added to your server, you can request a song using the command /play {query}, where query can be a URL to a YouTube video or playlist, or a simple search term. The bot will fetch the song and start playing it. You can pause the music with /pause, resume playback with /resume, and stop and clear the queue with /stop. If the bot is alone in a voice chat, it will automatically leave, but you can also manually make it leave with the /leave command.

Deployment

To deploy Ohrwurm with Docker, you can use the provided Docker image:

docker run -d \
  --name ohrwurm \
  --restart unless-stopped \
  -e DISCORD_TOKEN=YOUR_DISCORD_BOT_TOKEN \
  -e DISCORD_APP_ID=YOUR_DISCORD_APP_ID \
  -e ADMIN=YOUR_DISCORD_USER_ID \
  jheuel/ohrwurm:latest

Alternatively, you can create a docker-compose.yml file:

services:
  ohrwurm:
    container_name: ohrwurm
    image: jheuel/ohrwurm:latest
    restart: unless-stopped
    env:
      - DISCORD_TOKEN=YOUR_DISCORD_BOT_TOKEN
      - DISCORD_APP_ID=YOUR_DISCORD_APP_ID
      - ADMIN=YOUR_DISCORD_USER_ID

and then run the image with docker compose up.

Description
No description provided
Readme 3.4 MiB
Languages
Rust 98.6%
Dockerfile 1.4%