Skip to content

Initial commit#1

Merged
coolamit merged 10 commits intomasterfrom
development
Feb 10, 2026
Merged

Initial commit#1
coolamit merged 10 commits intomasterfrom
development

Conversation

@coolamit
Copy link
Owner

This pull request introduces the initial setup for a Go-based CLI tool (mmd-cli) that converts Mermaid diagrams to SVG, PNG, and PDF formats. The changes cover build and release automation, cross-platform support, Docker integration, dependency management, and comprehensive documentation. The most important changes are grouped below:

Build, Release, and CI Automation

  • Added GitHub Actions workflows for testing (.github/workflows/test.yml) and automated releases (.github/workflows/release.yml), enabling CI/CD for the project. [1] [2]
  • Introduced .goreleaser.yml for cross-platform builds and packaging, supporting Linux and macOS (x64 and ARM64), and automating changelog and checksums.

Docker Integration

  • Added a production-ready Dockerfile that builds the CLI binary and bundles Chromium for headless rendering, plus a compose.yaml for easy container orchestration. [1] [2]
  • Created .dockerignore to exclude unnecessary files from Docker builds, improving build efficiency.

Cross-Platform Build & Development Tools

  • Added a detailed Makefile with targets for building, testing, formatting, cross-compiling for multiple platforms, and Docker management.
  • Provided an install script (install.sh) for quick detection of OS/architecture, Chrome/Chromium presence, and fetching the latest binary release.

Dependency Management

  • Added go.mod for Go module and dependency tracking, including chromedp for browser automation and cobra for CLI parsing.

Documentation

  • Introduced a comprehensive README.md covering installation methods, requirements, usage examples, CLI flags, configuration options, Docker usage, and cross-compilation instructions.

@coolamit coolamit merged commit 50c9f82 into master Feb 10, 2026
2 checks passed
@coolamit coolamit deleted the development branch February 10, 2026 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant