mirror of
https://github.com/kjanat/articulate-parser.git
synced 2026-01-16 07:02:09 +01:00
- Add CGO_ENABLED=1 to CI test step for race detection - Fix docker job needs (remove dependency-review, only runs on PRs) - Restore .pre-commit-config.yaml for local dev safety - Rename html_template.html to .gohtml (conventional extension) - Add GitHub URL and default branch info to AGENTS.md - Add .dprint.jsonc config - Various formatting normalization
2.1 KiB
2.1 KiB
Articulate Parser - Docker
A powerful command-line tool for parsing and processing articulate data files, now available as a lightweight Docker container.
Quick Start
Pull from GitHub Container Registry
docker pull ghcr.io/kjanat/articulate-parser:latest
Run with Articulate Rise URL
docker run --rm -v $(pwd):/data ghcr.io/kjanat/articulate-parser:latest https://rise.articulate.com/share/N_APNg40Vr2CSH2xNz-ZLATM5kNviDIO#/ markdown /data/output.md
Run with local files
docker run --rm -v $(pwd):/data ghcr.io/kjanat/articulate-parser:latest /data/input.json markdown /data/output.md
Usage
Basic File Processing
# Process from Articulate Rise URL
docker run --rm -v $(pwd):/data ghcr.io/kjanat/articulate-parser:latest https://rise.articulate.com/share/N_APNg40Vr2CSH2xNz-ZLATM5kNviDIO#/ markdown /data/output.md
# Process a local JSON file
docker run --rm -v $(pwd):/data ghcr.io/kjanat/articulate-parser:latest /data/document.json markdown /data/output.md
# Process with specific format and output
docker run --rm -v $(pwd):/data ghcr.io/kjanat/articulate-parser:latest /data/input.json docx /data/output.docx
Display Help and Version
# Show help information
docker run --rm ghcr.io/kjanat/articulate-parser:latest --help
# Show version
docker run --rm ghcr.io/kjanat/articulate-parser:latest --version
Available Tags
latest- Latest stable releasev1.x.x- Specific version tagsmain- Latest development build
Image Details
- Base Image:
scratch(minimal attack surface) - Architecture: Multi-arch support (amd64, arm64)
- Size: < 10MB (optimized binary)
- Security: Runs as non-root user
- Features: SBOM and provenance attestation included
Development
Local Build
docker build -t articulate-parser .
Docker Compose
docker-compose up --build
Repository
- Source: github.com/kjanat/articulate-parser
- Issues: Report bugs or request features
- License: See repository for license details