https://github.com/trailbaseio/trailbase Skip to content Navigation Menu Toggle navigation Sign in * Product + GitHub Copilot Write better code with AI + Security Find and fix vulnerabilities + Actions Automate any workflow + Codespaces Instant dev environments + Issues Plan and track work + Code Review Manage code changes + Discussions Collaborate outside of code + Code Search Find more, search less Explore + All features + Documentation + GitHub Skills + Blog * Solutions By company size + Enterprises + Small and medium teams + Startups By use case + DevSecOps + DevOps + CI/CD + View all use cases By industry + Healthcare + Financial services + Manufacturing + Government + View all industries View all solutions * Resources Topics + AI + DevOps + Security + Software Development + View all Explore + Learning Pathways + White papers, Ebooks, Webinars + Customer Stories + Partners + Executive Insights * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles Repositories + Topics + Trending + Collections * Enterprise + Enterprise platform AI-powered developer platform Available add-ons + Advanced Security Enterprise-grade security features + GitHub Copilot Enterprise-grade AI features + Premium Support Enterprise-grade 24/7 support * Pricing Search or jump to... Search code, repositories, users, issues, pull requests... Search [ ] Clear Search syntax tips Provide feedback We read every piece of feedback, and take your input very seriously. [ ] [ ] Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Name [ ] Query [ ] To see all available qualifiers, see our documentation. Cancel Create saved search Sign in Sign up Reseting focus You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert {{ message }} trailbaseio / trailbase Public * Notifications You must be signed in to change notification settings * Fork 10 * Star 775 A blazingly fast, open-source application server with type-safe APIs, built-in JS/ES6/TS Runtime, Auth, and Admin UI built on Rust, SQLite & V8. trailbase.io License OSL-3.0 license 775 stars 10 forks Branches Tags Activity Star Notifications You must be signed in to change notification settings * Code * Issues 2 * Pull requests 0 * Discussions * Actions * Projects 0 * Security * Insights Additional navigation options * Code * Issues * Pull requests * Discussions * Actions * Projects * Security * Insights trailbaseio/trailbase main BranchesTags [ ] Go to file Code Folders and files Last commit Last Name Name message commit date Latest commit History 118 Commits .github/workflows .github/workflows assets assets client client docs docs examples examples proto proto trailbase-cli trailbase-cli trailbase-core trailbase-core trailbase-extension trailbase-extension trailbase-sqlite trailbase-sqlite ui ui vendor vendor .dockerignore .dockerignore .gitignore .gitignore .gitmodules .gitmodules .pre-commit-config.yaml .pre-commit-config.yaml .rustfmt.toml .rustfmt.toml CHANGELOG.md CHANGELOG.md Cargo.lock Cargo.lock Cargo.toml Cargo.toml Dockerfile Dockerfile LICENSE LICENSE Makefile Makefile README.md README.md docker-compose.yml docker-compose.yml pnpm-lock.yaml pnpm-lock.yaml pnpm-workspace.yaml pnpm-workspace.yaml View all files Repository files navigation * README * OSL-3.0 license TrailBase logo A blazingly fast, open-source application server with type-safe APIs, built-in JS/ES6/TS Runtime, Auth, and Admin UI built on Rust, SQLite & V8. Simplify with fewer moving parts: an easy to self-host, single-file, extensible backend for your mobile, web or desktop application. Sub-millisecond latencies eliminate the need for dedicated caches, no more stale or inconsistent data. [6874747073] Build Status License - OSL 3.0 Status - Alpha TrailBase Admin UI Try the demo online - Email: admin@localhost, password: secret. For more context, documentation, and a live demo, check out the website: trailbase.io. Questions? Thoughts? - Take a look at the FAQ or reach out. If you like TrailBase or want to follow along, consider leaving a . Project Structure & Releases This repository contains all components that make up TrailBase including client libraries, tests, documentation and examples. Only the benchmarks are kept separately due to their external dependencies. Pre-built static binaries are available as GitHub releases for Linux an MacOS. Moreover, containers and client packages are available via: * Docker * JavaScript/Typescript client * Dart/Flutter client * C#/.Net * Python Running You can run pre-built TrailBase either by downloading the latest release and running $ ./trail run or using docker: $ mkdir traildepot $ alias trail="docker run -p 4000:4000 --mount type=bind,source=$PWD/traildepot,target=/app/traildepot trailbase/trailbase /app/trail" $ trail run . Run trail --help to get a full list of commands. If you don't want to rely on pre-built binaries, TrailBase is easy to build yourself, see below. Building If you have all the necessary dependencies (rust, nodejs, pnpm, ...) installed, you can build TrailBase simply by running: $ git submodule update --init --recursive $ cargo build --release To build fully static binaries on Linux (et al): $ RUSTFLAGS="-C target-feature=+crt-static" cargo build --target x86_64-unknown-linux-gnu --release Alternatively, if you want a container or don't have to deal with dependencies, you can build using docker: $ git submodule update --init --recursive $ docker build . -t trailbase Contributing Contributions are very much appreciated . For anything beyond bug fixes, let's quickly chat to see how a proposal fits into the overall roadmap and avoid any surprises. We're not sure yet what the best setup or exact license is for compatibility between OSL-3.0 and more popular licenses or use as a framework. So we'd ask you to sign a simple CLA that retains your copyright, ensures that TrailBase will continue to forever be freely available under an OSI-approved copyleft license, while allowing for some flexibility and sub-licensing as established by much larger, successful projects such as Grafana or Element. License TrailBase is free software under the terms of the OSL-3.0. We chose this license over more popular, similar copyleft licenses such as AGPLv3 due to its narrower definition of derivative work that only covers modifications to TrailBase itself. This is similar to GPL's classpath exception or LGPL's linkage exception allowing the use of TrailBase as a framework without inflicting licensing requirements on original work layered on top. That said, we ain't lawyers. The author of the license provides a more thorough explanation. If you have any concerns or advice for us, please reach out. If you require an exception, reach out to contact@trailbase.io. About A blazingly fast, open-source application server with type-safe APIs, built-in JS/ES6/TS Runtime, Auth, and Admin UI built on Rust, SQLite & V8. trailbase.io Topics rust database authentication rest-api Resources Readme License OSL-3.0 license Activity Custom properties Stars 775 stars Watchers 6 watching Forks 10 forks Report repository Releases 9 v0.3.0 Latest Dec 5, 2024 + 8 releases Packages 0 No packages published Contributors 4 * @ignatz ignatz Sebastian Jeltsch * @vladdoster vladdoster vladislav doster * @JarWarren JarWarren * @Liangyiu Liangyiu Marcel Languages * Rust 56.4% * TypeScript 33.4% * JavaScript 3.8% * Dart 1.7% * C# 1.5% * Python 1.3% * Other 1.9% Footer (c) 2024 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact * Manage cookies * Do not share my personal information You can't perform that action at this time.