Skip to content
KinanqazanPublic

About

personal light and modern media Player with native Android App

Topics

Resources

Code of conduct

Contributing

Stars

3 stars

Watchers

0 watching

Forks

Latest commit

 

History

72 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bragi

Bragi on desktop and mobile

Bragi is a self-hosted music streaming server with a web player and an Android app. Keep your music on your own server and listen from your computer, phone, or Cast speakers.

Features

Music library
Browse and search songs, albums, artists, genres, and moods. Create playlists, save favorites, and manage your playback queue.

Lyrics
Follow synchronized lyrics, tap a timed line to jump to it, and search online for missing lyrics using the song's title and artist.

Lyrics editing
Import TXT or LRC files, edit lyrics, and shift timestamps earlier or later in one-second steps. Save lyrics inside the song file or as a separate file.

Song editing
Update titles, artist names, album artist names, genre and mood tags, and cover artwork.

Editing song metadata in Bragi

Google Cast
Play music on Chromecast, Google Home/Nest speakers, and Android TVs from the Android app or a supported browser.

Listening statistics
See your top tracks and artists, explore listening periods in the Android app, and discover unplayed songs.

Mobile listening
The Android app supports background playback, lock-screen controls, and headset controls.

Personalization
Choose a theme and language, adjust library views, and enable Last.fm or ListenBrainz scrobbling when configured on your server.

Online lyrics search and editing require an administrator account and the deployment option shown below. The server needs internet access for lyrics search.

For You uses MusicBrainz links when available. To also search YouTube for recordings without a direct link, enable the YouTube Data API v3 in Google Cloud and add your key in Personal settings. A server administrator can instead set BR_YOUTUBE_API_KEY for all users; a personal key takes precedence. Searches are best-effort and subject to YouTube's quota; a matching video may not be available for every recording. Keep the key private and restrict it to the YouTube Data API.

Deploy with Docker Compose

You need Docker with Docker Compose on your server. The container image is built for linux/amd64 (Intel/AMD 64-bit servers).

  1. Save the following as compose.yaml, replacing /path/to/data and /path/to/music with your own folders. The data folder stores Bragi's database and settings; the music folder contains your collection.
services:
  bragi:
    image: ghcr.io/kinanqaz/bragi:latest
    container_name: bragi
    environment:
      BR_ENABLEMEDIAFILEMETADATAEDITING: "true" # (Optional: enable administrator song, artwork, and lyrics editing and lyrics search)
      BR_ENABLEMEDIAFILEDELETION: "true" # (Optional: allow administrators to permanently delete music files)
      BR_CASTMEDIABASEURL: "http://YOUR_SERVER_IP:4533" # (Optional: use a server address reachable by Cast speakers or TVs; replace YOUR_SERVER_IP)
    volumes:
      - /path/to/data:/data
      - /path/to/music:/music:rw
    ports:
      - "4533:4533"
    restart: unless-stopped
  1. From the folder containing compose.yaml, start Bragi:
docker compose up -d
  1. Open http://YOUR_SERVER_IP:4533/app/ in your browser and create your administrator account. Your music will appear as the library is scanned.

The example enables administrator editing, lyrics search, and permanent file deletion. Replace YOUR_SERVER_IP with an address your Cast speakers or TVs can reach, or remove BR_CASTMEDIABASEURL if no override is needed. Saving changes and deleting files require write access to the music folder. For a read-only library, set both BR_ENABLEMEDIAFILEMETADATAEDITING and BR_ENABLEMEDIAFILEDELETION to "false" and change :rw to :ro.

Android app

  1. Download the APK from the latest Android release to your phone and install it. Allow installation from that source if Android asks.
  2. Open Bragi and choose music on your phone or connect to a Bragi server.
  3. To use a server, enter its base address, such as https://music.example.com or http://192.168.1.100:4533, and sign in with your Bragi account.

The native Android app also works offline as a standalone player: choose music on your phone to browse and play locally stored audio without a server or internet connection. It supports Android 8.0 and later, background playback and Google Cast for server tracks. For build instructions, see Android development.

Bragi native Android app

Acknowledgements & License

Bragi is based on Navidrome by Deluan and contributors. Licensed under the GNU General Public License v3.

About

personal light and modern media Player with native Android App

Topics

Resources

Code of conduct

Contributing

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages