dopamine

digimezzoGPL-3.0活跃维护

一款用 Electron 和 TypeScript 写的极简本地音乐播放器,支持 Windows、macOS 和 Linux,专注干净界面与流畅播放体验。

The audio player that keeps it simple

v3.0.12发布于 2026-11-07 22:35 UTC2,425star +4 / 7 天163fork同步于 2026-11-10 11:44 UTC

怎么上手

由 README 提炼,执行前请确认
git clone https://github.com/digimezzo/dopamine.git
cd dopamine
npm install
npm start
硬件要求按 README 说明

README 未说明;仅需能运行 Electron 的 Windows、Linux 或 Mac 桌面环境

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

基于 Electron 的简洁跨平台音乐播放器,帮你轻松整理和播放本地音乐

一款用 Electron 和 TypeScript 写的极简本地音乐播放器,支持 Windows、macOS 和 Linux,专注干净界面与流畅播放体验。

核心能力

  • 用 Electron + Angular + TypeScript 构建,支持 Windows、Linux、Mac
  • 自动扫描并整理本地音乐库,界面简洁美观
  • 支持自定义翻译,可在应用数据目录放置 JSON 语言文件
  • 提供 Snap、Flatpak、AUR、rpm、pacman 等多种安装方式

容易踩的坑

需要 Node.js 22,版本不符可能装不上依赖;因原生依赖 better-sqlite3,各平台安装包必须在对应系统上构建;Snap 版访问 /media 需手动执行 sudo snap connect dopamine:removable-media

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本v3.0.12
  1. v3.0.12Dopamine 3.0.12最新正式版2026-11-07 · 2026-11-07 22:35 UTC

    [3.0.12] - 2026-11-07

    Added

    • Slider to resize album covers in the list of albums
    • Support for WebP album covers
    • Synced lyrics support for Windhawk's Desktop Audio Visualizer Plus
    • Support for the Turkish alphabet in the list of artists
    • Audio device output settings
    • Skipping of prefixes in the artists screen has been re-added, but this time it's configurable.
    • It is now possible to create and use your own translations
    • Flatpak installation via FlatPark (Thank you @jing2uo)

    Changed

    • Updated the German translation (Thank you @mgfirewater)
    • Updated the Portuguese (Brazil) translation (Thank you @henrique-coder)
    • Updated the Turkish translation (Thank you @mertssmnoglu)

    Fixed

    • Wave progress bar glitches
    • Album cover shown even though a file does not have any
    • Artists tab doesn't filter the albums when artist splitting is disabled
    • Metadata (Album, Year, Cover) is sometimes not displayed in the showcase view
    • Last.fm "Now Playing" expires prematurely (Thank you @jonson-zero)
    • Memory leak in the audio player, causing glitches that worsen over long playback sessions. (Thank you @ThatOnePersonCalledAnon)
    • Accented lyrics lookups (Thank you @dbqp01)
    • Star ratings of loved songs are not backed up or restored correctly
    • Memory leak on Linux causing a rogue Dopamine process to remain alive even after closing
    • Drop shadows on now playing pictures have banding and look ugly

    P.S.: If you enjoy Dopamine, please consider donating via PayPal or buying me a coffee. Your support keeps the music going!

  2. v3.0.11Dopamine 3.0.112026-09-26 · 2026-09-26 05:22 UTC
    查看更新说明

    [3.0.11] - 2026-09-25

    Added

    • Added optional wave progress bar
    • Ctrl+F now selects all text in the search box for quick replacement
    • Added optional Stop button (Hidden by default, but can be enabled in the settings.)
    • Scroll position is now remembered when switching screens
    • Added buttons to the playback queue to clear the queue and to add the queued songs to a playlist
    • Added album release date to album image tooltips and optionally on the nog playing page
    • Added a playback speed control (Thank you @henryshuen)

    Changed

    • Updated the Simplified Chinese translation (Thank you @jeremyooh)
    • Updated the Vietnamese translation (Thank you @honhatduy)

    Fixed

    • Adding artist image doesn't always work
    • Crash when displaying rich lyrics of songs with a lot of artists
    • On KDE, Dopamine appears under "Lost & Found" in the application menu instead of "Multimedia" (Thank you @adem4ik).
    • Failure to index files with malformed TXXX frames

    P.S.: If you enjoy Dopamine, please consider donating via PayPal or buying me a coffee. Your support keeps the music going!

  3. v3.0.10Dopamine 3.0.102026-08-28 · 2026-08-28 16:53 UTC
    查看更新说明

    [3.0.10] - 2026-08-28

    Changed

    • Improved the equalizer design
    • Updated the German translation (Thank you @mgfirewater)
    • Updated the Russian translation (Thank you @adem4ik)

    Fixed

    • Empty strings in Equalizer with incomplete language packs
    • When sorting large playlists, songs sometimes still move back to their original position.
    • Mini player has incorrect size on macOS
    • Window restore issues on macOS and GNU/Linux (Wayland)
  4. v3.0.9Dopamine 3.0.92026-08-19 · 2026-08-19 18:56 UTC
    查看更新说明

    [3.0.9] - 2026-08-19

    Added

    • Added an equalizer
    • Added a clear selection button on artists, genres, albums, playlist folders and playlists screens.
    • Added an option to show a more compact total duration in songs lists

    Changed

    • Updated the Portuguese (Brazil) translation

    Fixed

    • Crash on startup when failing to get the system color when "Follow system color" is enabled
    • Snap version does not start on the first launch
    • Artists whose names start with accented letters (e.g. Ş, Ü) incorrectly grouped under # instead of their base letter in the artists list
    • Tracks of multi-disc albums were grouped by disc number across albums instead of being listed per album
    • When sorting large playlists, songs sometimes move back to their original position.
    • Newline character not processed correctly on some lyrics
  5. v3.0.8Dopamine 3.0.82026-08-06 · 2026-08-06 08:56 UTC
    查看更新说明

    [3.0.8] - 2026-08-05

    Added

    • Pressing a letter on the keyboard, scrolls to the pressed letter on artists and genres screens and selects all artists and genres starting with that letter focussing on albums for those artists or genres
    • Added option to show artist image as background (Thank you @FranzDeschler)
    • Added option to edit artist images (Thank you @FranzDeschler)

    Changed

    • Improved rating and love backup
    • Updated the Bulgarian translation (Thank you kukata)
    • Updated the Simplified Chinese translation (Thank you @jeremyooh)
    • Updated the Portuguese translation (Thank you @Blackspirits)
    • Updated the Vietnamese translation (Thank you @honhatduy)

    Fixed

    • Scroll issues on the playlists screen when using compact songs list
    • "Show in Folder" in Snap version does not work for directories outside of /home (Thank you @mvanhorn)
    • Snap package is broken

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    Dopamine

    Dopamine

    Dopamine is an elegant audio player which tries to make organizing and listening to music as simple and pretty as possible. This version is written using Electron, Angular and Typescript and works on Windows, Linux and Mac.

    Get it from the Snap Store

    Get it on FlatPark

    Dopamine icons created by Sharlee.

    Release GitHub Workflow Status Issues Donate

    Dopaminescreenshot.1

    Dopaminescreenshot 2

    Dopaminescreenshot 4

    Dopaminescreenshot 3

    Dopaminescreenshot 3

    Custom translations

    Dopamine creates a Translations directory inside its application data directory, next to Dopamine.db, and copies all bundled translations there. You can copy one of those JSON files to a new language code (such as xx.json) or edit an existing one. Dopamine adds missing bundled files again when the language menu opens, but never overwrites your edits. Use the same flat key/value format; include language-name-english and language-name-localized to label a new language in the welcome and appearance language menus. For example:

    {
        "language-name-english": "Example language",
        "language-name-localized": "Example name",
        "welcome-to-dopamine": "Welcome!"
    }
    

    The menu discovers new files when opened. A user file with the same name as a bundled language overrides that language's translations. Missing keys fall back to the default English translation (unless the file overrides English itself). To test edits to a translation that is already selected, select another language, then switch back to reload the file.

    Debugging

    I recommend using JetBrains Rider or WebStorm to debug this project. The .run folder contains a debugging configuration Debug renderer that allows you to attach to the Dopamine instance that is started when running npm start. Most of the code runs in the Electron renderer. That is why only a renderer configuration is provided for now.

    Build prerequisites

    • rpm: required to build rpm package
    • libarchive-tools: contains bsdtar, which is required to build pacman package.

    Build prerequisites on Ubuntu:

    • Install Node.js 22
    • Install your IDE of choice (Rider, WebStorm, Visual Studio Code, ...)
    • Install rpm (required to build rpm package) and libarchive-tools (contains bsdtar, which is required to build pacman package): sudo apt install rpm libarchive-tools

    Follow the build instructions below to start or build Dopamine for your platform.

    Build prerequisites on Manjaro:

    • Install Node.js 22:
      • yay -S nvm
      • nvm install 22
    • Install your IDE of choice (Rider, WebStorm, Visual Studio Code, ...)
    • Install rpm (required to build rpm package): sudo pacman -S rpm-tools

    Follow the build instructions below to start or build Dopamine for your platform.

    Build prerequisites on Windows:

    • Download and install Node.js 22 from https://nodejs.org (During the installation, select all features and check the box to install Tools for Native Modules).
    • After the installation of Node.js, restart computer to ensure that npm is added to the path.
    • Install your IDE of choice (Rider, WebStorm, Visual Studio Code, ...)
    • Download the Dopamine source code
    • Open the "dopamine" folder (the folder containing package.json) in your IDE

    Follow the build instructions below to start or build Dopamine for your platform.

    Build prerequisites on MacOS:

    • Install Node.js 22 from https://nodejs.org (During the installation, select all features and check the box to install Tools for Native Modules).
    • Make sure npm is accessible via the console
      • Press command + space and search for console
      • Write npm --v and press enter, this should give you the version number if npm is properly installed.
    • Install your IDE of choice (Rider, WebStorm, Visual Studio Code, ...)
    • Download the Dopamine source code
    • Open the "dopamine" folder (the folder containing package.json) in your IDE

    Build instructions

    Due to the native dependency better-sqlite3, this project cannot be built for all platforms on GNU/Linux. The GNU/Linux packages must be built on GNU/Linux, the Windows package must be built on Windows and the MacOS package must be built on MacOS.

    $ git clone https://github.com/digimezzo/dopamine.git
    $ cd dopamine
    $ npm install                # Install dependencies
    $ npm start                  # Start Dopamine
    $ npm run electron:windows   # Build for Windows
    $ npm run electron:linux     # Build for Linux
    $ npm run electron:mac       # Build for Mac
    

    Pacman

    Installation

    The pacman package can be installed using this command (replace x.y.z with the correct version number):

    sudo pacman -U Dopamine-x.y.z.pacman

    If you're getting an error concerning a missing package libappindicator-sharp, use this command to perform the installation instead (replace x.y.z with the correct version number):

    sudo pacman -U Dopamine-x.y.z.pacman --assume-installed libappindicator-sharp

    Rpm

    Installation

    The rpm package can be installed using this command (replace x.y.z with the correct version number):

    sudo dnf install Dopamine-x.y.z.rpm

    Arch User Repository (AUR)

    Installation

    Dopamine is available in the AUR as dopamine-official. So the installation is as simple as:

    yay -S dopamine-official
    

    Note: the dopamine package in the AUR is not maintained by me. My package is dopamine-official.

    Snap Store

    Installation

    Dopamine is available in the Snap store. So the installation is as simple as:

    snap install dopamine
    

    If you wish to install a manually downloaded snap package, the command is as follows (replace x.y.z with the correct version number):

    snap install --dangerous Dopamine-x.y.z.snap
    

    Access to /media

    I've added the removable-media plug to the Dopamine Snap configuration to allow access to /media. However, unlike the home plug, removable-media is not auto-connected by default. After installing your Dopamine snap, verify its connections:

    snap connections dopamine
    

    You should see:

    removable-media  dopamine:removable-media  -  -
    

    If it says -, it’s not connected yet. You'll have to connect it manually by running this command:

    sudo snap connect dopamine:removable-media
    

    Once you've done that, your Dopamine should be able to access /media.