All Projects β†’ codetheweb β†’ muse

codetheweb / muse

Licence: MIT license
🎧 a self-hosted midwestern Discord music bot that doesn't suck

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to muse

discord-lavalink-music-bot
This is music bot for discord made with erelajs, lavalink, discordjs v13-dev
Stars: ✭ 34 (-90.4%)
Mutual labels:  spotify, discord-js
lavamusic
lavalink music bot base in erela.js and discord.js v13
Stars: ✭ 210 (-40.68%)
Mutual labels:  spotify, discord-js
noteblock
A open-source music bot based on lavalink.
Stars: ✭ 93 (-73.73%)
Mutual labels:  spotify, discord-js
distube-music-bot
An advanced music bot based on distube.js.org with filters and more
Stars: ✭ 24 (-93.22%)
Mutual labels:  spotify, discord-js
ad-silence
Mute Ad/promotions from Accuradio, Spotify, TIDAL & Pandora Android. Minimal, extensible & lightweight under 150kb.
Stars: ✭ 132 (-62.71%)
Mutual labels:  spotify
spotify-cli
Spotify for the terminal 🎡
Stars: ✭ 295 (-16.67%)
Mutual labels:  spotify
Discord-Trivia-Bot
TriviaBot: Play trivia in Discord! Powered by discord.js and OpenTDB, with 24 categories and three modes of play.
Stars: ✭ 83 (-76.55%)
Mutual labels:  discord-js
Spotify-Customizer
Chrome extension to customize Spotify web client (themes, lyrics, ...)
Stars: ✭ 27 (-92.37%)
Mutual labels:  spotify
foo spotify
foobar2000 component for Spotify integration
Stars: ✭ 158 (-55.37%)
Mutual labels:  spotify
Karuma
Karuma is a Discord Bot including Nukes, Raids, Mass DM and other features. Only for educational purposes πŸ₯±πŸš€
Stars: ✭ 132 (-62.71%)
Mutual labels:  discord-js
spotify.cr
🎧 A Crystal wrapper for the Spotify Web API
Stars: ✭ 35 (-90.11%)
Mutual labels:  spotify
Discord-Channel-Moderator
❀️ Discord Moderation Bot that helps you filter commands, (allow) links or filter words in channels where they were not allowed. Script is Node.js based using discord.js built by @Refloow
Stars: ✭ 76 (-78.53%)
Mutual labels:  discord-js
Jekyll-Spotify
Easily output Spotify Embed Player for jekyll
Stars: ✭ 15 (-95.76%)
Mutual labels:  spotify
multiple-purpose-discord-bot-like-carlbot
A MultiPurpose Discord bot Named Dumb Bot which does Almost Everything You will need in one bot and with 230+ Commands and does almost everything which is in carl-bot or dyno
Stars: ✭ 70 (-80.23%)
Mutual labels:  discord-js
spotify-account-generator
Instantly generates new free Spotify accounts with random credentials
Stars: ✭ 83 (-76.55%)
Mutual labels:  spotify
muffon
Music streaming browser
Stars: ✭ 491 (+38.7%)
Mutual labels:  spotify
spotify-release-list
πŸ“… Display list of Spotify releases from artists you follow
Stars: ✭ 142 (-59.89%)
Mutual labels:  spotify
laravel-spotify
Laravel-Spotify is a simple wrapper around the Spotify Web API that makes working with its endpoints a breeze!
Stars: ✭ 141 (-60.17%)
Mutual labels:  spotify
discord-altyapi-bot
Discord Bot AltyapΔ±sΔ± - Discord.js v14 AltyapΔ±
Stars: ✭ 172 (-51.41%)
Mutual labels:  discord-js
spotify-playing-readme
A really easy way to display your spotify listening status on READMEs and Website.
Stars: ✭ 21 (-94.07%)
Mutual labels:  spotify

🚨: v1.0.0 was a breaking change. Please take a look at the release notes for upgrade instructions


Muse is a highly-opinionated midwestern self-hosted Discord music bot that doesn't suck. It's made for small to medium-sized Discord servers/guilds (think about a group the size of you, your friends, and your friend's friends).

Hero graphic

Features

  • πŸŽ₯ Livestreams
  • ⏩ Seeking within a song/video
  • πŸ’Ύ Local caching for better performance
  • πŸ“‹ No vote-to-skip - this is anarchy, not a democracy
  • ↔️ Autoconverts playlists / artists / albums / songs from Spotify
  • ↗️ Users can add custom shortcuts (aliases)
  • 1️⃣ Muse instance supports multiple guilds
  • ✍️ Written in TypeScript, easily extendable
  • ❀️ Loyal Packers fan

Running

Muse is written in TypeScript. You can either run Muse with Docker (recommended) or directly with Node.js. Both methods require API keys passed in as environment variables:

  • DISCORD_TOKEN can be acquired here by creating a 'New Application', then going to 'Bot'.
  • SPOTIFY_CLIENT_ID and SPOTIFY_CLIENT_SECRET can be acquired here with 'Create a Client ID'.
  • YOUTUBE_API_KEY can be acquired by creating a new project in Google's Developer Console, enabling the YouTube API, and creating an API key under credentials.

Muse will log a URL when run. Open this URL in a browser to invite Muse to your server. Muse will DM the server owner after it's added with setup instructions.

A 64-bit OS is required to run Muse.

Versioning

The master branch acts as the developing / bleeding edge branch and is not guaranteed to be stable.

When running a production instance, I recommend that you use the latest release.

🐳 Docker

There are a variety of image tags available:

  • :2: versions >= 2.0.0
  • :2.1: versions >= 2.1.0 and < 2.2.0
  • :2.1.1: an exact version specifier
  • :latest: whatever the latest version is

(Replace empty config strings with correct values.)

docker run -it -v "$(pwd)/data":/data -e DISCORD_TOKEN='' -e SPOTIFY_CLIENT_ID='' -e SPOTIFY_CLIENT_SECRET='' -e YOUTUBE_API_KEY='' codetheweb/muse:latest

This starts Muse and creates a data directory in your current directory.

Docker Compose:

version: '3.4'

services:
  muse:
    image: codetheweb/muse:latest
    restart: always
    volumes:
      - ./muse:/data
    environment:
      - DISCORD_TOKEN=
      - YOUTUBE_API_KEY=
      - SPOTIFY_CLIENT_ID=
      - SPOTIFY_CLIENT_SECRET=

Node.js

Prerequisites:

  • Node.js (16.x is recommended because it's the current LTS version)
  • ffmpeg (4.1 or later)
  1. git clone https://github.com/codetheweb/muse.git && cd muse
  2. Copy .env.example to .env and populate with values
  3. I recommend checking out a tagged release with git checkout v[latest release]
  4. yarn install (or npm i)
  5. yarn start (or npm run start)

Note: if you're on Windows, you may need to manually set the ffmpeg path. See #345 for details.

βš™οΈ Additional configuration (advanced)

Cache

By default, Muse limits the total cache size to around 2 GB. If you want to change this, set the environment variable CACHE_LIMIT. For example, CACHE_LIMIT=512MB or CACHE_LIMIT=10GB.

Custom Bot Status

In the default state, Muse has the status "Online" and the text "Listening to Music". You can change the status through environment variables:

  • BOT_STATUS:

    • online (Online)
    • idle (Away)
    • dnd (Do not Disturb)
  • BOT_ACTIVITY_TYPE:

    • PLAYING (Playing XYZ)
    • LISTENING (Listening to XYZ)
    • WATCHING (Watching XYZ)
    • STREAMING (Streaming XYZ)
  • BOT_ACTIVITY: the text that follows the activity type

  • BOT_ACTIVITY_URL If you use STREAMING you MUST set this variable, otherwise it will not work! Here you write a regular YouTube or Twitch Stream URL.

Examples

Muse is watching a movie and is DND:

  • BOT_STATUS=dnd
  • BOT_ACTIVITY_TYPE=WATCHING
  • BOT_ACTIVITY=a movie

Muse is streaming Monstercat:

  • BOT_STATUS=online
  • BOT_ACTIVITY_TYPE=STREAMING
  • BOT_ACTIVITY_URL=https://www.twitch.tv/monstercat
  • BOT_ACTIVITY=Monstercat

Bot-wide commands

If you have Muse running in a lot of guilds (10+) you may want to switch to registering commands bot-wide rather than for each guild. (The downside to this is that command updates can take up to an hour to propagate.) To do this, set the environment variable REGISTER_COMMANDS_ON_BOT to true.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].