DEV Community

Cover image for AI Mania V6 is here — Why I Rebuild Everything from scratch
Bogdan Andronic
Bogdan Andronic

Posted on

AI Mania V6 is here — Why I Rebuild Everything from scratch

Until version 5, AI Mania was built on Firebase for database, authentication, and storage. However, one major concern kept me up at night: 𝒄𝒐𝒔𝒕 𝒄𝒐𝒏𝒕𝒓𝒐𝒍. Firebase doesn’t allow you to set a maximum spending limit, only alerts, meaning you could end up with a huge bill if you’re not careful. That risk was just too high for me.

Why Supabase?
To address this, I decided to switch to Supabase. It offers similar services to Firebase — PostgreSQL database, authentication, and storage — but with one crucial difference: 𝒃𝒖𝒊𝒍𝒕-𝒊𝒏 𝒄𝒐𝒔𝒕 𝒄𝒐𝒏𝒕𝒓𝒐𝒍. You can stop everything before it runs up a massive bill, which is a huge relief! Plus, both platforms offer serverless functions, which I’m a big fan of.

Looking Forward
Thinking about future developments for the website, I believe an SQL database is a better long-term solution for my site. Supabase also makes it easier to optimize images and integrate them with the Next.js image component (harder to achieve that with google storage), which is a nice bonus.

𝑾𝒉𝒂𝒕’𝒔 𝑵𝒆𝒘 𝒊𝒏 𝑨𝑰 𝑴𝒂𝒏𝒊𝒂 𝑽6?

  • new design (in beta)
  • improved mobile responsive
  • news/articles have table of contents etc
  • better categories
  • Next.js app version (backend + frontend)
  • New CMS (payload as headless vs firecms)
  • Supabase (database) + GraphQL
  • Authentication (coming soon)
  • Serverless functions (scheduled tasks, etc.)

𝑪𝒐𝒎𝒊𝒏𝒈 𝑺𝒐𝒐𝒏 𝒂𝒍𝒔𝒐 𝒊𝒏 𝒗6

  • Speed Performance Optimisation
  • AI guides (free)
  • AI (generative HTML on search, advanced search capabilities, tool suggestions based on needs, etc.)
  • AI chat / AI training
  • Ability to add your own AI Tools
  • And ... (I’ll reveal this feature after it launches!)

𝒀𝒐𝒖𝒓 𝑻𝒉𝒐𝒖𝒈𝒉𝒕𝒔?
Have you used both Supabase and Firebase? Which one do you prefer?

https://aimania.one/

Image of Datadog

The Future of AI, LLMs, and Observability on Google Cloud

Datadog sat down with Google’s Director of AI to discuss the current and future states of AI, ML, and LLMs on Google Cloud. Discover 7 key insights for technical leaders, covering everything from upskilling teams to observability best practices

Learn More

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay