← Back to Blogs
HN Story

Vibe Coding: Replacing a $20k Enterprise Logistics Platform with AI

May 15, 2026

Vibe Coding: Replacing a $20k Enterprise Logistics Platform with AI

For many startups, the decision to build versus buy is a fundamental strategic crossroads. Traditionally, the 'buy' option—opting for an enterprise SaaS platform—is the safe bet to avoid the grueling work of writing API integrations and managing complex logistics logic. However, as the cost of software development plummets thanks to Large Language Models (LLMs), the math is changing.

TRMNL recently found themselves at this crossroads after a breakdown in service from their logistics provider, ShipHero. What followed was an experiment in "vibe coding": replacing a $20,000/year enterprise platform with a custom-built solution powered by Claude, developed in a matter of weeks.

The Breaking Point: When SaaS Becomes a Liability

TRMNL utilized ShipHero for two primary functions: managing order holds/notes and executing the shipping process. While the system worked adequately for a time, several friction points emerged:

  • Poor User Experience: Non-existent mobile layouts and a fragmented web portal split across two domains with poor SSO.
  • Lack of Support: Ignored support tickets and a lack of responsiveness from account managers.
  • Critical Failure: A total service outage at their Berlin warehouse, coupled with erratic postage pricing (jumping from $12 to $140 for the same shipment).

When the provider stopped replying to messages, TRMNL decided to stop paying for the service and rebuild the platform using AI.

The "Vibe Coding" Workflow

The process of rebuilding the platform wasn't about writing every line of code by hand, but rather orchestrating AI to handle the heavy lifting of design and integration.

From Screenshots to High-Fidelity Mockups

Using Claude Design, the team fed screenshots of the existing ShipHero portals into the AI. The goal was not to innovate for innovation's sake, but to maintain "inertia-friendliness." Because the warehouse team had developed muscle memory for the old UI, the new system needed to feel familiar to ensure a seamless same-day switchover.

Remarkably, the AI was able to infer complex UX patterns—such as the "click item on left, move to right" shipping portal logic—without explicit before/after state descriptions.

Tackling the Integration Nightmare

The most daunting part of any logistics platform is the courier API integrations (UPS, FedEx, DHL, USPS). These integrations often involve JSON payloads exceeding 1,000 lines of code, especially when dealing with hazardous materials and international shipping.

This is where LLMs provided the most significant leverage. By feeding the AI the technical documentation for these couriers, TRMNL avoided the manual slog of reading FedEx documentation, turning what would have been a months-long project into a rapid deployment.

Architecture and Testing

To manage the actual build, the team used the Claude CLI and a tool called "Superpowers," which employs a Socratic approach to architecture. Instead of simply generating code, the tool asks clarifying questions to determine the exact requirements, which is critical for complex logic like multi-warehouse support and foreign key management.

To ensure stability, the team leaned heavily on automated testing. As the author notes, "slop is 80% as safe as it is tested," emphasizing that AI-generated code requires a rigorous testing harness to be production-ready.

The Final Product: A Custom Logistics Engine

The resulting platform is more than a clone; it is a tailored tool optimized for TRMNL's specific needs:

  • Hardware Integration: A custom Swift utility for network printers that prints 4x6 labels and packing slips in one click.
  • Concurrency Control: WebSockets lock orders to specific warehouse team members to prevent double shipments.
  • Order Optimization: A "Merge Orders" interface to combine multiple orders from the same customer, reducing postage costs.
  • Automation Rules: A serverless-style infrastructure allowing the team to write rules in Python, Ruby, or Node to automatically assign shipping methods based on SKU, location, and Incoterms.

The Bottom Line: The New SaaS Reality

The project took approximately 80-100 hours of development time, followed by one week of on-site debugging. The result was a system that loads faster, prints faster, and costs significantly less to maintain than the $20k annual contract.

This shift highlights a growing trend in the software industry. As one community member noted on Hacker News:

"Having the ability to build custom software for your business is an incredible super power. I think this also puts a lot of price pressure on SaaS companies overall."

For enterprise software providers, the lesson is clear: when the value proposition shifts from "we save you from writing code" to "we provide a superior service," any provider relying on legal contracts and high churn barriers to keep customers will find themselves vulnerable to a "smart person with a subscription to an autocomplete CLI."

References

HN Stories