frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Mimikos – Zero-config mock server that infers API behavior from OpenAPI

2•codeguruking•1h ago
I built a mock server that reads an OpenAPI spec and serves realistic, deterministic responses — no mock definitions, no config files.

``` mimikos start petstore.yaml ```

That's the entire setup. Mimikos parses your spec, classifies each endpoint (create, fetch, list, update, delete), and generates schema-valid responses with realistic data. Same request always returns the same response, so it's safe for snapshot tests and CI.

What's different from Prism, WireMock, etc.:

Most mock servers either (a) require you to hand-write every response, or (b) generate random data that changes on every request. When the spec changes, your mocks break — or worse, silently become wrong.

Mimikos sits in an unoccupied spot: zero config + high-quality responses. The key piece is behavioral inference — a three-layer heuristic classifier that determines what each endpoint does (not just what it returns) from the HTTP method, path structure, response schema, and operationId. It gets this right 96% of the time across a 344-endpoint corpus (Stripe, GitHub, Asana, Spotify specs).

Features:

1. Deterministic responses via request fingerprinting + per-field sub-seeding (adding a field to your schema doesn't change existing field values) 2. Stateful mode (`--mode stateful`) for full CRUD workflows — POST creates, GET retrieves, DELETE removes 3. 120+ semantic field mappings — `email` gets an email, `name` gets a name, `url` gets a URL 4. Spec-authored `example` values used directly when present 5. RFC 7807 error responses with field-level diagnostics for invalid requests 6. Single Go binary, no runtime dependencies, <50ms responses

Technical details:

The architecture separates startup from runtime: spec parsing, schema compilation, and behavior classification happen once at startup. At request time, it's routing + deterministic generation from a pre-computed seed. No AI in the request path — no LLM calls, no network dependencies.

I explored using LLMs for behavior classification twice (GPT-4.1, Claude) and they scored worse than the heuristic both times. The heuristic wins because it can exploit structural signals (path patterns, schema shapes) that LLMs tend to ignore in favor of semantic reasoning.

Written in Go, single binary. OpenAPI 3.0 and 3.1. Apache 2.0 licensed.

- Get started: https://mimikos.dev/getting-started/ - Repo: https://github.com/mimikos-io/mimikos

OpenAI expands Codex beyond coding with computer use, memory, and plugins

https://www.neowin.net/news/openai-expands-codex-beyond-coding-with-computer-use-memory-and-plugins/
1•Brajeshwar•10s ago•0 comments

"AI Affiliate Campaign Builder – Auto-generates funnels,leads and promos in 60s"

https://3000-ixuoqvbqmnmkcitl7dir1-6ba1a608.us2.manus.computer
1•rooseveltc•15s ago•0 comments

Recall issued for power banks after explosion kills woman

https://www.cpsc.gov/Recalls/2026/Casely-Reannounces-Recall-of-Wireless-Portable-Power-Banks-Due-...
1•labelbabyjunior•48s ago•0 comments

Closed Source Is a Business Decision, Not Security

https://javiergonzalez.io/blog/closed-source-as-a-security-model/
1•javier123454321•3m ago•0 comments

The Patchwright – Cyberpunk Short Film [video]

https://www.youtube.com/watch?v=-Rzl7nUdEs4
1•daureg•4m ago•1 comments

International standard paper sizes: A series

https://en.wikipedia.org/wiki/International_standard_paper_sizes
1•doener•4m ago•0 comments

Anthropic's Nuclear Bomb

https://warontherocks.com/cogs-of-war/anthropics-nuclear-bomb/
1•azanar•5m ago•0 comments

Show HN: PanicLock – Close your MacBook lid disable TouchID –> password unlock

https://github.com/paniclock/paniclock/
1•seanieb•6m ago•0 comments

SETI may have been tuned to the wrong frequencies

https://iopscience.iop.org/article/10.3847/1538-4357/ae3d33
1•johnbarron•6m ago•0 comments

I built an on-premise ERP for wholesale distributors in Delphi

https://asktheledger.com/
1•josephsprei•9m ago•0 comments

Show HN: Clamp – Web analytics your AI agent can read and query

https://clamp.sh
1•sidneyottelohe•9m ago•1 comments

The Future of Testing Is Here

https://testkube.wistia.com/live/events/gigwl708fn
1•evwitmer•10m ago•1 comments

Vectary Canvas: AI-accelerated ideation across 2D, 3D and AR

https://www.vectary.com/waitlist/
2•mkoor•10m ago•0 comments

The Value of a Performance Oracle

https://wingolog.org/archives/2026/04/07/the-value-of-a-performance-oracle
1•abnercoimbre•11m ago•0 comments

The Internet's Most Powerful Archiving Tool Is in Peril

https://www.wired.com/story/the-internets-most-powerful-archiving-tool-is-in-mortal-peril/
2•doener•13m ago•0 comments

Bringing BitNet to ExecuTorch via Vulkan

https://www.collabora.com/news-and-blog/blog/2026/04/17/bringing-bitnet-to-executorch-via-vulkan/
2•losgehts•14m ago•0 comments

European Space Agency, more than 400 job opportunities in 2026

https://www.esa.int/About_Us/Careers_at_ESA/A_stellar_year_for_talent_more_than_400_job_opportuni...
2•johnbarron•15m ago•0 comments

Who will maintain the web when PHP's veterans retire?

https://thenewstack.io/php-web-skills-hiring-age/
2•Brajeshwar•15m ago•1 comments

Long-Tail Knowledge in Large Language Models

https://arxiv.org/abs/2602.16201
1•wslh•17m ago•0 comments

AI's Mainframe Moment

https://www.mjeggleton.com/blog/AIs-mainframe-moment
2•lelanthran•18m ago•0 comments

Where Enterprises Are Adopting AI

https://a16z.com/where-enterprises-are-actually-adopting-ai/
1•wslh•18m ago•0 comments

Apple's Mac Mini Went Viral. Why Can't You Buy One?

https://www.wsj.com/tech/personal-tech/apple-mac-mini-supply-3e7a7509
1•Anon84•19m ago•0 comments

Beyond Demo Day: Sorting and Value Added in Startup Accelerators

https://www.nber.org/papers/w35063
1•john_horton•20m ago•0 comments

Oil prices plunge as Iran says Strait of Hormuz 'open' during ceasefire

https://www.bbc.com/news/articles/ckg045z73z1o
3•geox•20m ago•0 comments

Hyperscalers have already outspent most famous US megaprojects

https://twitter.com/finmoorhouse/status/2044933442236776794
5•nowflux•21m ago•1 comments

Writing string.h functions using string instructions in asm x86-64

https://pmasschelier.github.io/x86_64_strings/
2•thaisstein•22m ago•0 comments

The Mystery of Rennes-Le-Château, Part 4: Non-Fiction Meets Fiction

https://www.filfre.net/2026/04/the-mystery-of-rennes-le-chateau-part-4-non-fiction-meets-fiction/
1•doppp•22m ago•0 comments

Probabilistic Record Linkage Using Pretrained Text Embeddings

https://www.cambridge.org/core/journals/political-analysis/article/probabilistic-record-linkage-u...
1•cowartc•23m ago•0 comments

I'm Coding by Hand

https://miguelconner.substack.com/p/im-coding-by-hand
1•evakhoury•24m ago•0 comments

The Instant Copy Trap Makes AI Creativity Impossible

https://tombedor.dev/creativity/
1•jjfoooo4•25m ago•0 comments