All work

Clypio

Pay-per-verified-view clipping network

Role
Founder and sole engineer
Year
2026
Code
Private repository
Live
clypio.com
Clypio landing page: Attention, sold by the view.
clypio.com

Overview

Creators cut a brand's long-form video into shorts and post them from their own accounts. The brand funds a pool and pays per thousand views, but only for views that survive verification. Clypio keeps the spread between the brand rate and the creator rate.

I designed and built the whole system: the FastAPI engine and its verification and fraud scoring package, the money model, the operator, brand and creator dashboards, and the marketing site.

  • YouTube Shorts verification live
  • TikTok API in platform review
  • Instagram and X not built

What I built

Architecture

clypio_verify/platforms.py

A creator submits a post URL and nothing else. The submission schema has no field for a view count.

Hard parts

No overspend under concurrent approvals

The budget gate runs inside a per-campaign lock. A smoke test fires ten simultaneous approvals at a budget that covers three clips and expects exactly three to pass. The lock is in-process, so the engine reads WEB_CONCURRENCY at boot and refuses to start with more than one worker until the lock moves to Postgres.

A billing bug copied into six places

Tier logic summed raw view counts instead of verified ones. The two are equal until a clip hits its cap, after which a capped, barely paid clip could push a creator into a higher tier and lift their cap. I replaced all six copies with one function, lifetime_billable_views(), and added tests that pin the verified basis.

Schema changes that do not break the app

Production schema is owned by hand-written Alembic migrations that run before the new instance takes traffic. An early autogenerated migration added a non-null column with no default and failed on existing rows, which is why migrations are now written and reviewed by hand.

Money that adds up exactly

Every amount entering the API is checked for being numeric, finite and non-negative before it becomes a stored integer. Payouts, platform fees and spreads are computed in cents, so many small payouts sum to exactly the direct total.

Screens

Clypio creator page with the headline Get paid for the clips that survive
clypio.com/clippers, the creator landing page.

Stack

Known limits