<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: wexmix3</title>
    <description>The latest articles on Forem by wexmix3 (@wexmix3).</description>
    <link>https://forem.com/wexmix3</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3881468%2Fb02d44c4-e6d8-4543-bf7c-8cd8e672ce36.png</url>
      <title>Forem: wexmix3</title>
      <link>https://forem.com/wexmix3</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/wexmix3"/>
    <language>en</language>
    <item>
      <title>How I built a Goodreads alternative with Next.js, Supabase, and Claude AI</title>
      <dc:creator>wexmix3</dc:creator>
      <pubDate>Thu, 16 Apr 2026 02:07:09 +0000</pubDate>
      <link>https://forem.com/wexmix3/how-i-built-a-goodreads-alternative-with-nextjs-supabase-and-claude-ai-36f8</link>
      <guid>https://forem.com/wexmix3/how-i-built-a-goodreads-alternative-with-nextjs-supabase-and-claude-ai-36f8</guid>
      <description>&lt;p&gt;I've been frustrated with Goodreads for years. It's slow, owned by Amazon, and its recommendations are basically just "you liked a thriller, here are 50 thrillers."&lt;/p&gt;

&lt;p&gt;So I built my own: Chapterly (getchapterly.com).&lt;/p&gt;

&lt;p&gt;Here's the stack and a few things I learned along the way.&lt;/p&gt;

&lt;p&gt;Stack&lt;br&gt;
Next.js 14 App Router — pages, API routes, everything&lt;br&gt;
Supabase — Postgres + Auth (Google OAuth) + Row Level Security&lt;br&gt;
Claude (Anthropic) — AI recommendations and reading personality analysis&lt;br&gt;
Tailwind CSS — styling&lt;br&gt;
Vercel — deployment&lt;br&gt;
The AI recommendation problem&lt;br&gt;
The hard part wasn't generating recs — it was making them feel personal. I use Claude with a structured prompt that includes the user's last 10 books, their ratings, and their genres. The output isn't just a title list; it's a recommendation with a reason: "Because you gave 5 stars to books with unreliable narrators, you might like..."&lt;/p&gt;

&lt;p&gt;Getting consistent JSON out of Claude required a greedy regex extractor rather than naive markdown stripping, since Claude sometimes adds a preamble before the JSON block.&lt;/p&gt;

&lt;p&gt;Barcode scanning&lt;br&gt;
One feature I'm proud of: scanning a book's ISBN barcode to add it to your shelf. I used html5-qrcode which handles the camera API and EAN-13 detection. The tricky part was surfacing it — I had the component built but buried in a search input. I added a floating action button on the main shelf tab so it's discoverable on mobile.&lt;/p&gt;

&lt;p&gt;What I'd do differently&lt;br&gt;
Supabase RLS is powerful but the debugging experience is rough — a misconfigured policy just silently returns no rows. I'd write RLS policy tests from day one next time.&lt;/p&gt;

&lt;p&gt;The app is live and free to try. I'd genuinely love feedback from other developers — especially on the AI rec quality and anything that feels off in the onboarding.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.getchapterly.com" rel="noopener noreferrer"&gt;https://www.getchapterly.com&lt;/a&gt;&lt;/p&gt;

</description>
      <category>nextjs</category>
      <category>supabase</category>
      <category>buildinpublic</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
