HN CompanionHN Companion new | best | ask | show | jobs
Show HN: Craftplan – I built my wife a production management tool for her bakery (github.com/puemos)
175 points by deofoo 2 days ago | 21 comments
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



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

AI Agents Assemble!

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.


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 is definitely a nit but is there any reason you need 2 decimal places accuracy for percent complete?

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?


Ash can be used in conjunction with Phoenix, they aren't mutually exclusive. Ash is really just a framework for modeling your domain(s) and getting a bunch of helpful functionality for free (e.g advanced querying capabilities, pagination, data validations, json+graphql apis, and more) Then you could use those functionalities with phoenix to build a full web app. Or you could use something else other than phoenix, it's up to you :)

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

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

Looks like Arc Browser.

Thanks!

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.

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 that you can just "curl download the docker compose file and docker up" to run. Awesome UX.

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

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

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

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.

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

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.

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