01 / Case study
Propaganda na TV: the store TV runs its own ads and a price change shows up in seconds
How Belko Dev built Propaganda na TV: a live SaaS that puts ads on the store TV, with pairing by code and a player that keeps working offline.
- Industry
- SaaS for small businesses
- Status
- In production
- Role
- Belko Dev product, built by Wenderson Belko
- Stack
- Laravel 12 · PHP 8.2 · MySQL · Livewire 4 · Tailwind CSS 4 · Vite 7 · Asaas · Service Worker · Kotlin (Android TV e Fire TV) · Flysystem · Hostinger

02 / Context
Context
Bakery, barbershop, clinic, pet shop. Every store has a TV sitting idle on the wall. Propaganda na TV, a Belko Dev product, turns that screen into an ad board the owner controls from a phone, with no extra hardware to buy.
It is a Brazilian SaaS, already in production, for small businesses that want to advertise on the TV they already have. The owner picks a template, changes the text and the price, and the TV shows it all on a loop, all day.
Did the price of bread change? They adjust it on the phone and the TV updates by itself in seconds.
03 / The challenge
The challenge
The product had to work for people who are not technical and run on shared hosting, which limits MySQL connections per hour. The hard parts:
- Store owners don't know how to edit video, and they shouldn't have to. Layout, spacing and typography have to come already solved.
- Typing a password with a TV remote is the step that kills any setup.
- The TV polls the server every few seconds, and the hosting limits database connections per hour.
- If the internet goes down, the screen can't go dark.
- Billing is recurring: no payment can be forgotten or recorded twice.
04 / The solution
The solution
I designed the product to save database calls at every turn and to get the TV on the air with no effort from the store owner.
From account to TV in 3 steps
The owner builds a playlist from 23 ready-made templates (promotion, menu, opening hours, Wi-Fi). They open the link on the TV, where an 8-digit code appears, and confirm it on the phone. From then on they edit from anywhere: every change reaches the screen without anyone touching the remote.
Pairing without a password
The TV identifies itself with a code confirmed on the phone. The playlist link only works on a paired device, and disconnecting it in the panel drops the TV within seconds.
A signal of about 60 bytes
To find out that something changed, the TV reads a tiny static file served straight by Apache, without waking up PHP or the database.
Player routes without a session
The TV polls the server every few seconds. Removing the session from those routes cut connection usage in half.
A player that stays on without internet
The player runs in the TV's browser, with a Service Worker. The playlist and images are stored on the device itself, and the TV syncs again when the connection comes back. For Android TV and Fire TV there is a Kotlin app, with a WebView in kiosk mode.
Ready-made design for people who don't design
Each template comes with the layout already solved. The owner picks the brand palette once and the colors apply to every ad on the screen. A live preview shows, while they type, how the ad will look on the TV. The interface is built for the phone, with a bottom bar and large buttons, because the owner edits at the counter. Name, logo and colors are configurable in the backoffice, with nothing hardcoded.
Payments without duplicates and without gaps
Billing is per account, not per screen: a second TV doesn't double the invoice. The free plan is permanent and doesn't ask for a card. Payments run on Asaas, with a recurring subscription by Pix, boleto or card, and the customer chooses on the invoice itself.
- Webhook plus active reconciliation: besides receiving Asaas's notice, the system queries the API on its own, from the panel and on a scheduled routine. No payment gets forgotten.
- Idempotency: each event is recorded only once. Resending the webhook duplicates nothing.
- Dunning flow: a late payment opens a configurable grace period. A refund or cancellation puts the customer back on the free plan, and they are notified by email.
- Promotional coupons per plan, with an expiry date and a usage limit.
Backoffice for day-to-day operation
- Overview with sign-ups, open invoices, late payments and TVs on the air in real time.
- Customer management with "Log in as", to give support while seeing exactly what the customer sees.
- Plans, promotions, platform ads and a watermark on the free plan.
- Transactional emails with editable templates, bulk sending and a ticket center.
- Google and Meta pixels, only with consent, and campaign links with attribution all the way to payment.
- Audit log, terms and privacy policy with recorded acceptance (LGPD, Brazil's data protection law) and a mandatory change of the default password.
Real product screens



05 / Results
Results
- 50%fewer database connections after removing the session from the player routes
- 3steps from a new account to the TV on the air
- 23ready-made ad templates, in Portuguese
- 60 bytesis the signal the TV reads to know if something changed, without waking PHP or the database
Have a similar challenge?
Tell me the problem in the project brief. I reply within 1 business day.