Production-ready ChordPro Web API with security by default
1.2K
Production-ready REST API wrapper for the ChordPro CLI utility. Convert ChordPro format songs to PDF, HTML, text, and other formats via HTTP requests.
docker run -d -p 8080:8080 \
-e API_KEYS="your-secure-api-key-here" \
--name chordpro-api \
io41/chordpro-api:latest
docker run -d -p 8080:8080 \
--name chordpro-api-dev \
io41/chordpro-api:dev
Visit http://localhost:8080/ for interactive API documentation.
latest - Latest stable production releasev1.0.0 - Specific version tagsdev - Development version (no authentication)# Convert ChordPro to PDF
curl -X POST http://localhost:8080/convert \
-H "Content-Type: application/json" \
-H "X-API-Key: your-api-key" \
-d '{
"content": "{title: My Song}\n\n[C]Hello [G]world [Am]here",
"options": {"config": "ukulele,modern3"}
}' \
--output song.pdf
"config": "ukulele,modern3""config": "guitar""config": "keyboard""transpose": 2 (semitones)"meta": {"artist": "Artist Name"}API_KEYS - Comma-separated API keys (e.g., "key1,key2,key3")DEVELOPMENT_MODE=true - Disable authentication (not recommended)This image supports multiple architectures:
linux/amd64 - Intel/AMD 64-bitlinux/arm64 - ARM 64-bit (Apple Silicon, ARM servers)Docker will automatically pull the correct architecture for your platform.
hmac.compare_digest() for API key comparisonThis project follows ChordPro's licensing. The Docker wrapper is provided as-is for convenience.
Content type
Image
Digest
sha256:65e6d31b1…
Size
400.7 MB
Last updated
about 1 year ago
docker pull io41/chordpro-api