Show HN: Craftplan – I built my wife a production management tool for her bakery

github.com

414 points by deofoo 3 days ago


My wife was planning to open a micro-bakery. We looked at production management software and it was all either expensive or way too generic. The actual workflows for a small-batch manufacturer aren't that complex, so I built one and open-sourced it.

Craftplan handles recipes (versioned BOMs with cost rollups), inventory (lot traceability, demand forecasting, allergen tracking), orders, production batch planning, and purchasing. Built with Elixir, Ash Framework, Phoenix LiveView, and PostgreSQL.

Live demo: https://craftplan.fly.dev (test@test.com / Aa123123123123)

GitHub: https://github.com/puemos/craftplan

larodi - 7 hours ago

Good, I will with great pleasure now reiterate my point about people now producing their own code, even complex stuff, rather than downloading potentially malicious and foreign code. Which as a tendency threatens ALL clumsy big ERP service providers selling you SAAS.

Go ahead - I'm ready to be down-voted again and again until folks realize it is inevitable, as is inevitable that many companies in the area of business software are going down down down.

shane_kerns - 4 hours ago

This is a great piece of software, with much thought put into nitty gritty details. Aside from the gripes around the mobile experience that some have outlined here, I would say you've put much thought into this piece of software. Your wife is lucky that she has a talented software developer for a husband. AI or no AI, I think this is a very clean and beautiful piece of software. This doesn't seem like its Vibe coded, because AI doesn't write such clean code but maybe AI is improving and I'm just bad at telling which is which. Nonetheless, keep up the great work and thanks for sharing. I'm downloading it just to learn from your codebase. Its not like before AI came around talented devs didn't create working side projects to help their loved ones out.

nottorp - 44 minutes ago

The question is, does the bakery still produce bread, or does it now randomly produce bread, ice cream or frogs?

theturtletalks - 27 minutes ago

I'm actually building open-source SaaS for every vertical and leveraging that to build an interoperable marketplace. I'm nearly done with the restaurant one (alternative to Toast).

ssenssei - 41 minutes ago

omg its built with elixir... Everytime I see my favorite language pop up I'm a little happier.

zmhanham - 12 hours ago

OK HN, time for us to build a full open source general purpose ERP in Elixir based on Ash XD

sentrysapper - 2 hours ago

You can tell this was written with love. Regardless of what tools were used to make this, I think we could all do more of this for the people important in our lives.

spockz - 8 hours ago

This is amazing! My wife is also planning to open up a bakery and I was thinking of building something similar. Hadn’t thought of that daily production workflow, just the ingredients and recipes into cost/labour/profit parts.

Some small things: When trying to edit a product (almond cookies) on the phone, I cannot scroll the pop-up so cannot go to all fields or the save button. When calculating the total calories it prints kg as the unit instead of cal. On the overview page of materials for a product it only shows “grams” per ingredient without the actual number.

edoceo - 10 hours ago

I love this. I know another small batch baker who also thought it was cool (we'll dig more when sober). BOM+cost is rad. Eager to try forecasting a weekend-rush situation.

My only nit, as a legacy internet goober is, use example.com for these throw away addresses; it's reserved for that purpose.

dhatawesomedude - 2 hours ago

This looks great! Love the screenshots, although I'm unable to login to the app. Likely due to the extra traffic this post has gotten. How long did it take you to build this ?

artemave - 6 hours ago

And I built e-commerce for my wife's micro-bakery https://thonon-les-pains.fr/ (most of it - like product and order management - is behind auth).

I don't think it's useful to anyone - not white label, not open source - but still funny :)

jack_pp - 4 hours ago

Can you estimate how many hours went into this? Did you use agents?

mandeepj - 12 hours ago

Is the logic behind "Usage Forecast" and "Reorder Planner" hard-coded somewhere? I'm not seeing any configuration for that, so I had to ask the question.

dude250711 - 24 minutes ago

Well done Claude, good job!

randogp - 6 hours ago

Awesome, does it support Semiproducts? For example I'm making my own jam (sugar + fruit) and then I use this again as a material in different finished products, say cakes and croissants.

pimlottc - 13 hours ago

This is definitely a nit but is there any reason you need 2 decimal places accuracy for percent complete?

rbabtista - 10 hours ago

This is very cool! How did you make a dashboard this good?

Vivtek - 12 hours ago

Oh man. My wife's biscotti business will benefit from this. Nice work!

protocolture - 13 hours ago

I think I have needed this for 3d printing for some time

rubymamis - 4 hours ago

Live demo not loading for me - hug of death?

lateral_cloud - 10 hours ago

Nice work. My wife will love this. Only minor gripe is the production schedule doesn't play nicely on mobile. Text leaks between columns.

viviansolide - 5 hours ago

You've done a great job!

It's simple, well documented, and uses appealing technologies.

I'm sure your wife's business will take off.

joeyguerra - 10 hours ago

I love that you can just "curl download the docker compose file and docker up" to run. Awesome UX.

uint8_t - 9 hours ago

Just amazing. I had a need for something like this but wound up building it out in Mathesar. That, too, is an amazing project, but my business logic has to remain separate. Jeepers, you're even getting into labor accounting - well done!

ggm - 13 hours ago

I think this is a very nicely thought out approach. I particularly like it doing allergen tracking. Obviously you're at the mercy of supplier/supply-chain integrity but if you do e.g. wind up with ground cumin contaminated with god knows what, this is what will get you where you need to be.

alexcroox - 4 hours ago

Login submission hangs forever, guessing too much traffic

xianshou - 12 hours ago

Nice! 5 bucks says you can swap this in for your average software kanban and it does a better job.

Abimelex - 4 hours ago

awesome and thank you for open sourcing it! Maybe consider renaming it, since there is CraftNote, an app with similar scope in construction business.

nsriv - 12 hours ago

Love to the point of invention! This looks and feels great.

I'm an Elixir newbie and wondering if I should start with learning Ash or stick with Liveview until I know more. Any thoughts on what Ash solved for you over Phoenix Liveview?

- 12 hours ago
[deleted]
peterpost2 - 6 hours ago

That is one good-looking website.

Seems like the live demo website is about to die though.

mh- - 10 hours ago

Rather offtopic question: what browser are the screenshots taken in? The window chrome looks familiar but I can't put my finger on it.

thedangler - 10 hours ago

This is unreal. Nice work How long did it take ? I tried to use ash to build a simple app and couldn’t get it to work lol.

I’m an elixir noob

dabedee - 8 hours ago

Honestly, well done and thanks for sharing it. I also really appreciate the fact that you included multiple screenshots of the UI, as well as some of the agent plans. Reading the code and project structure, it feels like you put in the work.

sukh - 13 hours ago

Looks well thought out. We wrestle with website, real ERP and building Notion connectors for production orders in make to order scenarios so there’s definitely a pain point.

bryanzborges - 2 hours ago

Incredible

fergbrain - 8 hours ago

This looks amazing! How long did it take to get to this state?

johng - 7 hours ago

This is really awesome, congrats!

hkt - 4 hours ago

This is why technical people make the best spouses

fud101 - 6 hours ago

This is incredible work. Can we get a blog post?

cyberax - 13 hours ago

As someone who struggled with ERPs, this is super-nice and clean!

builderhq_io - 5 hours ago

[dead]