Podcast episode
We Were Nearly Break-Even, Then My CTO Quit Mid-Pivot | Gamal Aleryani, BlueJ
21 November 2026 · 34:45
Guest: Gamal Aleryani
Company: BlueJ
How To Pivot A Startup Without Breaking It
Most pivots die halfway, with the old product broken and the new one unfinished. How to plan the middle six months so the business keeps paying for itself.
Read the matching guide →About this episode
Gamal Aleryani's co-founder and CTO gave six months' notice just as BlueJ began pivoting from a B2C marketplace to SaaS. Gamal tried to sprint the pivot home before he left. The code broke halfway, five services became two, and a bootstrapped business that was nearly break-even started burning cash.
Show notes
His CTO gave six months' notice. He tried to finish the pivot in six weeks.
Gamal Aleryani is the Founder of BlueJ, a platform that lets restaurants, retail shops, laundromats and service providers run orders, payments and logistics in one place. It didn't start there. BlueJ began as a B2C marketplace with five services under one app: food, grocery, mart, laundry and an on-demand runner.
Right as Gamal started pivoting BlueJ to SaaS, his co-founder and CTO resigned. He saw it coming and got six months' notice. Instead of planning around the exit, he tried to sprint the whole pivot home before his CTO walked out the door. He didn't make it.
15% when the giants took 35%
The idea came from a real pain. Gamal and his co-founder were students in Cyberjaya, where everything closed early and the nearest food meant a trip to Putrajaya or KL. They talked about it in 2017, got serious in 2019 and launched officially in 2021.
During COVID, small F&B businesses had no choice but to list on the big delivery marketplaces at 30 to 35% commission, closer to 40% with hidden fees. BlueJ charged a flat 15% with no hidden fees, on one condition: vendors didn't mark up their online prices. More than a hundred vendors signed up, and word of mouth did the rest.
The customers asked for a different product
The first question every vendor asked was "how much commission?" The second problem came out over time. On the marketplaces they never saw the customer, only the dish. They didn't know who ordered or whether that person would come back, and they didn't own any of the data.
That is what drove the pivot: give SMEs their own branded storefront and the tools to run the business, at zero commission. A real problem, raised by the people paying him.
Best friend, CTO, a few hours a month
His CTO was his best friend of about twelve years. Gamal was the business side and had no technical background. The split was clean: Gamal said what the business needed, his CTO translated it into technical work and ran the four or five developers.
By late 2023 his co-founder had moved to Germany, held a full-time job and was dealing with personal issues. It wasn't a bad breakup. He just couldn't give BlueJ the time, and handed over six months' notice. In practice Gamal got a few hours a month.
"In my head, it was only six, seven weeks"
Gamal knew it was a risk and took it anyway. He wanted the new foundation built while his CTO was still there, so the team could carry it on. What he missed: this wasn't a feature release. The whole platform was changing.
- There was no time to plan, so nothing was broken down into milestones.
- Food, grocery and mart shared similar logic, so when they changed food, they changed the other two as well.
- The work happened somewhere that was "not really production, not really staging." Then a lot of the code broke.
Stuck halfway
The team didn't know whether to roll back or push forward. Gamal paused, told vendors they needed a few weeks to upgrade, and was transparent with his 30 to 40 early loyal customers. The few weeks kept stretching. Customers who came for food found no food. Being honest didn't stop them comparing BlueJ with the giants, and vendors and customers left.
Five services became two. Not by choice: laundry and the runner service were the ones still working. BlueJ had been close to break-even as a bootstrapped startup. Now it was burning cash with nothing moving.
Borrowing to stay alive
Going back to B2C was too late. After three months of losses, Gamal borrowed money personally and put it into the business. He cut costs by moving the team from full-time to part-time and freelance, keeping the same people because they knew the product.
As a foreigner in Malaysia, a business loan would have needed a local shareholder with more than 50% to act as guarantor, so he borrowed in his own name. "It was the most f**ked up phase in my life in terms of stress."
The niche he didn't plan
While food was down, laundry quietly carried the business. An average food order was about RM30. A laundry order could reach RM400. Laundry revenue jumped more than 100%.
Gamal signed two more laundry vendors in new areas and gave each vendor a link to send their own customers to BlueJ, in exchange for 3 to 5% less commission. People who came in for laundry ended up using the other services too. Ben's take: every startup book says start with a niche, and BlueJ found one the hard way. Get a f**king niche.
Bridges burned
Gamal had doubts. He thought about going back to the old marketplace and stopping there. But the damage was done. What kept him going was what he and a team member had heard walking into restaurants one by one: many had signed up to move onto the SaaS platform once it was ready. When he showed them an early version and asked if they were still in, they said yes.
He stopped leaning on someone else to translate. He learned the tech stack, the flows and the logic, and met each developer separately to see where they were stuck and how the back end, front end and design connected. Then BlueJ brought its services back one by one.
What a non-technical Founder actually needs
"You don't have to become a developer." Gamal's advice is to learn enough to understand the back end and the backbone of your own system. It let him turn business needs into technical direction, answer feature questions when pitching, and see what BlueJ could add next, including AI.
The takeaway
A known deadline is a planning constraint, not a sprint target. If your technical co-founder is on the way out, read Your CTO Left And You Can't Read The Code, then How To Pivot A Startup Without Breaking It before you change a line of the product. Glenn Tan's story, my CTO quit with no runway left, is the same f**k up from a different angle. If you're carrying a decision like this alone, that's what 1:1 coaching is for.
Find Gamal
Explore BlueJ, Gamal's zero-commission platform that gives SMEs their own branded storefront, ordering, payments and logistics.
Episode chapters
- 00:00 — The CTO quit mid-pivot.
- 01:17 — BlueJ as a B2C marketplace.
- 03:05 — 35% commissions vs a flat 15%.
- 04:22 — Vendors wanted their customers back.
- 08:31 — Best friend, CTO, six months' notice.
- 13:06 — "Only six, seven weeks."
- 14:32 — Changing three services at once.
- 15:38 — Stuck halfway: vendors and customers leave.
- 19:18 — Five services down to two.
- 20:01 — Nearly break-even, then the burn.
- 20:35 — Learning the tech stack himself.
- 22:33 — Borrowing money, going part-time.
- 23:41 — Borrowing as a foreigner in Malaysia.
- 24:45 — The most stressful phase of his life.
- 25:14 — Laundry doubles and becomes the niche.
- 26:32 — Get a f**king niche.
- 29:14 — Bridges burned. Only way is forward.
- 32:10 — How much tech a non-technical Founder needs.