<?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>DEV Community: Sara</title>
    <description>The latest articles on DEV Community by Sara (@47f60187a8d7957d5029fa).</description>
    <link>https://dev.to/47f60187a8d7957d5029fa</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2289321%2F915f2647-fe15-41d8-8bf4-93bf1144f096.png</url>
      <title>DEV Community: Sara</title>
      <link>https://dev.to/47f60187a8d7957d5029fa</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/47f60187a8d7957d5029fa"/>
    <language>en</language>
    <item>
      <title>Self-hosted Convex alternatives in 2026</title>
      <dc:creator>Sara</dc:creator>
      <pubDate>Thu, 08 Oct 2026 11:12:28 +0000</pubDate>
      <link>https://dev.to/47f60187a8d7957d5029fa/self-hosted-convex-alternatives-in-2026-5761</link>
      <guid>https://dev.to/47f60187a8d7957d5029fa/self-hosted-convex-alternatives-in-2026-5761</guid>
      <description>&lt;p&gt;Convex offers a fantastic developer experience. You write standard TypeScript functions. Your frontend subscribes directly to them. The screen stays live without managing complex websocket code.&lt;/p&gt;

&lt;p&gt;However, you might want to run it on your own server. Perhaps you need your data in a region Convex doesn't host. Today Convex hosts in US East, Ireland, Sydney, and Canada. You might just want no vendor between you and your data.&lt;/p&gt;

&lt;p&gt;Let's look at four options you can run yourself, starting with Convex itself.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Convex, self-hosted
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;What it is:&lt;/strong&gt; Convex ships an open-source backend running the same code as its cloud service. It is written mostly in Rust, using TypeScript for your functions.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How live updates work:&lt;/strong&gt; Queries are cached and subscribable. This means the UI updates automatically when data changes. You write queries, mutations, and actions just like on Convex Cloud.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Good to know:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The self-hosted backend uses the FSL Apache 2.0 license. Each release becomes full Apache 2.0 two years after shipping.&lt;/li&gt;
&lt;li&gt;Convex recommends its cloud service for a more hands-off setup. They note that self-hosting is not for everyone.&lt;/li&gt;
&lt;li&gt;In a 2025 Reddit reply, a Convex co-founder described the open-source build as single-node. They also said the team was considering opening more of the scale-out side. Check the current docs to see where this stands.&lt;/li&gt;
&lt;li&gt;Full-text and vector search are built in.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Pick it if:&lt;/strong&gt; You want exactly Convex and you are happy running one server.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Supabase
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;What it is:&lt;/strong&gt; This is Postgres paired with generated REST and GraphQL APIs. It includes auth, storage, and realtime features. The core tools are open source. You can self-host them with Docker or the Supabase CLI.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How live updates work:&lt;/strong&gt; Supabase Realtime has three distinct parts. Postgres Changes listens directly to database changes. Broadcast sends messages between your clients. Finally, Presence tracks who is currently online.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Good to know:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Permissions use Row Level Security policies written in SQL. These run inside the database.&lt;/li&gt;
&lt;li&gt;Server code runs as Edge Functions using TypeScript on Deno.&lt;/li&gt;
&lt;li&gt;Full-text search uses the built-in functions provided by Postgres. Vector search uses pgvector.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Pick it if:&lt;/strong&gt; You prefer thinking in SQL and want real Postgres with a big ecosystem. It presents a different model from Convex. Your logic sits closer to the database rather than in TypeScript functions.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. PocketBase
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;What it is:&lt;/strong&gt; This is one Go binary containing an embedded SQLite database. It brings auth, file storage, an admin dashboard, and realtime capabilities.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How live updates work:&lt;/strong&gt; It relies on Server-Sent Events. You subscribe to specific records or whole collections. Then you receive create, update, and delete events.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Good to know:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Permissions are handled through API rules per collection. These are filter expressions like &lt;code&gt;@request.auth.id != ""&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;You can extend it using Go or JavaScript hooks.&lt;/li&gt;
&lt;li&gt;It is self-hosted only. There is no managed cloud offering.&lt;/li&gt;
&lt;li&gt;It scales vertically on one server. Its FAQ says it can handle 10,000+ realtime connections on modest hardware.&lt;/li&gt;
&lt;li&gt;This is a personal open-source project maintained by volunteers. It has an intentionally limited scope.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Pick it if:&lt;/strong&gt; You want the simplest self-hosted backend available. It is just one file you can copy to a server. Choose this if collections plus rules fit your app.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Concile
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;What it is:&lt;/strong&gt; A self-hosted, reactive TypeScript backend. You write query, mutation, and action functions. Your frontend subscribes using a simple hook. When data a query read changes, that query re-runs and pushes the new result.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// concile/tasks.ts&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;query&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;mutation&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;./_generated/server&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;list&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;query&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;async &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;ctx&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nx"&gt;ctx&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;db&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;query&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;tasks&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="nf"&gt;collect&lt;/span&gt;&lt;span class="p"&gt;());&lt;/span&gt;

&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;add&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;mutation&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;async &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;ctx&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;text&lt;/span&gt; &lt;span class="p"&gt;})&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nx"&gt;ctx&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;db&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;insert&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;tasks&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;text&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;done&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt; &lt;span class="p"&gt;});&lt;/span&gt;
&lt;span class="p"&gt;});&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight tsx"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;tasks&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;useQuery&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;api&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;tasks&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;list&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt; &lt;span class="c1"&gt;// stays live&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Good to know:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It runs as one process. Run &lt;code&gt;npx concile dev&lt;/code&gt; to start. Use &lt;code&gt;docker compose up&lt;/code&gt; or a single binary to deploy.&lt;/li&gt;
&lt;li&gt;It uses SQLite by default. You can use Postgres with a flag while running the same code.&lt;/li&gt;
&lt;li&gt;Auth, file storage, cron jobs, durable workflows, and a dashboard are included.&lt;/li&gt;
&lt;li&gt;Offline writes can survive a page reload. This uses an opt-in outbox that is replayed exactly once.&lt;/li&gt;
&lt;li&gt;Coming from Convex, a handy codemod (&lt;code&gt;concile migrate&lt;/code&gt;) rewrites your imports. It also writes a report of what it could not move.&lt;/li&gt;
&lt;li&gt;The license is FSL-1.1-Apache-2.0. This makes it free to use and self-host, including commercially. However, you cannot resell it as a hosted service. Each release becomes Apache 2.0 after two years.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;The honest gaps:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The software is currently pre-1.0.&lt;/li&gt;
&lt;li&gt;There is no full-text or vector search yet.&lt;/li&gt;
&lt;li&gt;There is no managed cloud available.&lt;/li&gt;
&lt;li&gt;Running one server is free forever. The multi-server tiers are commercial products.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Pick it if:&lt;/strong&gt; You really like Convex's model of live queries as TypeScript functions. It is a great fit if you want to run it yourself with SQLite or Postgres underneath.&lt;/p&gt;

&lt;h2&gt;
  
  
  Quick picker
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;You want...&lt;/th&gt;
&lt;th&gt;Look at&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Exactly Convex, on your own server&lt;/td&gt;
&lt;td&gt;Convex self-hosted&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SQL, Postgres and a large ecosystem&lt;/td&gt;
&lt;td&gt;Supabase&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;One tiny binary, simplest setup&lt;/td&gt;
&lt;td&gt;PocketBase&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Convex-style live TypeScript functions, self-hosted, SQLite or Postgres&lt;/td&gt;
&lt;td&gt;Concile&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Built-in full-text or vector search today&lt;/td&gt;
&lt;td&gt;Convex or Supabase&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;No servers at all&lt;/td&gt;
&lt;td&gt;None of these. Use a managed cloud.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;I also put together an &lt;a href="https://script.google.com/macros/s/AKfycbwodVwLnexVLamLn6X9uZUBUF67Mwn_0Wso3IP-fn75zs_9D7Xjdj_tDaacCPXkbGEa/exec" rel="noopener noreferrer"&gt;interactive chooser&lt;/a&gt; to compare these with Firebase row by row. It includes a link to each project's docs:&lt;/p&gt;

&lt;p&gt;If I got something wrong about any of these projects, please tell me in the comments. I will be happy to fix it!&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>typescript</category>
      <category>opensource</category>
      <category>selfhosted</category>
    </item>
  </channel>
</rss>
