{"id":37212542,"url":"https://github.com/icholy/mermaidai","last_synced_at":"2026-01-15T00:27:30.518Z","repository":{"id":271026350,"uuid":"912184648","full_name":"icholy/mermaidai","owner":"icholy","description":"Use OpenAI advanced voice to create mermaid diagrams.","archived":false,"fork":false,"pushed_at":"2025-02-02T19:21:17.000Z","size":158,"stargazers_count":6,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-02T20:21:11.026Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/icholy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-04T21:00:11.000Z","updated_at":"2025-02-02T19:21:19.000Z","dependencies_parsed_at":"2025-02-02T20:20:06.202Z","dependency_job_id":"f0fc28bf-5a2a-4ffb-b690-22007e6b2749","html_url":"https://github.com/icholy/mermaidai","commit_stats":null,"previous_names":["icholy/mermaidai"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/icholy/mermaidai","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icholy%2Fmermaidai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icholy%2Fmermaidai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icholy%2Fmermaidai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icholy%2Fmermaidai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/icholy","download_url":"https://codeload.github.com/icholy/mermaidai/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icholy%2Fmermaidai/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28439701,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T22:37:52.437Z","status":"ssl_error","status_checked_at":"2026-01-14T22:37:31.496Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-15T00:27:29.859Z","updated_at":"2026-01-15T00:27:30.500Z","avatar_url":"https://github.com/icholy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mermaid AI\n\n\u003e Use OpenAI advanced voice to create [mermaid](https://mermaid.live) diagrams.\n\n## Install\n\n```\ngo install github.com/icholy/mermaidai@master\n```\n\n## Usage\n\nStart the server, and open the UI in your browser: http://localhost:8000\n\n```\nmermaidai\n```\n\nNotes:\n\n* If you don't have an `OPENAI_API_KEY` environment variable, you can pass it using the `--apikey` flag.\n* You must click the \"Update\" buttons after manually editing any text.\n* Don't read the FE code.\n\n## Screenshot\n\n![](./images/screenshot.png)\n\n## Diagram\n\n``` mermaid\nsequenceDiagram;\n    participant Mermaid as Mermaid Diagram;\n    participant Browser as Browser Client;\n    participant Server as Server;\n    participant OpenAI as OpenAI Real-time API;\n    Browser-\u003e\u003eServer: Request Session;\n    Server-\u003e\u003eOpenAI: Request Temporary Token;\n    OpenAI--\u003e\u003eServer: Provide Temporary Token;\n    Server--\u003e\u003eBrowser: Provide Session (Token);\n    Browser-\u003e\u003eOpenAI: Request with Token;\n    OpenAI--\u003e\u003eBrowser: Return SDP;\n    Browser-\u003e\u003eOpenAI: Establish RTC Connection;\n    loop RTC Communication\n        Browser-\u003e\u003eOpenAI: Send Mermaid Diagram State;\n        Browser-\u003e\u003eOpenAI: Send Voice Information;\n        OpenAI--\u003e\u003eBrowser: Tool Call (updateMermaidDefinition);\n        Browser-\u003e\u003eMermaid: Update Diagram with Parameters;\n    end\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficholy%2Fmermaidai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ficholy%2Fmermaidai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficholy%2Fmermaidai/lists"}