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

github.com

115 points by deofoo 2 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

zmhanham an hour ago

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

nsriv an hour 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?

  • zmhanham an hour ago

    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 :)

mandeepj an hour 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.

pimlottc 3 hours ago

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

xianshou 2 hours ago

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

Vivtek 2 hours ago

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

ggm 2 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.

protocolture 3 hours ago

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

sukh 2 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.

cyberax 2 hours ago

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