Lunas
Fintech and freelance tools usually look like cold, terrifying spreadsheets. Lunas turns getting paid across borders into a warm, tactile, candy-sticker experience — finished with a screen-shaking red ink stamp and confetti explosion.
In Indonesia, shopkeepers slam a red ink stamp onto paid receipts: "LUNAS" ("paid in full"). Everyone smiles, and nobody argues afterward.
✨ Interactive & Aesthetic Highlights (try right on the landing page or in 1-click Guest Mode!):
• Slam the Stamp: Hit "Stamp it LUNAS!" on the homepage receipt to trigger a spring-physics stamp slam, paper shake, Capi mascot jump, and 70-piece confetti burst.
• 3 Tactile Themes & 3 Languages: Switch instantly between Candy, Midnight, and Matcha palettes across English, Bahasa Indonesia, and 中文.
• Plain Chat -> Sticker Contract: Share a zero-signup link (/to/lunas-studio), type a messy brief, and watch Gemini turn it into colorful, checkable rule cards.
• Sealed Envelope Escrow: Watch the paper bill slide into an envelope and wax-seal shut when PayPal Orders v2 locks the deposit.
• Honest In-Browser File Check: Drop real photos or vertical reels — HTML5 Canvas & WebAudio decode actual border pixels, resolution, and dBFS loudness right in your browser (catching a grey-background photo automatically without AI hallucination!).
🌐 Live link: https://lunasproject.site (click "Stamp it LUNAS!" on the landing page, or enter 1-click Guest Mode on /signin!)
Tech stack
- Claude (Opus 5.5)
- Gemini (3.6 Flash)
- Vercel
- Nano Banana Pro
- Supabase
- Claude Code (Opus 5.5)
Links
Prompt steps
Step 1
Design and build the frontend foundation of Lunas ("paid in full" in Indonesian) in Next.js 16 (App Router) and TypeScript — an anti-boring, tactile cross-border freelance escrow experience that feels like warm stationery and candy stickers rather than a cold SaaS spreadsheet. Visual & interactive craft requirements: - Warm paper-and-ink neo-brutalist system: #FFFDF8 cream paper cards, crisp 2.5px #231942 ink borders, offset hard shadows, Fraunces display serif + Nunito UI typography, and spring-physics micro-interactions. - Instant 3-theme switcher (Candy, Midnight, Matcha) and live 3-language switcher (English, Bahasa Indonesia, 中文). - Interactive Landing Page featuring Capi (our bouncing pink stamp mascot with idle/wink/jump/slam poses), a rotating cross-border marquee, and an interactive "Try the Stamp" paper receipt that shakes the card, slams a red ink "LUNAS" seal, and bursts 70 confetti pieces on click.Step 2
Wire the full end-to-end money lifecycle using the PayPal Developer Platform (Sandbox), the PayPal JavaScript SDK on checkout, and the APIMatic PayPal Server SDK Context Plugin (TypeScript skills) to harden the server transport: 1. Passwordless Sign-In (/signin): Integrate "Log in with PayPal" (Identity API / OpenID Connect) into a signed HttpOnly session cookie so the freelancer's PayPal payer ID doubles as their payout receiver — alongside a 1-click explicit Guest Mode for instant evaluation. 2. Interactive Escrow Funding: Render the PayPal JS SDK checkout buttons inside a tactile "Sealed Envelope" component where a paper bill slides into the envelope and wax-seals shut once PayPal Orders v2 (/v2/checkout/orders) creates and captures the client's deposit. 3. Payouts, Refunds & Webhooks: Release funds via PayPal Payouts v1, execute partial/full dispute refunds via PayPal Payments/Refunds API, and verify incoming events via verify-webhook-signature. 4. Harden web/lib/paypal.ts against APIMatic's PayPal Server SDK TypeScript resilience & error-handling skills: per-attempt AbortController timeouts, bounded retry wait budgets honouring Retry-After, gating POST retries strictly on idempotent PayPal-Request-Id / deterministic sender_batch_id keys, and preserving PayPal debug_id on errors.Step 3
Build the AI agent layer (powered by Google Gemini with automatic multi-model failover) and an honest browser-plus-server deliverable verification engine that never hallucinates a green checkmark: 1. Zero-Signup Client Booking (/to/[handle]) & Contract Agent: Let clients hire from a public Supabase-backed link; use Gemini to convert messy plain-chat briefs into 3-5 machine-checkable acceptance rule stickers (file counts, pixel dimensions, white background percentage, video aspect ratio, duration, audio loudness). 2. Honest Real-File Verification Engine: Decode actual uploaded deliverables right in the browser using HTML5 Canvas (sampling the outer 6% border ring for >=97% pure white product backgrounds), <video> metadata, and OfflineAudioContext / WebAudio RMS loudness in dBFS. Flag subjective "vibe/aesthetic" rules honestly as "Needs your eye" (manual review) instead of faking a pass. 3. Gemini Mediator Agent & Insights: Weigh verified pass/fail checks against client dispute claims to recommend exact partial/full PayPal refunds, and embed a custom Lunas-themed AG Studio self-serve dashboard on /insights with a downloadable LUNAS completion certificate once paid
7 likes · 4 comments · 9 views
Comments (2)
nice build mate <div><br></div>
thanks sir
This website looks great Sasam. The idea behind it is really neat too. Really clever idea to make sure both the customer and seller are protected. This has a lot of potential, I’d keep going with this one
Thank you, sir. This project is running in the PayPal sandbox, and I am confident that it has the potential to develop further.