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

3 days ago (github.com)

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

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.

  • I think the real question here isn't whether roll your own software will replace large complex 'configurable' systems, but whether companies that roll their own will replace the companies that don't.

    ie are the efficiency gains of having something that's exactly tailored to you enough to create a competitive advantage.

    It's back to the old idea - of software eating the world.

    So for example in the UK - there is a relatively new 'energy' company called Octopus - it's grown and grown and finally overtaken the old established players.

    In reality it's not an energy company - it's a software company - that used it's expertise in software to overtake it's energy supplier competitors - it was able to provide innovative products in the market because it controlled it's own software - rather than 'big vendor says no'.

    I think it's telling that the founder originally left school at 16 to write computer games, before coming back to do a degree etc.

    ie the question is - for any particular industry what's the benefit of custom software. Does a bakery having it's own give it enough of an advantage?

    • I'm a bit bitter about Octopus, although they did rescue us from the horrors of our previous supplier their insistence on us getting "smart" meters that can't then function as smart meters because of poor signal and are actually more difficult to read than our old meters has left me not hugely impressed with them.

      1 reply →

  • I'm the main dev in a small IT company, my backlog is filled with requests, it's not always easy to prioritize and plan, some of those small projects are ignored for months, yet their business value are sound.

    I've observed a new trend, managers who are frequently in the wait list started to use AI to generate small local apps. They still rely on my input when it's complex, or when implementation could generate risks or need resilience and would ask for small code reviews when they are unsure of the generated code quality.

    The result is win win, I have more time for high value projects the executives want to prioritize, and managers can innovate faster almost on their own.

  • > “…big ERP service providers selling you SAAS.”

    My work uses these services and it’s interesting to see the divide between companies who have documented APIs (some also with “marketplaces”), and others who have many thousands of dollars partnerships license requirements to get API access.

    Or companies who are very restrictive about what they will let you do with their API, presumably in an effort to control the ecosystem around their products—whether it’s because they fear being open would devalue their product, or they have a strong notion of their market position and won’t admit any integration which upsets their governance.

  • First slowly then all at once. [1]

    [1]: https://finance.yahoo.com/sectors/technology/software-applic...

    • That looks demonstrative! For those that don't want to click, from Aug to Feb S&P is up 10%. "Software - Applications" is down 21%.

      But in this context, is Uber[9% weight, down ~4% YTD] a transportation company that roles it's own software for competitive advantage? I think other's in the composition are similar. The takeaway is maybe that the tech landscape is changing or LLMs have spooked investors and they're running without direction. But that doesn't necessarily speak to bespoke software uptake (already) cutting into profits(?) Uber would be fine in that case?

  • I think some the prevalence of AI is actually turning the bias on this. It would actually be a return to the roots of the start of early business computing - and sort of picking up where excel et al left off. I don't think it's AI the tech itself, it's the confidence for companies to build a customized software stack and maintain it is what AI mostly contributes.

  • > Which as a tendency threatens ALL clumsy big ERP service providers selling you SAAS.

    Wait, what?

    The big ERP vendors aren't under any threat, the small ones are.

    No business is going to switch from a system that has armies of low-paid consultants to in house AI developed system that has effectively zero consultants who can come in and perform the deployment with tested integrations to their accounting system, their 200 suppliers, their customer systems and their 3rd party auditing systems.

    But, small businesses who were not going with a 12m contract for 5 consultants, and who dont have any need for integrations to suppliers, customers and 3rd party systems can do their own systems.

    It sounds like you are very far removed from ERP and business systems in general.

    All magnetic coding is going to do is further entrench existing large systems because new systems, whether AI generated or not, will be too numerous for any one of them to gain traction.

    • My wife's old company, a fairly significant engineering consultancy, ran it's entire time/job management and invoicing system from a company wide, custom developed Microsoft Access app called 'Time'.

      It was developed by a single guy in the IT department and she liked it.

      About 5 years ago the company was acquired, and they had to move to their COTS 'enterprise' system (Maconomy).

      All staff from the old company had to do a week long (!) training course in how to use this and she hates it.

      In future I think there will be more things like 'Time' (though presumably not MS Access based!)

      7 replies →

    • > It sounds like you are very far removed from ERP and business systems in general.

      am I really? it sounds so many people in big ERP service providers are oblivious of the tide rising that will wash them away, because you know what - most of these companies are super pricey, super slow, very messy and tend to fail large-scale projects that cost millions? I've seen this happen personally, and I have personally, as a sole player implemented ERPs with custom inhouse software.

      Trust me brother, I know ERPs very well and seen hundreds of high-profile fakers that have zero knowledge of E/R, Business Architecture, and integrations, that still believe they can get away with nonsense.

      Hope you're not one of them.

      2 replies →

    • You think the big players aren’t going to use the new tools to massively cut employees and costs?

  • > rather than downloading potentially malicious and foreign code

    So I shouldn't download and use this right? I can't verify if it's potentially malicious or not

    • I meant random gh repos really here, though same argument stands for SAAS which is very very very much interested in your data, and you have exactly zero guarantees and control over what happens to it once ingested. Like - GDPR exists not to protect users, but to enforce anonymization of the data that is then going to be aggregated and sold.

      Now imagine my not-so-complext ERP or internal system - can be developed with little or no effort. Why would I give Benioff my dollars rather than spend it on in-house assets, that also increase the valuation of my company? I find very little reason to do so in 2026.

  • Not just that, previously many orgs outsourced to consultancy, now when the consultancies also start outsourcing to AI, sooner all business may cut the middleman and have inhouse it teams outsourcing work to AI instead of consultancies !

  • You do realize that making software by developer for his wife means for random business is hiring a third party dev to build custom software?

    So still, for ransom business much cheaper and better to buy software from SaaS vendor.

    In this case it was better ONLY because the client is the wife of the developer.

    And even now, if he sells this to other businesses - it will be MUCH cheaper to buy his subscription than homebrew the same version of it - as if it starts selling it he will be adding features and support which requires time (which is money).

    • > You do realize that making software by developer for his wife means for random business is hiring a third party dev to build custom software?

      No, this is not true. There are so many non-technical users of Microsoft Access that run their won businesses without hiring anyone. A friend of mine had a business with an yearly turnover shy of $3M (which is small, alright) and it was running wired spreadsheets and google forms. 20 people. He never ever bought any software, and existed for more than 10 years, until his wife (yes his waifu) decided to divorce and bring the company down.

      Business Architecture is not so much about writing the software, sorry, we as IT professionals would love to think it is, but this is a super weak bias.

      2 replies →

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.

  • The truth is that I put a lot of work in at the beginning to define the data structure and flows by myself. AI was very useful later to experiment with how to build the views on top of it and to fix some issues.

    I still had to think hard about how to make this simple and easy for someone who does not have deep knowledge of this manufacturing domain.

    *Lessons learned:*

      1. Data structure is almost everything, then comes business logic
      2. You must have deep domain knowledge of what you are building
      3. Iterate fast on the views built on top of the data structure
    
    

    *PS*

    All mobile fixed had been resolved and deployed ;)

  • AI will write whatever kind of code you want it to write. If you know how to write clean code and you can describe that in a prompt, it will give you clean code that is indistinguishable from that of a talented dev.

    • > If you know how to write clean code.

      If we're assuming that:

      I find it less time consuming to just write the code, understand it 99% (since I wrote it), and debug the rest, than it is to try to describe it to the AI, understand a fraction of what it spits out, and spend more time understanding it and fixing it.

      If you can just write clean code just do that. Also, you will improve your skills even more the more you do that (shocker). So the next time you have to do that it will be even easier. This is called learning a skill.

      Sorry for the rough tone, reading that back haha. But still posting because I'm just passionate about it, it's nothing personal though.

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

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.

  • It can still be a LLM-induced marketing stunt to catch attention though. "Hey let's add a bakery story so people can relate to it!"

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.

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.

  • Thanks! Would love to hear your feedback. I'm a solo developer so iteration is really fast

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 ?

  • Yeah, trying to pump more memory. It took a few weekends over a long period of time

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

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

  • A few weekends. At the end I used AI to get JSON:API and GraphQL working, plus the docs website, a few UI changes + bug fixing

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

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.

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

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.

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

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!

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.

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

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

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

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.

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