daniellee-ux

CLI for encoding and decoding Diagent diagram URLs. Includes Claude Code skill.

30
3
100% credibility
Found Apr 15, 2026 at 32 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
TypeScript
AI Summary

A tool that converts plain text flowchart descriptions into compact shareable web links for viewing diagrams and reverses the process to retrieve editable text.

How It Works

1
🔍 Discover Easy Diagram Sharing

You learn about a helpful tool that turns simple flowchart descriptions into short web links anyone can view.

2
💻 Set Up the Tool

You quickly add the sharing tool to your computer following a simple guide, so it's ready whenever you need it.

3
✏️ Describe Your Flowchart

You write out the steps of your idea or process in plain text, like a simple map of what happens next.

4
Create Your Shareable Link

The tool instantly transforms your text into a super-short, magical web link that displays your diagram beautifully.

5
📤 Share the Link

You copy the short link and send it to friends, colleagues, or post it online effortlessly.

6
👁️ View or Retrieve the Diagram

Anyone clicks the link to see the visual diagram, or you use the tool to pull back the original text for edits.

🎉 Ideas Shared Perfectly

Your flowcharts look professional and are easy for everyone to understand and build on.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 32 to 30 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is diagent-cli?

diagent-cli is a TypeScript CLI for encoding Mermaid diagrams from stdin or files into short, shareable Diagent URLs—like `https://diagent.dev/d/abcdefghij`—and decoding them back to source. It hits a Cloudflare backend for constant-size short links, auto-falling back to LZ-compressed inline URLs if the backend flakes, ensuring it never fully breaks even offline. Run `diagent encode flow.mmd` for a URL or `diagent decode ` to extract Mermaid, with Claude Code skill install for agent-friendly diagramming.

Why is it gaining traction?

Unlike basic base64 encoding cli tools or aws cli encoding utf8 hacks, it delivers legible short URLs unbounded by diagram size, plus seamless decode for both formats via HEAD requests. The Claude skill auto-teaches AI agents like Claude, Codex, or Gemini CLI encoding without config, shining in cli github actions, cli github copilot workflows, or cli github linux/ubuntu/windows setups. Zero SDK fuss—just PATH it and agents draw/share diagrams natively.

Who should use this?

AI agent wranglers using Claude Code or cli github gh to visualize flows in chats. Devs in cli github repo clones diagramming auth or data pipelines via Mermaid. Teams scripting url encoding cli in GitHub Actions or Azure CLI encoding pipelines needing reliable diagram sharing.

Verdict

Grab it for Claude-powered diagramming—solid fallback logic and agent integration make it practical despite 30 stars and 1.0% credibility score signaling early maturity. Docs are crisp, tests cover round-trips; watch for wider adoption before production pipelines.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.