<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ajay Sivan on Medium]]></title>
        <description><![CDATA[Stories by Ajay Sivan on Medium]]></description>
        <link>https://medium.com/@ajayesivan?source=rss-b6986bbe5511------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*a0dWupzeRxT7QoANb4CJ2w.jpeg</url>
            <title>Stories by Ajay Sivan on Medium</title>
            <link>https://medium.com/@ajayesivan?source=rss-b6986bbe5511------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 03:00:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ajayesivan/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[ MoR is the right choice for indie devs in India (and I wish I knew this earlier)]]></title>
            <link>https://medium.com/@ajayesivan/mor-is-the-right-choice-for-indie-devs-in-india-and-i-wish-i-knew-this-earlier-a1f401391601?source=rss-b6986bbe5511------2</link>
            <guid isPermaLink="false">https://medium.com/p/a1f401391601</guid>
            <category><![CDATA[indiedev]]></category>
            <category><![CDATA[payment-gateway]]></category>
            <dc:creator><![CDATA[Ajay Sivan]]></dc:creator>
            <pubDate>Wed, 07 Jan 2026 12:50:41 GMT</pubDate>
            <atom:updated>2026-01-07T12:51:05.642Z</atom:updated>
            <content:encoded><![CDATA[<p>A few weeks back, while building <strong>Launch Shots</strong>, I ran into something I hadn’t really dealt with properly before: web payments.</p><p>I’m a <strong>mobile-first developer</strong>. I’ve shipped iOS and Android apps, built web apps too, but payments were usually someone else’s problem. I integrated SDKs, wired things up, and moved on.</p><p>This time, though, it was all on me.</p><p>Subscriptions. One-time purchases. Indian users. International users. Compliance. Taxes. The stuff no one really talks about when you’re excited about shipping an MVP 😅</p><p>My instinct was obvious: Stripe.</p><p>I’ve used Stripe on the web recently and honestly love it. Clean APIs, great docs, everything just makes sense. It’s the kind of developer experience you miss once you don’t have it.</p><p>But if you’re in India, you probably already know where this is going.</p><p>Stripe is invite-only here. Getting access isn’t guaranteed, approvals can take time, and for an indie builder trying to move fast, that uncertainty was enough for me to pause.</p><p>I didn’t want to spend weeks figuring out whether I’d be allowed to take money.</p><p>So I looked elsewhere.</p><p>Naturally, Razorpay was next.</p><p>It’s everywhere in India, supports international payments, and is basically the default recommendation. I created an account and started integrating it in test mode.</p><p>And this is where things started to feel off for me.</p><p>Coming from Stripe, the dashboard felt overwhelming. I couldn’t figure out how to set up a simple one-time purchase from the UI. I eventually got it working through APIs, but it never felt intuitive.</p><p>Still, I pushed ahead. I had already bought the domain, deployed the app, and put up a coming-soon page. Once the tech side felt solid, I applied to enable live payments.</p><p>A few days later, I got a call from Razorpay.</p><p>They asked about the product, what it does, who it’s for. All fair. But then they told me I’d need to fully launch the web app first so they could review it before approving payments.</p><p>As a mobile dev, that felt heavy.</p><p>On mobile, the flow is dead simple:</p><ul><li>Ship the app</li><li>Apple or Google handle payments</li><li>They take a big cut 💸</li><li>But you can start selling immediately</li></ul><p>When you’re an indie, especially when you don’t even know if anyone will pay, that ease matters a lot.</p><p>I didn’t want to deal with calls, reviews, and approvals before my MVP was even live. I just wanted to ship, charge a few users, and see if this thing had legs.</p><p>That’s when I stumbled into <strong>MoR (Merchant of Record)</strong> solutions.</p><p>Paddle. Lemon Squeezy. Dodo Payments.</p><p>The idea clicked instantly.</p><p>They handle the messy stuff like payments, taxes, invoices, and compliance, and you focus on building. Very mobile dev energy. Very “just ship it” vibes 📱✨</p><p>After comparing a few options, <strong>Dodo Payments</strong> stood out. Lower fees than most, covered everything I needed for Launch Shots, and didn’t feel bloated.</p><p>I signed up.</p><p>And that was basically it.</p><p>No verification calls. No “launch first, we’ll see later.” No back-and-forth emails.</p><p>From account creation to accepting payments was shockingly smooth. For the first time in this whole process, it felt familiar. Almost like setting up in-app purchases on mobile, but for the web.</p><p>Yes, MoR providers take a cut. But honestly, as an indie, that trade-off feels completely worth it. I’d rather lose a bit on margins than lose weeks on friction.</p><p>My takeaway after all this is pretty simple.</p><p>If you’re an indie developer in India, especially if you come from mobile, MoR is probably the right move when you’re starting out.</p><p>Razorpay isn’t bad. Stripe is fantastic if you can get it. But speed matters. Momentum matters. Sanity matters.</p><p>For me, Dodo Payments just worked, and that’s saying a lot.</p><p>This is purely my experience building Launch Shots. Things might look different at scale, or outside India. But if you’re trying to ship fast and validate an idea without losing your mind, MoR is absolutely worth considering 🚀</p><p>If you’re a mobile dev stepping into web payments and feeling lost, yeah, I’ve been there 😄</p><p>Hope this saves someone a few headaches.</p><p><em>Originally published at </em><a href="https://ajaysivan.com/fragments/mor-is-the-right-choice-for-indie-devs-in-india-and-i-wish-i-knew-this-earlier"><em>https://ajaysivan.com</em></a><em> on January 7, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a1f401391601" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ AI writes code that works — not code you’ll want to maintain (at least not by default)]]></title>
            <link>https://medium.com/@ajayesivan/ai-writes-code-that-works-not-code-youll-want-to-maintain-at-least-not-by-default-ba873890e7f5?source=rss-b6986bbe5511------2</link>
            <guid isPermaLink="false">https://medium.com/p/ba873890e7f5</guid>
            <category><![CDATA[cursor]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[github-copilot]]></category>
            <category><![CDATA[vibe-coding]]></category>
            <dc:creator><![CDATA[Ajay Sivan]]></dc:creator>
            <pubDate>Tue, 02 Dec 2025 18:22:52 GMT</pubDate>
            <atom:updated>2025-12-02T18:22:40.373Z</atom:updated>
            <content:encoded><![CDATA[<h3>🤖 AI writes code that works — not code you’ll want to maintain (at least not by default)</h3><p>Recently, I built and launched an app called <a href="https://ajaysivan.com/apps/leeway"><strong>Leeway</strong></a> in about 10 hours. I wanted to see what would happen if I fully leaned into AI, no overthinking or polishing, just vibe coding 😎. I focused only on whether each feature worked, without paying attention to how the generated code looked.</p><p>The crazy part is it shipped 🚀. It passed tests, ran smoothly, and got approved on both stores. So I assumed everything under the hood was fine 😇.</p><p>Today I opened the codebase, preparing for the next version… and wow. It was working code, but not the kind of code I’d want to maintain long-term. Simple things like the calculation of a field were done by pulling entire tables from the database and looping through entries instead of using a SQL SUM. Lots of similar shortcuts that technically worked but weren’t ideal.</p><p>It then made me realise something important: AI does not automatically write high-quality code. It writes whatever gets the job done unless you guide it with constraints, patterns, and examples.</p><p>This is not a complaint, but a reminder: if you want AI to code like a senior engineer, you need to teach it the rules, the structure, and the context. When you don’t, it behaves like a junior dev🤓 who’s eager to give you something that “works,” even if it’s not the best way.</p><p>Still, the speed was unreal 🤯. And the second pass — refactoring with clear instructions — is becoming a great learning experience.</p><p>Note: I haven’t noticed this problem as much when using AI inside mature projects. Maybe because the rules/instructions where generated from the codebase and the existing codebase gives the model better patterns to follow, so the quality stays higher.</p><p><em>Originally published at </em><a href="https://ajaysivan.com/fragments/ai-writes-code-that-works-not-code-youll-want-to-maintain-at-least-not-by-default"><em>https://ajaysivan.com</em></a><em> on December 2, 2025.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ba873890e7f5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ Always Building, Rarely Shipping]]></title>
            <link>https://medium.com/@ajayesivan/always-building-rarely-shipping-aa11ecd0c14f?source=rss-b6986bbe5511------2</link>
            <guid isPermaLink="false">https://medium.com/p/aa11ecd0c14f</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[solopreneur]]></category>
            <category><![CDATA[indie]]></category>
            <dc:creator><![CDATA[Ajay Sivan]]></dc:creator>
            <pubDate>Tue, 18 Nov 2025 00:00:17 GMT</pubDate>
            <atom:updated>2025-11-18T12:59:15.400Z</atom:updated>
            <content:encoded><![CDATA[<p>I’ve been building apps for a long time. My first one went live in <strong>2016</strong>. With that much time behind me, you’d expect I’d have a bunch of apps out there by now — at least a couple that feel mature. But the truth is, I only have <strong>one</strong> live app today. Just one. 🥲</p><p>I’ve been trying to understand why.</p><p>I’m someone who gets ideas constantly. Every time I use an app, my brain starts spinning: <em>If this was mine, I’d change this, fix that, improve this bit.</em> And every month, I come up with a handful of ideas that feel worth building. 💡</p><p>The problem? Most of them never make it out of my head.</p><p>Sometimes I sketch the idea and it immediately disappoints me. Sometimes I start building and then get a “better” idea halfway through. Sometimes I just lose conviction because the new idea feels more exciting than the one I’m already working on. 🤦‍♂️</p><p>End result: lots of starts, almost no finishes.</p><p>It’s frustrating. And honestly, I’m tired of being stuck in that loop. I don’t want to keep waiting for the “perfect” idea or the “perfect” design. I just want to build and ship. Even if nobody uses it. Even if it’s rough. Even if it goes nowhere. 🚀</p><p>At worst, I learn something. At best, I finally put more of my work out into the world.</p><p>So I’m breaking the cycle. I’ve already started. I’m not sure how I’ll tackle everything that causes me to stall — but at least I’m moving. I want to publish more, experiment more, and stop throwing away ideas just because they don’t feel perfect on day one. 🔄</p><p>Wish me luck. I think I’m finally ready to show up. 🙂</p><p><em>Originally published at </em><a href="https://ajaysivan.com/fragments/always-building-rarely-shipping"><em>https://ajaysivan.com</em></a><em> on November 18, 2025.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aa11ecd0c14f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ Apple Ads Doesn’t Care About Indian Developers — Or So It Feels]]></title>
            <link>https://medium.com/@ajayesivan/apple-ads-doesnt-care-about-indian-developers-or-so-it-feels-0a9298469180?source=rss-b6986bbe5511------2</link>
            <guid isPermaLink="false">https://medium.com/p/0a9298469180</guid>
            <category><![CDATA[apple-ad]]></category>
            <dc:creator><![CDATA[Ajay Sivan]]></dc:creator>
            <pubDate>Mon, 23 Jun 2025 00:00:50 GMT</pubDate>
            <atom:updated>2025-11-11T02:57:20.742Z</atom:updated>
            <content:encoded><![CDATA[<h3>🍏 Apple Ads Doesn’t Care About Indian Developers — Or So It Feels</h3><p>I recently launched a <a href="https://apps.apple.com/app/apple-store/id6745819181?pt=123336608&amp;ct=fragments&amp;mt=8">zympl everyday, minimalist habit tracker app</a>, and naturally, I wanted to run some Apple Search Ads to help it reach more people. But surprise — I couldn’t even get past the payment step. 😮‍💨</p><p>Turns out, <strong>Apple doesn’t accept any credit or debit card issued by Indian banks</strong> for Search Ads. They literally say so in their own documentation: <a href="https://ads.apple.com/app-store/help/get-started/0030-set-your-payment-method#:~:text=Apple%C2%A0Ads%20accepts%20Visa%2C%20Mastercard%20(including%20Apple%20Card)%2C%20and%20American%20Express.%20But%20any%20credit%20or%20debit%20card%20issued%20by%20a%20bank%20in%20India%20is%20not%20accepted.">Apple Ads accepted payment methods</a></p><p>Frustrated but determined, I tried every workaround I could think of:</p><ul><li>Virtual cards? Nope.<br> Services like <a href="https://wise.com/">Wise</a>, <a href="https://www.revolut.com/">Revolut</a>, <a href="https://www.privacy.com/">Privacy</a> and <a href="https://eversend.co/">Eversend</a> aren’t available in India.</li><li><a href="https://e.pn/">e.pn?</a> Maybe — but they charge high fees just to get started, and I wasn’t ready to take that risk. 🫠</li></ul><p>At this point, my only real option seems to be asking a friend outside India to help set things up. 🤷‍♂️</p><p>I get that this is related to RBI regulations, but still — it feels like Apple could have <strong>done more</strong> to find a workaround or support Indian developers better. We’re a massive app market, and there are so many indie devs here trying to build cool stuff.</p><p>Right now?<br>It just feels like we’re being left out. 🥲<br>And that sucks.</p><p><em>Originally published at </em><a href="https://ajaysivan.com/fragments/apple-ads-doesnt-care-about-indian-developers-or-so-it-feels"><em>https://ajaysivan.com</em></a><em> on June 23, 2025.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0a9298469180" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ RevenueCat Paywall is ridiculously good]]></title>
            <link>https://medium.com/@ajayesivan/revenuecat-paywall-is-ridiculously-good-b86feffe1cd8?source=rss-b6986bbe5511------2</link>
            <guid isPermaLink="false">https://medium.com/p/b86feffe1cd8</guid>
            <category><![CDATA[revenuecat]]></category>
            <category><![CDATA[paywall]]></category>
            <category><![CDATA[in-app-purchase]]></category>
            <category><![CDATA[app-subscription]]></category>
            <dc:creator><![CDATA[Ajay Sivan]]></dc:creator>
            <pubDate>Thu, 05 Jun 2025 00:00:47 GMT</pubDate>
            <atom:updated>2025-11-11T02:55:33.003Z</atom:updated>
            <content:encoded><![CDATA[<p>I’ve been using RevenueCat for a while now, but somehow never gave their <strong>Paywall</strong> feature a shot — until recently. And wow, I wish I’d tried it sooner.</p><p>Setting up subscriptions manually is… painful. You’re juggling UI, edge cases, backend hooks, App Store quirks 😵‍💫 — the whole mess. So when I needed to implement subscriptions for my latest app, I decided to finally try the Paywall product. And honestly? It was <em>a breeze</em> 🌬️.</p><p>Here’s what makes it awesome:</p><ol><li><strong>Solid templates</strong> — Pick one and get started in seconds.</li><li><strong>Figma-like editor</strong> — Build your paywall pixel-perfect without touching code.</li><li><strong>Built-in support for intro plans</strong> — No more custom logic.</li><li><strong>Instant updates</strong> — Tweak the design, hit publish, and it’s live for your users the next time they open the app. Magic.</li><li><strong>Multiple layout modes</strong> — Fullscreen, footer, or inline — take your pick.</li><li><strong>A/B testing that’s actually doable</strong> — Haven’t tried it yet, but it’s on my list.</li></ol><p>This isn’t a promo — I just genuinely enjoyed using it. If you’re working on a mobile app with IAPs or subscriptions, give it a go. You’ll save a ton of time (and possibly some hair 🧑‍🦲).</p><p><em>PS: This isn’t a tutorial — RevenueCat already nailed that part with excellent docs and genuinely good YouTube videos. Way better than I ever could.</em></p><p><em>Originally published at </em><a href="https://ajaysivan.com/fragments/revenuecat-paywall-is-ridiculously-good"><em>https://ajaysivan.com</em></a><em> on June 5, 2025.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b86feffe1cd8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ 2 Things That Made My Zustand Stores Cleaner & Faster]]></title>
            <link>https://medium.com/@ajayesivan/2-things-that-made-my-zustand-stores-cleaner-faster-03f5e48133a3?source=rss-b6986bbe5511------2</link>
            <guid isPermaLink="false">https://medium.com/p/03f5e48133a3</guid>
            <category><![CDATA[zustand]]></category>
            <dc:creator><![CDATA[Ajay Sivan]]></dc:creator>
            <pubDate>Mon, 02 Jun 2025 00:00:53 GMT</pubDate>
            <atom:updated>2025-11-11T02:54:02.272Z</atom:updated>
            <content:encoded><![CDATA[<p>Been using <a href="https://zustand-demo.pmnd.rs/">Zustand</a> for a while now, and I finally stopped treating my store like a junk drawer 🙃. After some refactoring and experiments, I landed on two habits that really made my Zustand code cleaner and easier to scale.</p><h3>1. Only export custom hooks 🪝</h3><p>Instead of letting components tap into the store directly, I wrap all state access in custom hooks. Keeps things tidy, predictable, and limits accidental over-subscriptions.</p><pre>// userStore.ts<br>const useUserStore = create(...)<br><br>export const useUsername = () =&gt; useUserStore((s) =&gt; s.username)</pre><p>You get cleaner imports, better readability, and more control over what parts of your store are exposed.</p><h3>2. Separate state from actions 🛠️</h3><p>Mixing state and actions in one blob quickly turns into spaghetti. I now keep them separate — both in my head and in code.</p><pre>type State = {<br>  username: string;<br>};<br><br>type Actions = {<br>  setUsername: (name: string) =&gt; void;<br>};<br><br>type UserStore = State &amp; {<br>  actions: Actions;<br>};<br><br>const useUserStore = create&lt;UserStore&gt;()((set) =&gt; ({<br>  username: &quot;&quot;,<br>  actions: {<br>    setUsername: (name) =&gt; set({ username: name }),<br>  },<br>}));</pre><p>This makes everything easier to type, test, and maintain — and your future self will absolutely appreciate it.</p><p>And since the actions object is referentially stable (thanks Zustand!), it’s totally safe to expose it directly:</p><pre>export const useUserActions = () =&gt; useUserStore((s) =&gt; s.actions);</pre><p>✅ This won’t trigger unnecessary re-renders, because s.actions always returns the same reference.</p><blockquote><em>📝 Heads up if you’re using persist: When separating actions like this, you’ll need to exclude them during persistence. Otherwise, your actions object will be empty when the state rehydrates.</em></blockquote><p>Here’s how to configure it:</p><pre>type State = {<br>  username: string;<br>};<br><br>type Actions = {<br>  setUsername: (name: string) =&gt; void;<br>};<br><br>type UserStore = State &amp; {<br>  actions: Actions;<br>};<br><br>const useUserStore = create&lt;UserStore&gt;()(<br>  persist&lt;UserStore, [], [], Omit&lt;UserStore, &quot;actions&quot;&gt;&gt;(<br>    (set) =&gt; ({<br>      username: &quot;&quot;,<br>      actions: {<br>        setUsername: (name) =&gt; set({ username: name }),<br>      },<br>    }),<br>    {<br>      ...<br>      partialize: ({ actions, ...rest }) =&gt; rest,<br>    }<br>  )<br>);</pre><p>That’s it. Two small changes that made my Zustand experience way smoother. Highly recommend giving them a try if you’re building anything remotely complex.</p><p><em>Originally published at </em><a href="https://ajaysivan.com/fragments/2-things-that-made-my-zustand-stores-cleaner-and-faster"><em>https://ajaysivan.com</em></a><em> on June 2, 2025.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=03f5e48133a3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[⚡️ Wanna Build a Blog Fast? Next.js + MDX + Velite to the Rescue]]></title>
            <link>https://medium.com/@ajayesivan/%EF%B8%8F-wanna-build-a-blog-fast-next-js-mdx-velite-to-the-rescue-6fb3cd600d31?source=rss-b6986bbe5511------2</link>
            <guid isPermaLink="false">https://medium.com/p/6fb3cd600d31</guid>
            <category><![CDATA[mdx]]></category>
            <category><![CDATA[personal-blog]]></category>
            <category><![CDATA[contentlayer]]></category>
            <category><![CDATA[nextjs]]></category>
            <dc:creator><![CDATA[Ajay Sivan]]></dc:creator>
            <pubDate>Mon, 26 May 2025 00:00:53 GMT</pubDate>
            <atom:updated>2025-11-11T02:49:41.122Z</atom:updated>
            <content:encoded><![CDATA[<p>Redesigned my site recently and kicked it off with a hardcoded first blog — just to get the ball rolling. But writing every new post by editing code? Yeah, no thanks 🙃.</p><p>I wanted to keep it simple, developer-friendly, and fun. Markdown felt like the obvious choice — I use it all the time, it’s flexible, powerful, and doesn’t fight back. But I needed a way to properly type it and render everything into my Next.js app without duct-taping things together.</p><p>Could I build something custom? Sure.<br> Should I? Nope 🚫.</p><p>First stop: <a href="https://contentlayer.dev/">Contentlayer</a>. Looked promising, but turns out it’s not really maintained anymore 🫠. That’s when I stumbled on <a href="https://velite.js.org/">Velite</a> — a slick, framework-agnostic library built just for this.</p><p>Good ol’ Markdown stays the same — nothing new to learn there. I just followed <a href="https://velite.js.org/guide/with-nextjs">this guide</a> to integrate Velite into my Next.js setup, and it all just worked ⚡️. Fast and clean.</p><p>This isn’t a step-by-step tutorial — Velite’s docs already have that covered. I’m just sharing the ride. If you’re building a personal blog or something similar, this combo’s worth a shot 🚀.</p><p><em>Originally published at </em><a href="https://ajaysivan.com/fragments/wanna-build-a-blog-fast-nextjs-mdx-velite-to-the-rescue"><em>https://ajaysivan.com</em></a><em> on May 26, 2025.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6fb3cd600d31" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>