A self-hostable, multitenant file server and workspace suite: files, media,
documents, boards, requirements and automations, all as plain files in
folders on your server. Rust (ntex) + Solid 2. Accounts, organisations,
permissions and the admin dashboard come from apiplant,
used as a library. The design is in docs/.
WIP. Most features implemented, rough UI in a few spots, bad UX in others.
docker compose up -d # Postgres (or bring your own)
pnpm -C web install && pnpm -C web build # the web app, embedded at build time
cargo run -p stilla -- serve # http://127.0.0.1:8640Sign up in the browser; you land in your personal workspace. To see what Stilla does, fill it with samples:
scripts/seed-samples.sh data/workspaces/<your-slug>Make yourself an instance administrator (installs plugins, sees every
workspace in /admin/):
cargo run -p stilla -- admin grant you@example.comFor development, scripts/dev.sh rebuilds the web app and the server on
every change and restarts the server only when the build succeeds (logs in
data/dev.log).
<data_dir>/stilla.toml, overridden by flags and STILLA_* variables:
host = "0.0.0.0"
port = 8640
database_url = "postgres://stilla@db/stilla" # STILLA_DATABASE_URL
secure_cookies = true # behind HTTPS
max_upload_mb = 4096
disabled_plugins = ["hello"]Set STILLA_JWT_SECRET, or sessions end at every restart.
| Path | |
|---|---|
crates/stilla |
the binary: serve, admin |
crates/stilla-core |
paths, file metadata, errors |
crates/stilla-vfs |
the VFS: local provider, containment, file types |
crates/stilla-db |
Stilla's Postgres tables and migrations |
crates/stilla-versions |
file history: chunked, deduplicated, compressed |
crates/stilla-platform |
apiplant embedding, workspaces, the one write path, organisation hooks |
crates/stilla-plugin-api |
the plugin API and registry |
crates/stilla-http |
/api/fs, uploads, versions, events, the shell |
crates/plugins/* |
built-in plugins |
web/ |
@stilla/sdk, @stilla/ui, the shell |
cargo test # unit tests
STILLA_TEST_DATABASE_URL=postgres://postgres@127.0.0.1:5432/postgres cargo test # + database tests
CHROME=/usr/bin/google-chrome tests/e2e/run.sh # API suite + browser smoke testOpen Settings → Appearance in Files to preview and choose a file browser theme. In a media gallery, open Settings → Appearance to preview gallery themes and set how artwork fits its cards. Expand Media in the Files sidebar or use the stacked-play icon in a gallery header to browse media directories across your workspaces.
Use Choose server on the sign-in screen or Switch server in the Files sidebar. Enter the origin of any reachable Stilla instance, including http://localhost:8640. The browser opens that instance directly and remembers the server addresses in local storage. Each instance keeps its own sign-in cookie. For multiple instances on the same hostname with different ports, configure a unique session_cookie_name in each instance’s stilla.toml, since cookies are scoped by hostname.
Workspace admins can set or remove a folder password with Folder password in its Files toolbar. For a media gallery, use Files to reach the toolbar. Members still need workspace permission. Unlocks last up to twelve hours in the current session and reset when the password changes or the server restarts. Remove protection before moving, copying, or deleting the protected folder or its parent. Public share links and Git transports cannot open protected contents.
Install libmpv (libmpv2 on Debian and Raspberry Pi OS) on a Linux desktop. Stilla Gallery uses egui and OpenGL on Wayland or X11. From the repository root, build and run the Rust client.
cargo install --path crates/stilla-gallery --locked
stilla-gallery https://stilla.example.org --fullscreenChoose a server or enter its address, then sign in with your account email and password. Stilla Gallery stores each server’s session token in a private file under $XDG_CONFIG_HOME/stilla-gallery/auth/ (or ~/.config/stilla-gallery/auth/). Switch server keeps saved sessions available. Sign out removes the session for the current server. Stilla Gallery reopens the last gallery or collection for that server. On a new server it opens the first available workspace. Browse Media galleries from the stacked play icon to switch workspaces or servers. Choose an item to play. The desktop gallery uses the web gallery’s artwork, themes, and navigation. It prompts for folder passwords and renders photos, music, and video in the same window using libmpv, with hardware decoding when available. Playback resumes from Stilla’s saved position and reports progress when it ends or you close the player. Click the video to pause or resume. Use Loop clip to repeat the current clip. Press Escape to return to the gallery and F11 to toggle fullscreen. The desktop player keeps the device awake during active playback on systems with systemd-logind.
Select Play in a Games gallery to launch the game fullscreen in the same window. Install a software-rendering libretro core for your system, such as mGBA for Game Boy and Game Boy Advance, and SDL2 for sound and controller input. Stilla looks in the usual RetroArch and system core directories. Set STILLA_LIBRETRO_CORES to use another directory and STILLA_LIBRETRO_SYSTEM for an alternate BIOS directory. Use the arrow keys and Z/X, or a gamepad. Enter starts and Escape returns to the gallery. Cartridge saves stay on the device under the Stilla Gallery configuration directory.