The main purpose I've been developing this is so that I could bypass discord's upload limit. However, discord has announced phoenix, their rewrite of the discord client in rust. This leaves me currently with little incentive to continue developing conndite.
This could change as people find ways to load extensions into the new client. I could also see a future where I develop something that collapses into system tray and/or into the context menu and makes it trivial to upload things to S3 and hands you links you can paste in anywhere. Currently, however, I have no incentive to do this.
Self-hosted file storage backed by your own S3-compatible bucket. The current project includes a Rust HTTP service, Rust/Node/browser SDKs, and an SSR web console for listing, uploading, confirming and deleting files.
This is early software: the API has no authentication or owner isolation. Deploy the API and dashboard behind trusted access. Download links currently expire; public/private visibility is planned. A desktop Vencord userplugin adds Condite uploads and local privacy options beside the Discord message box. Installation requires a source-built Vencord; it is not enabled automatically.
- Core setup and API: database, bucket and server.
- Dashboard setup: SDK build, development and deployment.
- File privacy coverage: metadata, filenames, encryption and limits.
- Development guide: repository map, checks and change workflow.
- SDK build and tests: native addon and browser WASM prerequisites.
- SDK usage: Rust, Node/Electron, browser.
- CI details and sharing architecture.
Install Just, Rust/rustup, Node (dashboard: 22.23.4+), Bun 1.4.4+, and a C toolchain. Then, from the repository root:
just install all # Backend + SDK tooling/build + dashboard dependencies
# Configure crates/condite-core/condite.toml and referenced .env secrets.
just check tools # Check all prerequisites and configuration
just run backend # Terminal 1: API on :8080
just run dashboard # Terminal 2: dashboard on :4321 (open /en/ or /es/)Run just help for all commands and examples. just install all includes the
Vencord toolchain setup and mprocs (requires pnpm for Vencord). Use just run all
to manage the backend and dashboard together in mprocs,
or run each component separately. Database and S3 services must be provisioned
separately. just build all includes SDKs, backend, dashboard and Vencord.
Dashboard installation prepares the SDKs first; dashboard builds assume
installation is complete.
just build sdk regenerates shared types,
Node/WASM packages and the Rust example. Re-run it after SDK
changes; workspace links expose the regenerated packages to the dashboard.
Run bun install --frozen-lockfile at the root to install all JavaScript
workspaces from one bun.lock. Shared tooling versions live in the root catalog;
Solid integration pins and overrides also stay centralized. SDK workspace links
resolve before generation: run bun run build:sdk before using the dashboard.
bun run build generates the SDKs and builds the dashboard in order.
Use bun run dev:dashboard, bun run check:dashboard, and
bun run build:dashboard from the root. Electron's install script is trusted
explicitly; production SSR still runs on Node.
Rust dependency versions live in [workspace.dependencies]; crates opt into
features locally to keep native and browser dependencies isolated. SDK development
builds share target/ with the service. bun run build:sdk:release retains the
size-optimized release build. The external Rust consumer deliberately keeps its
own workspace and lockfile to test independent use.
just check tools backend, just check tools dashboard, and just check tools sdk narrow the
checks. Tool checking is read-only, returns nonzero for missing prerequisites, and does
not probe the database or S3. SDK browser/Electron test dependencies are documented
in SDK development.
Local justfiles in crates/condite-core, clients/dashboard, and scripts/sdk
provide install, build, check, help, and run (apps). Install commands
preserve existing TOML and .env files. Run just anywhere for the command guide.
Install stable Rust and Just, provision an S3-compatible bucket, then:
cp crates/condite-core/.env.example crates/condite-core/.env
cp crates/condite-core/condite.example.toml crates/condite-core/condite.toml
# Edit TOML for deployment settings; .env supplies referenced storage/root secrets.
just runThe example uses a local Turso database. Startup applies embedded migrations and
binds to 0.0.0.0:8080. GET /v1/health reports process health; it does not probe
storage. See the core README for storage permissions and browser CORS requirements.
Rust packages live under crates/; the Cargo workspace defaults to condite-core.
Use --workspace to check all packages. The dashboard lives in
clients/dashboard/; root Bun commands build the SDKs and dashboard.
The independent Rust consumer in examples/sdk-consumer/ has its own workspace
and lockfile. Core is AGPL-3.0-or-later; shared types and SDK crates are MIT.
See contributing, conduct, security reporting, and the license overview. This project was written with AI assistance.