Skip to content

Moondog

A listening room that shows its work, with a music agent and taste profiles you can inspect and correct.

Product · Active · 2026 · Updated

TypeScript, Pi, Music, TUI

Website (external) · Source (external)

Moondog is a listening room in your terminal. It turns listening history into a taste profile you can open, question, and correct.

The profile works without a model or a music-service login. An optional agent can talk music with you, find songs, and shape a playlist.

The project homepage introduces the room, while the public repository contains installation instructions and the current source.

README · on GitHub (external)

Moondog lunar record

Moondog

Source candidate 0.2.0-beta.1

A listening room that shows its work.

Moondog's listening room in charcoal: a lunar record beside the wordmark, a four-line tracklist, and the line Is there anybody out there

The real TUI, in charcoal, with fictional listening data.

Moondog is a listening room in your terminal. It reads the history your music services already keep, and turns it into a profile you can open, question, and correct. The profile works without a model, an API key, or a music-service login. When you want company, an agent can talk music with you, find songs you have not heard, and shape a playlist. Your data stays on your machine. The room is built on Pi.

Open the room

You need Node.js 22.19.0 or newer, on macOS or Linux. Install from this checkout to run the room shown here.

git clone https://github.com/Audiofool934/moondog.git
cd moondog
npm ci
npm start

@audiofool/moondog 0.1.0 is the published package. To see the agent work through fictional data, with no sign-in at all, run npm run demo from the checkout.

The source version supports moondog update and /update, with stable (latest) and preview (beta) channels. Startup checks show a quiet notification; installation happens only when you request it. See updating and release channels, including the one-time upgrade needed for the older npm 0.1.0 package.

The sleeve

The opening is a record sleeve drawn in characters. Nothing in the terminal is a picture. On a wide screen the record sits beside the title, with the wordmark level with the dog’s eye. On a tall or narrow screen the record stacks above the title. Moondog uses whichever arrangement leaves the record larger. A lyric rests midway between the record and the input box, with room on both sides. The input asks what you have been listening to.

Until your library has a line of its own, the sleeve rotates three short ones: “Where have you been?”, “Is there anybody out there?”, and “Wish you were here.” When a matching line from music you have played is available, that line takes the place. Moondog asks LRCLIB for the original words only, and does not send your profile, your history, or the conversation.

The room is black and white, like the moon. Paper is black ink on white. Charcoal is moonlight on a black sky. /theme terminal keeps your own colors. The only other colors are the six from the prism on The Dark Side of the Moon. Red means a step failed, orange is a caution, green confirms, and the spectrum shows while Moondog is working.

Press Tab on an empty input to step onto the tracklist, then use the arrow keys and Enter.

On the sleeveCommand
Listening profile/taste
Import your music/import
Appearance/theme
Help & commands/help

While the room is idle, lunar marks travel the record, a highlight follows the groove, and the needle pulses. The dog and the wordmark stay still. /motion off holds the sleeve. /art ascii switches the drawing. /home returns here and leaves the conversation where it was.

Bring your history

Type /import and pick a service. Moondog shows you what is inside before anything is saved. When the import finishes, your profile opens in the same TUI session.

ServiceWhat you can bring
SpotifyRecent plays after you connect, or the whole history from the ZIP Spotify emails you.
Apple MusicThe Library.xml you export from Music on a Mac.
YouTube MusicA Google Takeout export.
Last.fmYour scrobbles and loved tracks, read by username.
QQ Music and NetEaseAny public playlist, from its share link.
ListenBrainzA saved listens file.

A Spotify ZIP can also go straight in.

/import "/path/to/spotify-history.zip"

Importing the same file twice changes nothing, and your original files are never touched. Apple’s privacy download, and full QQ or NetEase listening history, are not supported yet. The terminal guide has every format.

With a connected model, /profile build writes a reading of everything you imported, usually in a few minutes. It names the threads in your listening, keeps what you played apart from what you saved, and marks its interpretations as interpretations. A second pass checks the draft for contradictions and invented claims, and the build fixes what it finds before saving. Use /profile saved to read it and /profile explain 1 to trace a finding to its evidence, including after restarting. New imports or corrections mark it for an update; a cancelled build keeps its draft and your previous reading. The builder sends a compact summary of your music evidence to your configured model when you ask for it.

Your profile

The profile says what you played, and what that cannot prove. Playing a song a lot does not, on its own, establish how much it matters to you.

The listening profile for the fictional track Midnight Lines by Mara Vale, with the plays on one side and the limit of that evidence on the other

Fictional data, with the evidence and the limit of that evidence.

In the profileWhat you can do
Find a song or artistType to filter, then open it.
See why it is thereRead what you played, what that cannot prove, and what you told Moondog, each on its own.
Make a choiceChoose I like this (Like) or Keep it out (Avoid), and the profile updates in place.
Change your mindChoose Undo my choice, and the original listening history never changes.
Find more like thisStart an editable request for three songs, from the track you picked.

Type /taste report for the long view. It walks the years one song at a time, names songs that went quiet and songs that came back, and ends on the dark side of the moon: what play counts can never tell anyone. You can save that report as a private page that works offline.

An agent, when you want one

Sign in with /auth, then pick a model with /model. GLM, Kimi, DeepSeek, Grok, GPT, Claude, Gemini, and OpenRouter are there. openai-codex uses your ChatGPT sign-in. You can switch models in the middle of a conversation. The model setup guide lists each provider and the environment variable it reads.

While an answer is on the way, each step appears in the conversation as it starts. The steps stay above the reply, with a count of what finished, what failed, and what was not confirmed. The agent can use musical knowledge and web research to find candidates, then verify the recordings on Spotify before playing or queueing them. Without Spotify, it plays 30-second Apple Music previews from the terminal instead, each next to a link to the full song. For example, “Pon doce de salsa clásica a la cola” asks it to add up to twelve verified songs directly; your history guides the choice without limiting it to your library. What it reads about the wider music world stays separate from what it knows about you.

Optional connectionWhat it adds
A model through PiConversation, discovery, and playlists built together.
Codex CLI/web lookups with links to their sources, through your own signed-in Codex CLI.
Spotify sign-inPlayback, and private playlists made only when you ask.

Your profile never touches the network. The agent talks only to the services you set up. /web sends the question or the link you give it, and nothing from your profile, history, or files. A Spotify ZIP does not need a Spotify sign-in. Read the connection and data details before you connect anything.

Getting around

Command or keyWhat it does
/tasteOpen your profile.
Type, arrow keys, EnterFilter, pick a row, and see why it is there, or make a choice.
Tab in the profileSwitch between All, Tracks, Artists, and Your choices.
Tab on the sleeveStep onto the tracklist, then press Escape to return to the line you were writing.
EscGo back, and the draft stays put.
Ctrl+PSearch every command.
Page Up, Page DownMove through the conversation while the header, the draft, and the status line stay put.
Up and Down in the draftRecall what you typed in this conversation.
Enter while Moondog is workingQueue the next message. It sends when this one finishes.
/resume, /newPick up a saved conversation, or start a fresh one.
/homeBack to the sleeve, without clearing the conversation.
/skip, /stopSkip to the next song preview, or stop the previews.
/lyricsSee which line is on the sleeve, and which song it came from.
/theme paperBlack ink on white.
/theme charcoalMoonlight on a black sky.
/theme terminalYour terminal’s own colors.
/languageChoose Moondog’s language: English, Español, Português (Brasil), 日本語, or 简体中文.

Each launch starts a new conversation. Your profile, and anything Moondog remembers, carry over.

Further

The source candidate is 0.2.0-beta.1, and the work happens in the TUI. GUI and Studio development is paused. The earlier browser prototypes remain for reference.

License

Moondog is open source under the Apache License 2.0. Copyright 2026 Audiofool.