[{"data":1,"prerenderedAt":120},["ShallowReactive",2],{"seo-verification":3,"marketplace-app-ma-en-trailbase":6,"promo-bar-likely":119},{"google":4,"bing":5},"EycwPY2XMyTkVzas3n1ygeNJFGAH513qrMjfDljzsMQ","",{"key":7,"data":8},"marketplace-app-ma-en-trailbase",{"slug":9,"slugs":10,"categorySlugs":11,"name":16,"description":17,"phase":18,"unavailableReason":19,"docsUrl":20,"logo":21,"github":22,"tagline":23,"longDescription":24,"features":25,"useCases":32,"steps":42,"faq":58,"specs":74,"requirements":86,"compatibleOs":90,"relatedApps":91,"relatedPosts":112,"category":116},"trailbase",{"fr":9,"en":9,"ar":9,"es":9},{"fr":12,"en":13,"ar":14,"es":15},"developpement","development","التطوير","desarrollo","TrailBase","Self-hosted application backend in a single binary: typed REST and realtime APIs, authentication and an admin console, on SQLite.",2,"awaiting_qa","https:\u002F\u002Fservorbit.com\u002Fblog\u002Fself-host-trailbase-vps-firebase-alternative","\u002Fbrand\u002Fapps\u002Ftrailbase.svg","https:\u002F\u002Fgithub.com\u002Ftrailbaseio\u002Ftrailbase","TrailBase on a VPS: REST and realtime APIs, authentication and an admin console in a single binary, on SQLite and your own server.","TrailBase is an open-source application backend (OSL-3.0 licence), written in Rust, that ships as a single executable: it exposes your SQLite tables as typed REST APIs, with filtered lists, pagination and realtime subscriptions, handles sign-up and sign-in for your users, stores their files and provides an admin console to browse data, write SQL and set access rules. It is a self-hosted alternative to Firebase, built for web, mobile and desktop applications.\n\nInstalled on your VPS, TrailBase keeps your user base and their data with you: no per-request billing, no quota set by a third-party service. Client libraries exist for JavaScript and TypeScript, Dart and Flutter, Rust, Go, Python, C#, Swift and Kotlin, and a WebAssembly runtime hosts your server-side code.\n\nThe project still describes itself as alpha: it moves fast, and every update deserves a test before production. One container, about 80 to 150 MB of memory.",[26,27,28,29,30,31],"REST APIs generated from your SQLite tables and views: create, read, update, delete, filtered and sorted lists, cursor pagination.","Realtime subscriptions: your clients receive changes to a table or a record as soon as they happen.","Built-in authentication: sign-up, sign-in, email verification, two-factor authentication and OAuth providers, with ready-made login pages.","Fine-grained access control: who can read or write (public, signed-in users), refined by SQL rules — a user only edits their own records.","An admin console: table explorer, SQL editor, accounts, request logs and settings, with no extra tool to install.","Versioned SQL migrations and typed client libraries for JavaScript\u002FTypeScript, Dart\u002FFlutter, Rust, Go, Python, C#, Swift and Kotlin.",[33,36,39],{"title":34,"body":35},"Give a mobile app a backend","A Flutter or React Native developer plugs their app into TrailBase: user accounts, data and files live on their VPS, and the bill does not grow with the number of requests.",{"title":37,"body":38},"Prototype a web app in a day","An agency creates its tables from the console, opens an API on each and wires its Vue, React or Svelte front end with the TypeScript library: authentication and access rules are already there.",{"title":40,"body":41},"Replace Firebase on an existing project","A team that wants to keep its data in Morocco or control its costs moves its collections to SQL tables, with a schema versioned by migrations and backups under its control.",[43,46,49,52,55],{"title":44,"body":45},"Create the VPS and choose the address","Order an Ubuntu 24.04 VPS with at least 1 GB of RAM and 1 vCPU. TrailBase requires a domain: your apps call its API at a stable HTTPS address, and authentication email links point back to it. It installs on a subdomain of one of your domains, or on the VPS's free subdomain (trailbase.{dns_slug}.servorbit-dns.com), HTTPS included. No need to buy a domain name.",{"title":47,"body":48},"Install TrailBase from the Marketplace","In your client area, select TrailBase, choose the address and click Install. The script deploys the official image, sets the administrator password and configures the nginx reverse proxy over HTTPS.",{"title":50,"body":51},"Sign in for the first time","Open https:\u002F\u002Fyour-domain\u002F_\u002Fadmin\u002F and sign in with the address admin@localhost and the password shown in your client area. You can then change this account's address and password.",{"title":53,"body":54},"Create a table and open its API","In the table explorer, create a STRICT table with an integer or UUID primary key, then declare a Record API on it and choose who can read and write. It answers right away under \u002Fapi\u002Frecords\u002Fv1\u002F\u003Capi-name>.",{"title":56,"body":57},"Connect your application","Install the client library for your language (for example the trailbase npm package), point it at https:\u002F\u002Fyour-domain, and use it to sign users in, read and write records and subscribe to changes.",[59,62,65,68,71],{"q":60,"a":61},"Do I need a domain name for TrailBase?","Yes. Your apps call the TrailBase API at a stable HTTPS address, and authentication emails send your users back to it. No need to buy one: every ServOrbit VPS comes with a free subdomain (trailbase.{dns_slug}.servorbit-dns.com) with an HTTPS certificate. You can also pick a subdomain of one of your domains.",{"q":63,"a":64},"How do I sign in for the first time?","Open https:\u002F\u002Fyour-domain\u002F_\u002Fadmin\u002F and enter the address admin@localhost with the password shown in your client area. The random password TrailBase prints in its logs on first start is replaced by this one during installation: it does not work.",{"q":66,"a":67},"How is it different from PocketBase?","Both are single-binary backends on SQLite, with APIs, authentication and a console. TrailBase is written in Rust, requires strictly typed SQL tables to generate typed APIs and client bindings, and runs server-side code in WebAssembly. PocketBase, written in Go, is older and more battle-tested. Both are in the Marketplace.",{"q":69,"a":70},"Is TrailBase ready for production?","The project describes itself as alpha: it is active and releases often, but does not yet have the track record of a tool installed for years. Test every update on a copy before production, keep backups of the data folder, and read the release notes before changing version.",{"q":72,"a":73},"How do I send sign-up and password reset emails?","Configure an SMTP server in the admin console settings (host, port, credentials, sender address). Without SMTP, TrailBase cannot send email verification or password reset messages.",{"ram":75,"cpu":76,"disk":77,"stack":78,"port":83,"license":84,"os":85},"1 GB minimum","1 vCPU","10 GB",[79,80,81,82],"Docker","Rust","SQLite","WebAssembly","8133","OSL-3.0","Ubuntu 24.04",{"ramMB":87,"vcpu":88,"diskMB":89},1024,1,10240,[],[92,100,106],{"name":93,"slug":94,"categorySlug":13,"categoryName":95,"categoryColor":96,"logo":97,"tagline":98,"description":99},"PocketBase","pocketbase","Development","text-warning bg-warning\u002F10","\u002Fbrand\u002Fapps\u002Fpocketbase.svg","Your complete backend in a single Go binary — database, realtime API, auth and admin UI in one command.","Complete backend in a single Go binary — embedded SQLite, realtime REST & WebSocket API, auth, file storage and admin dashboard. Deploy a full backend in under 5 minutes.",{"name":101,"slug":102,"categorySlug":13,"categoryName":95,"categoryColor":96,"logo":103,"tagline":104,"description":105},"Supabase","supabase","\u002Fbrand\u002Fapps\u002Fsupabase.svg","The open-source Firebase alternative — a full Postgres backend with instant APIs, auth and a dashboard, self-hosted from Supabase's own official stack.","Self-hosted open-source Firebase alternative — a full Postgres backend with instant REST APIs, authentication and the Studio dashboard, deployed from Supabase's own official Docker stack.",{"name":107,"slug":108,"categorySlug":13,"categoryName":95,"categoryColor":96,"logo":109,"tagline":110,"description":111},"Appwrite","appwrite","\u002Fbrand\u002Fapps\u002Fappwrite.svg","Self-hosted backend-as-a-service — Auth, Databases, Storage and Realtime behind one API and a browser console, on infrastructure you control.","Self-hosted open-source backend-as-a-service for web, mobile and Flutter apps — Auth, Databases, Storage and Realtime behind a single API and a browser console, on infrastructure you control.",[113,114,115],"heberger-pocketbase-vps","supabase-vs-appwrite","heberger-supabase-vps",{"key":12,"slug":13,"name":95,"objective":117,"icon":118,"color":96},"Kick off a software project quickly.","dev",true,1795834722527]