Skip to content

Provide the required service and plugin to create mermaid images within Librechat

License

Notifications You must be signed in to change notification settings

bsu3338/librechat-mermaid-plugin

Repository files navigation

librechat-mermaid-plugin

Provide the required service and plugin to create mermaid images within Librechat

Build

docker build -t mermaid-api . or docker compose build

Run

docker compose up -d

Testing

PNG Test

curl -X POST -H "Content-Type: application/json" -d '{
  "code": "graph LR\n  A-->B;\n  B-->C;"
}' http://localhost:3000/png -o output.png

SVG Test

curl -X POST -H "Content-Type: application/json" -d '{
  "code": "graph LR\n  A-->B;\n  B-->C;"
}' http://localhost:3000/svg -o output.svg

Wellknown Test

curl http://localhost:3333/.well-known/ai-plugin.json

About

Provide the required service and plugin to create mermaid images within Librechat

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published