Repository navigation
feat(chat): /album on c0mpute.com/chat — band, songs, lyrics, cover, zip - #270
Merged
Merged
Conversation
`/album <idea>` (also /lp) asks Infernet's /api/chat/album to name a
band, an album and 8 songs (or the count the idea asks for, 2-12),
write their lyrics, draw a cover and render every track on c0mpute
workers. The chat shows the cover, band, album, concept and a live
track list; each finished track plays and downloads from
/api/v1/music/<track id>, and the finished album downloads as one zip
("Band - Album/": cover.jpg, album.txt, NN - Title.mp3 tagged with
lyrics + cover, NN - Title-lyrics.txt).
- proxies: POST /api/v1/album, GET /api/v1/album/<id>, /cover, /zip
- lib/chat/album.ts: command parsing, request validation, a sanitizer
for Infernet's poll body, progress text, track file names (+ tests)
- billing stays on Infernet: each track costs one /music song
Needs InfernetProtocol/infernet-protocol#184 live.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ThreatCrush Security Scan13 finding(s) HIGH/CRITICAL: 1 | MEDIUM: 8 | LOW: 4
Snippets are redacted; ThreatCrush never prints matched credential material. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
/album <idea>(also/lp) in c0mpute.com/chat. Infernet (InfernetProtocol/infernet-protocol#184, merged) does the work:The chat shows the cover, band, album, concept and a live track list (per-track node progress). Each finished track plays and downloads from
/api/v1/music/<track id>. When the album is done, one zip downloads:Band - Album/withcover.jpg,album.txt,NN - Title.mp3(ID3 tags: title, artist, album, track n/N, lyrics, embedded cover) andNN - Title-lyrics.txt.Proxies:
POST /api/v1/album,GET /api/v1/album/<id>,/cover,/zip(streamed through).lib/chat/album.ts: command parsing, request validation, a sanitizer for Infernet's poll body (track ids must be UUIDs, unknown fields dropped), progress text and track file names, withalbum.test.ts(4 tests, passing).Billing: stays on Infernet; each track costs one
/musicsong.tsc --noEmitis clean. Note:music.test.tsalready had one failing expectation on master (the "queued" wording changed inmusic.ts); this PR doesn't touch it.🤖 Generated with Claude Code