DEV Community

velodeck
velodeck

Posted on

Building automated GitHub repo delivery using Next.js 16, Supabase, and Lemon Squeezy

The Problem
Every time I started building a new developer tool or boilerplate, I found myself spending 20+ hours wiring up:

Payment provider webhooks

Database schemas and Row Level Security

Manual repository access control

To eliminate this headache, I built VeloDeck—a Next.js 16 + Supabase boilerplate designed to automate post-purchase delivery.

How the Automated Fulfillment Works
Checkout: The buyer provides their GitHub username during checkout.

Webhook Verification: Lemon Squeezy sends a signed HMAC order_created webhook.

API Processing: Next.js 16 App Router verifies the request payload signature.

Octokit Trigger: A serverless function runs Octokit to instantly send a private repository invite to the user.

Check out the live demo: https://www.velodeck.pro

I'd love to hear your feedback on the architecture!

Top comments (0)