logoalt Hacker News

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

182 pointsby deofoolast Sunday at 5:25 PM21 commentsview on 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 ([email protected] / Aa123123123123)

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


Comments

edoceotoday at 3:44 AM

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.

zmhanhamtoday at 1:59 AM

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

uint8_ttoday at 4:22 AM

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!

pimlottctoday at 12:21 AM

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

nsrivtoday at 1:57 AM

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?

show 1 reply
lateral_cloudtoday at 3:53 AM

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

mandeepjtoday at 1:56 AM

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.

mh-today at 3:51 AM

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

show 1 reply
protocolturetoday at 12:12 AM

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

thedanglertoday at 3:42 AM

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

joeyguerratoday at 3:49 AM

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

rbabtistatoday at 4:06 AM

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

ggmtoday at 12:51 AM

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.

xianshoutoday at 1:14 AM

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

Vivtektoday at 1:25 AM

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

sukhtoday at 12:38 AM

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.

cyberaxtoday at 12:59 AM

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