Show HN: Craftplan – I built my wife a production management tool for her bakery (github.com)

577 points by deofoo ↗ HN
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

64 comments

[ 117 ms ] story [ 2038 ms ] thread
I think I have needed this for 3d printing for some time
This is definitely a nit but is there any reason you need 2 decimal places accuracy for percent complete?
Nope, might change it based on the feedback
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.
Yeah. Notion is not a bad idea but you'll need to maintain the connections. In fact i did model the idea first in notion
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.
Yeah. Craftplan support batches so you can easily track down a bad batch
As someone who struggled with ERPs, this is super-nice and clean!
Nice! 5 bucks says you can swap this in for your average software kanban and it does a better job.
Oh man. My wife's biscotti business will benefit from this. Nice work!
Awesome. Please send any feedback, it will make me so happy to get another person to benefit from it
(comment deleted)
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.
Right now it's hard-coded. But based on your feedback I'm going to make some of it configurable
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?

OK HN, time for us to build a full open source general purpose ERP in Elixir based on Ash XD
AI Agents Assemble!
"That's a great idea! Do you want me to create a PRD, a million markdown files and some useless Playwright tests?" -- Claude
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

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.

I love that you can just "curl download the docker compose file and docker up" to run. Awesome UX.
Rather offtopic question: what browser are the screenshots taken in? The window chrome looks familiar but I can't put my finger on it.
Nice work. My wife will love this. Only minor gripe is the production schedule doesn't play nicely on mobile. Text leaks between columns.
This is very cool! How did you make a dashboard this good?
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!
This looks amazing! How long did it take to get to this state?
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.
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.

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.

Dude. Stay on topic.
This is really awesome, congrats!
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.
This is incredible work. Can we get a blog post?