Ov

Overengineering Linksie – a link paywall generator

Hacker News

Overengineering Linksie – a link paywall generator

Linksie is a way for you to put a paywall on any link. I took a different approach for Linksie. I made a conscious choice to "over-engineer" it, not for complexity's sake, but to build a stable, scalable foundation and to aggressively upskill in areas where I was weak. For me, over-engineering was a conscious choice to shift from the typical startup mindset of "ship features at all costs" to "with a little extra time, could I build something that scales more elegantly and remains stable for longer?" It was about thinking like a founding CTO: if I had to hire engineers tomorrow, what is the foundation I'd want in place for them? It ended up as a monorepo containing containerized services and shared packages. Application Services: Frontend: Next.js (Pages Router) Backend: HonoJS API Key Libraries: BetterAuth, Tailwind CSS, Headless UI, Tanstack Query/Form, Stripe Worker Services: A dedicated container for node-pg-migrate database migrations. A job queue worker for asynchronous tasks (e.g., our referral system). Shared Packages: Internal libraries for shared types and database clients (PostgreSQL, Redis) to ensure consistency between the API and workers. The entire stack is containerized with Docker and spins up locally with a single docker-compose up command. The codebase is currently around 30k lines of code. The SDLC: Automation from Day One I wanted a professional software development lifecycle from the start. CI/CD: On merge to main, a GitHub Actions pipeline runs tests, builds all container images, pushes them to Google Artifact Registry, and deploys everything to a dedicated staging environment. This includes running database migrations automatically. Production: After verification on staging, a manual approval in the GitHub UI triggers the exact same pipeline targeted at the production environment. The Infrastructure: 90% Terraform I chose GCP over AWS primarily for Cloud Run's developer experience and auto-scaling. The entire infrastructure is provisioned with Terraform. Compute: Cloud Run for all services and jobs (with min/max instances set). Data: Cloud SQL (Postgres) and Memorystore (Redis). Networking: VPC, Cloud Load Balancer, Cloud DNS. Secrets & Artifacts: Secrets Manager and Artifact Registry. External: Cloudflare for public DNS and R2 for storage. The "Why": Justifying the Upfront Investment I know the common wisdom is to use Vercel, Supabase, etc., and get to market faster and cheaper. I chose this path for two main reasons: 1. I Despise Vendor Lock-in: PaaS providers like Vercel are fantastic, but they are for-profit entities that can and will change their pricing and priorities. We've all seen the horror stories of unexpected six-figure bills. We write modular code to avoid lock-in; I believe the same principle should apply to infrastructure. Owning the stack gives me control and predictable costs. 2. A Deliberate Opportunity for Growth: As a full-stack engineer, my DevOps and IaC knowledge was purely conceptual. This project forced me to learn Terraform, container networking, VPCs, and cloud architecture hands-on. The argument to "just hire someone later" is a weak one if you don't know how to evaluate their work. This experience filled a massive gap in my skillset. Even if the SaaS fails, the knowledge gained has been invaluable. I went from zero to proficient with Terraform in about a week, largely thanks to AI-assisted learning. Retrospective & What I'd Do Differently Would I do it the exact same way again? No. The current infrastructure has hefty costs for a pre-revenue project. My next iteration would be more pragmatic: Drop the managed Redis cache, use a cheaper DB option, eliminate the dedicated staging environment Open to thoughts, suggestions, improvements!

Share card

Actual performance

3points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: google, stripe, dock · Missing: mac, agents, macos
94%94% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
88%88% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: lua, ide, pipe · Missing: https docs, excited, just released
57%57% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRLess likely to generate early MRR · Strong signals: google, way · Missing: mobile apps, ios, personal
35%35% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
27%27% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Strong signals: revenue, profit, saas · Missing: arr, mrr, profitable
19%19% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

Pe
Permy.link, a Text Permutation Generator44%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Permy.link, a Text Permutation Generator

Hacker News2
Cl
Click to Retweet – Retweet Link Generator38%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Click to Retweet – Retweet Link Generator

Hacker News2
Biolinky
Biolinky38%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

One link, for everything

AppSumo7
Pa
Pastebin that can link to C/C++ symbols53%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Pastebin that can link to C/C++ symbols

Hacker News5
Li
Link Unshortener43%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Link Unshortener

Hacker News2
We
Weakest Link Reporter51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Weakest Link Reporter

Hacker News2
De
Demystify.us – a shortened link decoder43%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Demystify.us – a shortened link decoder

Hacker News5
Li
Link digests #543%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Link digests #5

Hacker News1
Li
Link digests #643%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Link digests #6

Hacker News1
Li
Link digests #743%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Link digests #7

Hacker News1