Lurker News
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

Comments (167) 54 threads

larodi17 replies#
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.

deofoo#
100%
ramshanker#
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 !
lelanthran4 replies#
> 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.

lelanthran2 replies#
> Are you sure about that? Because thats exactly what Klarna is doing/has done.

That link does not say that they are switching away from a system that requires armies of consultants to implement.
AFAICT, they are switching away from Jira (Atlassian/confluence products). Those are not ERP systems.
Once again, I must point out that the these sorts of assertions reveal that the person making the assertion has never been involved in an ERP rollout, neither a big one nor a small one.
And, again, I reiterate, the only threat is to small players in the market, who don't have a community to hire from. Because to become a big player, you need to gain traction as a small player, and if every small ERP system can be replaced with an AI generated system, non single one is ever going to gain traction (Why pay $10/user/month for a basic system when you can have AI generate that for a once of fee and some employee time?)

Continue this thread — 2 replies

mrkeen#
> We realized 1 million context window is not enough to explain all facets of Klarna > Every new thread of AI is the same employee starting from scratch again. First day at the job.

Agents are limited. With you so far.
> This week we get a demo of a vibe coded frontend that is more beautiful and easy to use than any ticket management system I have seen
Again, totally matches my expectations. Agents totally make pretty stuff that looks like working software.
I just haven't drunk enough management wine to connect the dots and figure out these facts support a jira replacement.
It also gets me wondering, if Atlassian leaned more heavily into AI (More vibe coding, more agents, more layoffs) would they have been able to keep the Klarna contract?

RobinL2 replies#
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!)

spockz5 replies#
I still think MS Access was awesome. In the small companies I worked it was used successfully by moderately tech savvy directors and support employees to manage ERP, license generation, invoices, etc.

The most heard gripe was the concurrent access to the database file but I think that was solved by backing the forms by accessing anything over odbc.
It looked terrible but also was highly functional.

Continue this thread — 5 replies

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

That's my assertion - those things like 'Time' can be developed by an AI primarily because there is no requirement of an existence of a community from which to hire.
It's an example of a small ERP system - no consultants, no changes, no community, etc.
Large systems (Sage, SAP, Syspro, etc) are purchased based on the existing pool of contractors that can be hired.
Right now, if you had a competing SAP/Syspro system freshly developed, that had all the integrations that a customer needs, how on earth will they deploy it if they cannot hire people to deploy it?

Continue this thread — 1 reply

larodi1 reply#
> 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.

lelanthran1 reply#
> Hope you're not one of them.

I've been part of enough ERP contracts to know that customers evaluate their options based on how easy it is to hire consultants on the open market.
I did do quite a lot of custom software prior to AI-slop, and that market is completely destroyed with vibe-coding agents. The ERP one looks like it is simply going to further entrench the big players, because new ERPs evolve from some custom application, and once that pipeline is gone, your choices are going to be "build it yourself with no ability to hire for it" or "Go with one of the existing behemoths".
My argument is that AI will remove the pipeline that leads to incumbents seeing more competition.

Continue this thread — 1 reply

newsclues#
You think the big players aren’t going to use the new tools to massively cut employees and costs?
risyachka1 reply#
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).

larodi3 replies#
> 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.

deofoo#
So true, we devs are so stuck in our own bubble
germinalphrase1 reply#
Almost every SMB I interact with sounds like this company. Was it founded more than 10 years ago? Probably holding the ship together with spreadsheets and email.

Continue this thread — 1 reply

risyachka#
>> He never ever bought any software

>> was running wired spreadsheets and google forms
So he was using someone's software.
Probably he grew his business to 3M for this exact reason - by focusing on business and not playing tech company by homebrewing software. Which only proves my point.

wwfn#
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?

nkapias6 replies#
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.

makerdiety#
That sounds good enough for me.
kayo_202110301 reply#
How do these managers deploy the code? Is it run locally, or sent to some server?

Excel used to be, and probably still is, the primary competitor to enterprise-developed apps - a lot of businesses run on it. But, that was a locally deployed phenomenon, with an added ability to deploy it somewhere else by simply emailing the workbook to someone else.
In your organization, how do your managers turn their code into working software?

nkapias1 reply#
All platforms have their own known single way to deploy, they give the documentation to AI as constraints.

Some users with privileged access can run their app locally in cli or browser, else most softwares we work with can use custom modules in specific languages (html, css, js, dax, vb.net, perl, python, sql, etc.). Ownership and trust must be established, for example only the commercial manager has access to deploy modules to CRM. They usually are constrained to read access, unless they are informed engineering managers.
Ideally I would share pipelines to deploy static pages, or a predefined dynamic architecture. I'm wary the security risks are too great, I don't trust they would have enough time / interest to become autonomous in unconstrained environments so I didn't pursue the idea, maybe I could for static pages, or in isolated networks ..

Continue this thread — 1 reply

Continue this thread — 3 more replies

Continue this thread — 11 more replies

shane_kerns2 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.
billynomates1 reply#
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.
zmhanham1 reply#
> 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.

billynomates#
Reading is much faster than writing, that's a given. You can generate the rules in less than an hour, then never have to write a line of code again.

But maybe you have trouble writing prompts. Spend some time learning how to do that and it will be even easier. It's a skill ;)

deofoo1 reply#
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 ;)

kejaed#
#1 reminds me of my favourite software quote:

"Show me your flowchart and conceal your tables, and I shall continue to be mystified. Show me your tables, and I won't usually need your flowchart; it'll be obvious." -- Fred Brooks

Soerensen2 replies#
The approach of building for one specific user (your wife) rather than abstracting too early is underrated. You end up with something that actually fits the workflows instead of a generic tool that needs heavy configuration.

Elixir + Ash is an interesting choice for this domain. LiveView particularly shines for internal tools like this where you want the interactivity without managing a separate frontend build. Curious how the AI code generation worked with Ash specifically - the declarative nature seems like it could either help a lot (clear patterns) or confuse models that expect more explicit code.
The BOM with cost rollups is the feature that would have saved me hours in a previous project. Most small batch producers I know either overprice everything out of caution or underestimate costs because tracking ingredient pricing through recipes is tedious in spreadsheets.

deofoo#
Elixir + Ash is so good, and AI works very well with it because it can understand the domain you are working in. LiveView is amazing, not just for internal tools. I would even say that in most cases it will outperform flashy UIs, because it focuses on actual users who work with the app every day, not people who just want to be impressed for a minute
toddmorey#
I love this so much. I do worry about the hidden cost of maintaining these software stacks that have a userbase of one. Things like hidden vulnerabilities, bugs, and edge cases that could bring a business down for days.

But I do think the days of just having to learn, tolerate, and accept any commercial software stack for your business because it's too complex to build yourself are over. What vendors remain will have to absolutely meet users with their unique requirements and budget.

zmhanham2 replies#
OK HN, time for us to build a full open source general purpose ERP in Elixir based on Ash XD
Onavo#
AI Agents Assemble!
t0mas881 reply#
"That's a great idea! Do you want me to create a PRD, a million markdown files and some useless Playwright tests?" -- Claude
LunaSea#
... and you don't have token credits anymore.

Load more comments