Clients for Vaultbase, the single-binary backend: records, auth, files and realtime.
| Package | What it is |
|---|---|
vaultbase |
The client, pure Dart. Works in Flutter, on the server and in CLIs. |
vaultbase_flutter |
Flutter helpers: secure token storage, OAuth sign-in, app lifecycle. |
Both need Dart 3.6 (Flutter 3.27) and a Vaultbase server 0.27 or later. Docs:
docs.vaultbase.dev/sdk-dart/quick-start.
A complete Flutter app is in example/.
Needs the Flutter SDK (3.27 or later) and Bun for the integration tests.
flutter pub get
dart format .
flutter analyze
(cd packages/vaultbase && dart test) # integration tests need ../vaultbase
(cd packages/vaultbase_flutter && flutter test)The integration tests start a real server from a checkout of
vaultbase-sh/vaultbase next to this repo
(../vaultbase), or from VAULTBASE_SERVER_DIR. Without one they skip.
Git hooks in .githooks/ run the CI checks before a push (format, analyze, tests) and refuse AI attribution in commit messages. Turn them on once per clone:
git config core.hooksPath .githooksMIT