Skip to content

clankercode/fishgirl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fishgirl

Render Mermaid diagrams from the command line using Bun and @mermaid-js/mermaid-cli.

Install

npm install -g fishgirl

or:

bun add -g fishgirl

Usage

fishgirl --input diagram.mmd --output diagram.svg

Options:

  -i, --input <file>       Input Mermaid file (required)
  -o, --output <file>      Output file (required)
  -f, --format <format>    Output format: svg, png, pdf (default: svg)
  -t, --theme <theme>      Mermaid theme
  -b, --background <color> Background color, such as transparent or #ffffff
  -w, --width <px>         Viewport width in pixels
  -H, --height <px>        Viewport height in pixels
  -s, --scale <number>     Device scale factor
  -p, --pdf-fit            Fit PDF to page
  -c, --config <file>      Mermaid config JSON file
  -q, --quiet              Suppress log output
  -h, --help               Show help

Development

bun install
bun run typecheck
bun run index.ts --help

About

A Bun CLI for rendering Mermaid diagrams with mermaid-cli.

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors