Softadastra Drive is the foundation of the new Softadastra platform β
a cloud-first, offline-capable, real-time, AIβaugmented storage engine designed for developers and modern distributed applications.
This repository hosts the high-performance C++ backend, powered by Vix.cpp, built for:
- Ultra-fast file operations
- Modern sync mechanisms
- Durability across devices
- Local-first behaviour with cloud consistency
- Integration with a dedicated AI engine (
drive-ai)
Softadastra Drive is the first brick of the future Softadastra Global OS + WorldNet, a unified environment that enables:
- Cloud desktop
- App studio
- Marketplace
- AI-native workflows
- Peer-to-peer sync
Driveβcore is the heart that everything else depends on.
Softadastra Drive aims to redefine what a cloud storage engine can be:
Files load fast, sync instantly, and remain available offline, thanks to IndexedDB and a local-first sync algorithm.
Every update triggers instant events:
file_createdfile_updatedfile_deletedfolder_changed
All exposed via WebSocket for any client, SDK, or app.
Every file can be:
- summarized,
- OCRβprocessed,
- semantically indexed,
- explored via natural language.
A PDF becomes searchable.
An image becomes tagged.
A folder becomes intelligent.
Developers can integrate Softadastra Drive via:
- JavaScript SDK
- C++ SDK
- Python SDK
No vendor lock-in β everything is open-source.
Unlike Firebase or Supabase, Softadastra Drive uses a custom C++ engine designed for:
- low latency
- high throughput
- minimal memory usage
- efficient concurrency
This backend scales vertically and horizontally while keeping predictable performance.
drive-core (C++)
β
βββ HTTP API (REST/JSON)
βββ WebSocket Sync Engine
βββ File Metadata, Versions, Trees
βββ Authentication & Sessions
βββ AI Integration Gateway β drive-ai (Python)
βββ MySQL Storage
Supporting repositories:
- drive-frontend β PWA + offline + UI
- drive-ai β AI microservice (FastAPI, OCR, summaries, embeddings)
- sdk-js / sdk-cpp / sdk-python β Official SDKs
- docs β Documentation site
drive-core/
βββ CMakeLists.txt
βββ CMakePresets.json
βββ README.md
βββ CHANGELOG.md
βββ include/
β βββ softadastra/drive/
β βββ app/
β β βββ App.hpp
β βββ http/
β βββ service/
β βββ repository/
β βββ ws/
β βββ utils/
βββ src/
β βββ main.cpp
β βββ app/App.cpp
β βββ http/
β βββ service/
β βββ repository/
β βββ ws/
β βββ utils/
βββ tests/
βββ CMakeLists.txt
βββ *.cpp
- C++20 compiler
- GCC β₯ 11, Clang β₯ 15, MSVC 2022+
- CMake β₯ 3.20
- Vix.cpp installed (core-only)
- Boost
- OpenSSL
- MySQL Connector/C++
- Ninja (recommended)
vix build
vix runcmake --preset dev-ninja
cmake --build --preset dev-ninja
./build-ninja/drive-coreVisit:
Returns service health.
Returns service status.
More routes will follow:
/auth/signup/auth/login/files/upload/files/:id/folders/.../sync/index/sync/changes
Softadastra Drive uses Catch2 v3 via FetchContent.
Run tests:
ctest- Project skeleton
- Auth system
- File metadata engine
- Folder system
- Sync event model
- Upload / download
- Versions
- Previews / thumbnails
- Change cursors
- Real-time WebSocket sync
- Conflict resolution
- Summaries
- OCR
- Semantic search
- JS SDK
- C++ SDK
- Python SDK
MIT Β© Softadastra / Vixcpp authors
Softadastra Drive is open-source and welcomes contributions:
- features
- bug fixes
- documentation
- performance improvements
Softadastra Drive is more than a storage backend.
It is the core building block of the future Softadastra OS, where apps, AI, sync, identity, and cloud-native workflows merge into a unified ecosystem.
You're not just storing files β
you're building the foundation of a global distributed system.