Tools/littledivy/mimic

mimic

Intercept any app, then call it from Python like a library

1.6k+16/wkemergingPythonMIT Licensenew this week

The Lens

By Erik Loyd, SaaS CEO and former COO/CFO of an AWS Premier Partner.

Updated Jul 2026

Mimic turns any app into a Python library. Point it at an app, it captures the traffic through mitmproxy, pulls out the auth tokens and session data, and uses Claude to generate a plain Python client for the endpoints it saw. Then you import that client and call the app's private API from your own code. MIT, free, from a well-regarded developer.

Setup is one script: `sh install.sh` grabs uv, sets up an isolated environment, and bundles mitmproxy so you do not install it separately. The flow is `mimic record` to capture, `mimic hosts` to see what it found, and `mimic gen` to write the client. It works against iOS apps through the proxy and web apps via cURL requests copied from your browser's dev tools. Getting the proxy and device trust set up is the fiddly part; the generation itself is quick.

For a developer who needs to script against an app that has no public API, this is a clever shortcut, and it costs nothing. It is a personal-scale tool, not a team platform: no seat model, no hosted service. Solo use is the whole story.

The catch is two-fold. Technically, certificate pinning and sender-constrained tokens (DPoP) will block capture on hardened apps, so it will not work everywhere. Legally, replaying an app's private API can violate its terms of service, and the project is explicit that it is for your own accounts only. Use it where you have the right to; the tool will not make that judgment for you.

Free vs Self-Hosted vs Paid

fully free

Free: MIT licensed. Captures app traffic via mitmproxy, extracts auth bundles, and generates a Python client for the endpoints. mimic record / hosts / gen workflow.

Self-hosted: Runs locally via sh install.sh (installs uv and an isolated env, bundles mitmproxy). iOS apps via the proxy, web apps via copied cURL.

Paid: No paid tier.

Free and MIT. A personal-scale tool for scripting apps that have no public API; ToS is your responsibility.

What to do by team size

Solo
free
Small team
free
Larger team
free
Self-hosting ops:moderate

Get tools like this every Wednesday

One featured tool, three on the radar. No fluff.

Score
58/100 · C+
Adoption13/30
Maintenance15/25
Community5/20
License15/15
Analysis10/10

A low score is not a verdict on quality. Young and niche tools start low by design. How we calculate scores

License: MIT License

Use freely, including commercial. Just keep the license.

Commercial use: ✓ Yes

About

Owner
Divy Srivastava (User)
Stars
1,552
Forks
101

Explore Further

More tools in the directory