feat: add web interface, REST API server, and monorepo package restructuring - #15
Merged
Merged
Conversation
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.
Summary
Introduces a web interface and local REST API server (
jazz-tools serve) for interactive harmonic analysis and companion score previewing, while reorganizing the Go codebase into idiomaticcmd/jazz-toolsandinternal/jazzpackages.Changes Made
internal/jazz/with package declarationpackage jazz.cmd/jazz-tools/main.go..github/workflows/ci.ymlbuild step to target./cmd/jazz-tools.internal/server/):jazz-tools serve [--port 8080] [--host 0.0.0.0]command.POST /api/analyzeto parse iReal Pro URLs, HTML playlists, or MusicXML files into structured harmonic journey and Berklee device data.POST /api/companion/xmlfor companion sheet MusicXML generation.POST /api/companion/pdffor LilyPond print PDF compilation.GET /api/samples(bundled tunes: Waltz For Debby, Jordu) andGET /api/health.web/):embed.FSinweb/embed.go(no Node.js required at runtime).README.mdwithjazz-tools servewalkthrough and build instructions.Verification & Testing
go test -v -race ./...passesgo vet ./...passesgofmt -l .clean--help,analyze,serve) verified