EvilFreelancer

Turns any OpenAPI/Swagger API into an CLI with set of commands. One CLI command per endpoint.

83
6
100% credibility
Found Mar 13, 2026 at 81 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
TypeScript
AI Summary

A command-line tool that dynamically generates subcommands from OpenAPI specifications to interact with HTTP APIs without code generation.

How It Works

1
💡 Discover the helper

You hear about a simple tool that turns web service descriptions into easy-to-use commands right in your terminal.

2
🚀 Start it up

You run the tool quickly on your computer without any fuss or extra downloads.

3
🔗 Link your service

You share the web address of your service and point to its instruction guide so the tool understands it.

4
Commands ready!

Magically, a bunch of friendly commands appear, each one matching an action your service can do.

5
🔍 Search if needed

When there are many choices, you describe what you want and get the best matches shown first.

6
▶️ Give it a go

You pick a command, add any details it asks for, and press enter to make it happen.

🎉 Data delivered

Your results show up neatly on screen, making it super easy to work with your service anytime.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 81 to 83 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 openapi-to-cli?

This TypeScript CLI turns any OpenAPI or Swagger spec into a runnable command-line tool, mapping each API endpoint to a subcommand like `ocli messages_get --limit 10`. Feed it a spec URL or file, add auth and base URL via `ocli onboard`, and get instant shell access without code generation—perfect for quick API tinkering. It caches specs, supports JSON/YAML, and handles basic/bearer auth out of the box.

Why is it gaining traction?

Unlike codegen tools like openapi-cli-generator, it runs at runtime for zero-build onboarding via npx, plus BM25-powered search (`ocli commands --query "upload files"`) shines on huge APIs. Multiple profiles let you switch APIs seamlessly (`ocli use myapi`), and it's token-cheap for AI agents versus MCP servers—pipe commands, chain with shell, no context bloat. Devs dig the native composability over JSON tool schemas.

Who should use this?

API testers scripting REST endpoints daily, AI agent builders feeding shell tools to LLMs, or backend teams prototyping against services like Stripe or internal dashboards. Ideal for openapi to python client or typescript client workflows where you want CLI over SDKs, especially with endpoint filtering for scoped access.

Verdict

Grab it for fast openapi to cli prototypes—npx makes it frictionless—but with 46 stars and 1.0% credibility, it's early and unproven; expect rough edges despite solid docs. Worth a spin if openapi generator cli github actions aren't cutting it, just test thoroughly.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.