Live data from Hacker News

Show HN: CLI to order groceries via reverse-engineered REWE API (Haskell)

github.com

1–10 of 94 posts

Show HN: CLI to order groceries via reverse-engineered REWE API (Haskell)

#1
I just had the best time learning about the REWE (German supermarket chain) API, how they use mTLS and what the workflows are. Also `mitmproxy2swagger`[1] is a great tool to create OpenAPI spec automatically.

And then 2026 feels like the perfect time writing Haskell. The code is handwritten, but whenever I got stuck with the build system or was just not getting the types right, I could fall back to ask AI to unblock me. It was never that smooth before.

Finally the best side projects are the ones you actually use and this one will be used for all my future grocery shopping.

[1]https://github.com/alufers/mitmproxy2swagger

Show HN: CLI to order groceries via reverse-engineered REWE API (Haskell)
github.com

Re: Show HN: CLI to order groceries via reverse-engineered REWE API (Haskell)

#9
I love the idea of a CLI for groceries. Do you have plans to support 're-order' scripts or meal-plan integration? I can imagine a workflow where a recipes.yaml file gets piped into your CLI to automatically fill the cart with everything needed for the week. Much faster than clicking through a mobile UI.

Re: Show HN: CLI to order groceries via reverse-engineered REWE API (Haskell)

#10
That's funny, I've just built the same thing for Asda in the UK https://github.com/markDunne/asdabot

It can search for items, add them to the basket, picks a delivery slot and does the checkout.

With a little more scaffolding in markdown files, this now takes care of my weekly shopping.

Post reply on HN