Projects

loookr

An earnings dashboard for Adsterra publishers.

Jaymark Ancheta

Category
Analytics
Platform
Web · installable PWA (iOS, Android, desktop)
Year
2026
Built
Developer
Jaymark
Stat
0
payout figures typed in by hand
Stat
366
days the custom date range can span
Stat
2
display currencies: USD and PHP

Preview

iPhone & Android

An earnings dashboard for Adsterra publishers. Sign in with Google, connect your Adsterra Publisher API key, and loookr turns it into a live balance, a NET-15 payout schedule, per-site analytics and a daily earnings log, in US dollars or Philippine pesos. Any number of publishers can use it, and each account only ever sees its own data.

What's Included

The Problem

Adsterra’s publisher dashboard shows stats, but not the one thing publishers keep asking: how much will I be paid, and when? Its API has no balance or payout endpoint at all, payouts run on a NET-15 schedule, and anything under your minimum silently rolls into the next period. loookr works all of that out from the raw stats, so any Adsterra publisher can open one app on their phone and see their balance, their next payout and which site is earning it.

By the Numbers

Under the Hood

  1. Highlight 01

    Payouts derived, never entered

    The API has no balance endpoint, so a pure TypeScript module replays Adsterra’s rules over a year of daily stats: NET-15 periods (1st–15th paid on the 1st, 16th–end paid on the 16th), carry-over below the minimum, month lengths, leap years and the December-to-January rollover.

  2. Highlight 02

    Built for many publishers, safely

    Each user’s Adsterra key is encrypted with AES-GCM, using their user id as associated data, so a key copied onto another account won’t decrypt. Keys never return to the browser. The edge cache is keyed per Adsterra key rather than per URL, so one publisher can never be served another’s revenue.

  3. Highlight 03

    One Worker is the whole API

    A Cloudflare Worker handles Google sign-in (PKCE, ID tokens checked against Google’s keys), 30-day sessions, the encrypted key store in D1, and an allow-listed proxy to Adsterra. The front end is a static PWA on Vercel.

  4. Highlight 04

    A Wise-inspired interface

    The UI follows wise.com: a bright-green hero band, condensed headlines, token-based light and dark themes, a desktop sidebar with a floating phone tab bar, swipeable payout cards with a soft sheen, and figures that roll up as they load.

  5. Highlight 05

    Pesos at today’s rate

    Amounts are stored and calculated in USD, as Adsterra pays them, and converted only for display at a daily mid-market rate. If the rate can’t be fetched the app falls back to USD rather than guess.

Information

Developer
Jaymark Ancheta
Category
Analytics
Platform
Web · installable PWA (iOS, Android, desktop)
Timeline
Aug 29 – Nov 7, 2026
Role
Solo developer: design, front end and back end
Stack
React 18TypeScriptViteSWRChart.jsCloudflare WorkersCloudflare D1Web Crypto (AES-GCM)Google OAuth (PKCE)Workbox PWAVercel

More Projects

Hide quick actions