Hamed Bahram (@HaamedBahram) header
Hamed Bahram (@HaamedBahram) profile picture

Software engineer / content creator 🇨🇦

Toronto, Canada
Joined June 2017
🎨 Building an AI image app is the fun part. 💳 Getting paid for it is the real work. Here’s how I added @PayPal checkout + subscriptions and @clerk auth to a @nextjs app 👇🏼
1
2
142
Hamed Bahram retweeted
209
1,164
293
11,174
2,958,436
Hamed Bahram retweeted
✅ First auth provider to support Poppy Huge congrats to @thekevinwang on the release!
With this 1.0 release, Clerk's built-in Poppy support is now GA 🚀 Enable Poppy browser sessions by switching a toggle, and adding `poppy:true` to your middleware: clerk.com/docs/guides/ai/per…
3
1
28
2,124
Wiring up SMS and WhatsApp separately is a pain. ⚡ @sentdm puts SMS, WhatsApp, and RCS behind one API, and picks the channel for you. I built a two-way messaging inbox in @nextjs with it 👇🏼
137
🛠️ Building an MCP server is easy. 🔐 Securing it is the hard part. Here’s how to do both in @nextjs with @clerk OAuth 👇🏼
1
3
264
Going from a @clerk dev instance to production is normally a manual checklist: production instance, domain, DNS, OAuth, verification. clerk deploy walks you through all of it from the terminal — clones your dev config, sets up the domain, handles DNS + SSL and Google OAuth. Full walkthrough 👇
1
3
144
Hamed Bahram retweeted
See how discounts work in Clerk Billing, from configuring an early-bird offer to applying it to an active subscription and seeing the reduced price in your app.
Discounts in your SaaS shouldn't mean touching Stripe, your DB, and webhooks. With @clerk Billing you define a discount in the dashboard — % or fixed, a few months or forever — and either apply it manually or hand out a promo code with its own rules. Here's early-bird pricing, end to end 👇🏼
3
1
6
3,840
Discounts in your SaaS shouldn't mean touching Stripe, your DB, and webhooks. With @clerk Billing you define a discount in the dashboard — % or fixed, a few months or forever — and either apply it manually or hand out a promo code with its own rules. Here's early-bird pricing, end to end 👇🏼
3
1
8
4,226
Hamed Bahram retweeted
Alright. I want you to read this. Earlier today, I released a new component. What you see is the finished result. What you don’t see are the days of planning, research, testing, designing, simplifying, throwing ideas away, and trying again before I felt it was ready. Within hours, it had been copied and ported to another framework by pointing an agent at my code. Of course, it’s open source. They were allowed to do it. And I’ve been around long enough, with multiple successful products, that I don’t care. But what if this was someone’s first product? What if they spent months building it, launched on Friday, and by Monday it had been cloned by agents, repackaged, and made free? What happens when your second product is copied? Your fifth? Your tenth? What happens when every new idea immediately becomes the next prompt? What happens when your roadmap, your changelog, and your launch announcements become someone else input prompts? What happens when models become good enough to copy bigger ideas? What happens when “just execute better” stops being the answer? What happens when “just build bigger” or “think wider” stops being enough? What happens when both ideas and execution become cheap? What happens when the creator pays the full cost of creativity but everyone else pays nothing to reproduce it? What happens to creativity when AI makes copying effectively free? What happens to the will to create when AI makes copying effectively free? Look, copying is not new. Copying at this speed, cost, and scale is. People will tell you to think bigger. But nobody starts "bigger". Every one of us here started by making something small. You keep going because, somewhere along the way, the work is rewarded. Maybe people use it. Maybe they pay for it. Maybe they simply recognize the thought, effort, and care that went into it. Copying once demanded effort. You had to study the work and understand it to copy it. That effort created appreciation for the person who made it. Not anymore. Creativity begins with small steps. If we make those first steps feel pointless, we don’t just lose small products. We lose the people who might have gone on to build the big ones. We are uniquely positioned here. We get to use and experience this life-changing technology before almost everyone else. How we use it will set the default everywhere else. That default will spread to writing, design, music, research, and every other field where someone still has to take the first creative risk. We can use AI to build great things. Or we can use it to strip every new idea for parts. We decide.
258
454
128
4,687
401,267
Clerk shipped a CLI. clerk init → detects your framework, links the app, installs the SDK, and pulls your keys straight into .env. No dashboard, no copy-pasting keys. clerk webhooks listen → a relay tunnel that replaces ngrok. Then I handed the rest to Claude Code. Full walkthrough 👇
2
6
20,737
Your @nextjs background job times out every time. No retries. No queue. No scheduling. Here's the fix 🧵
2
5
947
The result: long-running work runs in the background, with logging and observability built in — no timeout, no extra infra. Full walkthrough 👇🏼
1
108
This a huge unlock for anyone who wants to build native email editing functionality in their app (e.g CRM). You get a notion-like editor that outputs email-safe html
Today, we're open sourcing our email editor. Announcing React Email 6.0 - embed in your app - style with your brand - build custom extensions - export to html
2
376
Claude Code writes it. CodeRabbit reviews it. You merge it. Full walkthrough with @ealhossa from @coderabbitai: → PR reviews with severity levels → CLI reviews without a PR → Claude Code plugin integration → Learns your codebase over time Video link in thread 👇🏼
2
3
176