Skip to content
Kinley Rabgay.

Next.js / Supabase / Product design

Drinlen: interest first, consent next, money last.

Designing a citizen-led site that measures how many Bhutanese want to give back - and why it collects no money, shows only totals, and keeps every name private.

Kinley Rabgay2 min read
The Drinlen page: He gave us everything. Now the people give back.

Drinlen means repaying kindness. The idea was simple: many Bhutanese want to give back to His Majesty the King, His Holiness the Je Khenpo and the nation. The hard part was the order of things.

The wrong order

Collecting money before consent from the Royal Office and the Zhung Dratshang would be the wrong order. So the first version had to do something smaller and more honest: show real public interest, and take no payments at all.

A pledge of intent

A pledge is a name, a dzongkhag, who you want to give back to, and roughly what you would offer - from your time only, up to Nu 50,000. Nothing is charged. A live counter shows the totals for His Majesty, the Je Khenpo and the nation, and that is all the public page ever shows.

Privacy as a database rule, not a promise

Names and phone numbers stay private because the database will not hand them out. The pledges table has row level security on: anonymous visitors can insert, never read. The page reads only aggregate numbers through one SQL function.

text
pledges        RLS on, anonymous: insert only
get_stats()    totals only - what the public page reads
dashboard      individual pledges, for the organisers

That split meant the privacy story did not depend on the frontend being careful. Even a bug in the page could not leak a list of names.

108 chortens

Numbers alone felt cold for something this personal. The journey page turns every name into one more chorten in a line of 108 along the Mau Chhu in Gelephu, so each pledge adds something you can see without exposing who made it.

What going public required

The checklist before launch was mostly about restraint: keep the disclaimer that the site is not affiliated with the Royal Office or the Zhung Dratshang, show no bank details, QR codes or payment links until approval from the Department of Law and Order, and have the Dzongkha spelling verified by the Dzongkha Development Commission.

The stack was deliberately small - Next.js 16 with the App Router, shadcn/ui and Supabase - because the interesting decisions were never technical. They were about sequence: interest first, consent next, money last.

Keep reading

Contact

.

Open to freelance, contract and full-time roles - product builds, design systems, and full-stack work from idea to production.

hello@kinleyrabgay.com