Files
Oxicloud/README.md
T

223 lines
10 KiB
Markdown
Raw Normal View History

2025-03-23 23:27:56 +01:00
<p align="center">
2026-04-22 07:50:41 +02:00
<img src="images/oxicloud-logo.png" alt="OxiCloud logo" width="360" />
2025-03-23 23:27:56 +01:00
</p>
2025-03-19 00:44:27 +01:00
2026-04-22 07:50:41 +02:00
<p align="center">
A fast self-hosted cloud for people who want files, calendars, contacts, and office editing without dragging a heavy stack behind them.
</p>
2025-03-19 00:44:27 +01:00
2026-04-22 07:50:41 +02:00
<p align="center">
2026-05-28 22:42:47 +02:00
<a href="https://AtalayaLabs.github.io/OxiCloud/">Documentation</a>
2026-04-22 07:50:41 +02:00
·
<a href="#quick-start">Quick Start</a>
·
2026-05-28 22:42:47 +02:00
<a href="https://github.com/AtalayaLabs/OxiCloud/stargazers">Star OxiCloud</a>
2026-04-22 07:50:41 +02:00
·
2026-05-28 22:42:47 +02:00
<a href="https://github.com/AtalayaLabs/OxiCloud/issues/new?template=feature_request.md">Request a Feature</a>
2026-04-22 07:50:41 +02:00
·
<a href="#supported-clients">Supported Clients</a>
·
<a href="#project-status">Project Status</a>
</p>
2025-03-24 12:52:54 +01:00
2026-04-22 07:50:41 +02:00
<p align="center">
2026-05-28 22:42:47 +02:00
<a href="https://github.com/AtalayaLabs/OxiCloud/releases"><img src="https://img.shields.io/github/release/AtalayaLabs/OxiCloud.svg?style=for-the-badge" alt="Latest release" /></a>
<a href="https://github.com/AtalayaLabs/OxiCloud/actions/workflows/ci.yml"><img src="https://img.shields.io/github/actions/workflow/status/AtalayaLabs/OxiCloud/ci.yml?branch=main&style=for-the-badge&label=CI" alt="CI" /></a>
<a href="https://github.com/AtalayaLabs/OxiCloud/stargazers"><img src="https://img.shields.io/github/stars/AtalayaLabs/OxiCloud?style=for-the-badge&logo=github" alt="GitHub stars" /></a>
<a href="https://hub.docker.com/r/AtalayaLabs/oxicloud"><img src="https://img.shields.io/docker/image-size/AtalayaLabs/oxicloud?style=for-the-badge&logo=docker" alt="Docker image size" /></a>
2026-04-22 07:50:41 +02:00
<a href="https://www.rust-lang.org/"><img src="https://img.shields.io/badge/Rust-1.93%2B-orange?style=for-the-badge&logo=rust" alt="Rust 1.93+" /></a>
<a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/License-MIT-blue.svg?style=for-the-badge" alt="MIT license" /></a>
</p>
2026-04-22 07:50:41 +02:00
<p align="center">
2026-05-28 22:42:47 +02:00
If OxiCloud saves you setup time, RAM, or complexity, <a href="https://github.com/AtalayaLabs/OxiCloud/stargazers">give it a star</a>.
If something is missing, <a href="https://github.com/AtalayaLabs/OxiCloud/issues/new?template=feature_request.md">ask for a feature</a> or <a href="https://github.com/AtalayaLabs/OxiCloud/issues/new?template=documentation_request.md">request a docs improvement</a>.
2026-04-22 07:50:41 +02:00
</p>
2026-05-28 22:42:47 +02:00
![OxiCloud dashboard](<images/Captura de pantalla 2026-05-28 a las 22.35.08.png>)
2026-03-11 08:48:14 +00:00
2026-04-22 07:50:41 +02:00
## Why People Try OxiCloud
2026-04-22 07:50:41 +02:00
OxiCloud is aimed at self-hosters, home labs, and small teams who want the useful parts of a cloud suite without the operational drag of a traditional PHP stack.
2026-04-22 07:50:41 +02:00
What pulls people in:
2026-04-22 07:50:41 +02:00
- Standard protocols first: WebDAV, CalDAV, and CardDAV are built in
- Useful product surface already there: files, previews, sharing, trash, search, favorites, and recent items
- Modern auth and admin basics: OIDC/SSO, quotas, roles, and shared links
- Better interoperability: native desktop and mobile clients work without custom sync tooling for basic access
- Lower deployment friction: Docker Compose, environment-based configuration, Helm chart, and Nix module
2026-04-22 07:50:41 +02:00
> OxiCloud is not trying to mirror the full plugin ecosystem of Nextcloud. It is designed for a smaller stack, fast startup, and standards-based interoperability.
2026-04-22 07:50:41 +02:00
## Quick Start
2025-03-19 00:44:27 +01:00
2026-04-22 07:50:41 +02:00
### Docker Compose
2025-03-19 00:44:27 +01:00
2026-04-22 07:50:41 +02:00
Requires Docker and Docker Compose.
2025-03-19 00:44:27 +01:00
2026-04-22 07:50:41 +02:00
```bash
2026-05-28 22:42:47 +02:00
git clone https://github.com/AtalayaLabs/OxiCloud.git
2026-04-22 07:50:41 +02:00
cd OxiCloud
cp example.env .env
2026-04-22 07:50:41 +02:00
# If users will access OxiCloud through a domain or reverse proxy,
# set OXICLOUD_BASE_URL in .env before the first login.
docker compose up -d
```
2026-04-22 07:50:41 +02:00
Open `http://localhost:8086`.
2025-03-19 00:44:27 +01:00
2026-04-22 07:50:41 +02:00
### Run from source
2025-03-19 00:44:27 +01:00
2026-04-22 07:50:41 +02:00
Requires Rust 1.93+ and PostgreSQL.
2025-03-24 12:52:54 +01:00
2026-04-22 07:50:41 +02:00
```bash
2026-05-28 22:42:47 +02:00
git clone https://github.com/AtalayaLabs/OxiCloud.git
2026-04-22 07:50:41 +02:00
cd OxiCloud
cp example.env .env
2026-02-03 17:59:04 +01:00
2026-04-22 07:50:41 +02:00
# If PostgreSQL runs on your host instead of Docker, update both
# OXICLOUD_DB_CONNECTION_STRING and DATABASE_URL to use localhost:5432.
cargo run
2026-02-03 17:59:04 +01:00
```
2026-04-22 07:50:41 +02:00
Deployment details: [deployment guide](docs/config/deployment.md) · [example.env](example.env)
2026-04-22 07:50:41 +02:00
## What You Get
2026-04-22 07:50:41 +02:00
| Area | Included |
| --- | --- |
| Files | Multi-file upload, folders, inline previews, thumbnails, chunked uploads, deduplication, trash |
| Sync and clients | WebDAV, CalDAV, CardDAV, native OS clients, Thunderbird, DAVx5 |
| Security | JWT auth, Argon2id, OIDC/SSO, shared links, quotas, admin/user roles |
| Integrations | REST API and WOPI for Collabora or OnlyOffice |
| Operations | Docker image, Docker Compose, env-driven config, PostgreSQL backend |
| Project tooling | Architecture docs, Helm chart, Nix module, CI |
2026-04-22 07:50:41 +02:00
## Supported Clients
2026-04-22 07:50:41 +02:00
OxiCloud uses standard DAV protocols, so it works with native clients instead of requiring a custom sync stack for basic access.
2026-04-22 07:50:41 +02:00
| Use case | URL |
| --- | --- |
| Files via WebDAV | `https://your-host/webdav/` |
| Calendars via CalDAV | `https://your-host/caldav/` |
| Contacts via CardDAV | `https://your-host/carddav/` |
2026-04-22 07:50:41 +02:00
Common clients that work well:
2026-04-22 07:50:41 +02:00
- macOS Finder
- Windows Explorer
- GNOME Files and KDE Dolphin
- Thunderbird
- Apple Calendar and Contacts
- DAVx5 on Android
2026-02-03 17:59:04 +01:00
2026-04-22 07:50:41 +02:00
Client setup guides: [DAV client setup](docs/guide/dav-client-setup.md) · [WebDAV guide](docs/guide/webdav.md) · [CalDAV & CardDAV guide](docs/guide/caldav-carddav.md)
2025-03-19 00:44:27 +01:00
2026-04-22 07:50:41 +02:00
## Project Status
2026-04-22 07:50:41 +02:00
OxiCloud is actively developed and already covers the core self-hosted cloud workflow.
2025-03-19 00:44:27 +01:00
2026-04-22 07:50:41 +02:00
| Capability | Status | Notes |
| --- | --- | --- |
| File storage and web UI | Ready | Uploads, previews, sharing, trash, and search |
| WebDAV | Ready | Standard file access for desktop and mobile clients |
| CalDAV and CardDAV | Ready | Working with Thunderbird, Apple clients, and others |
| OIDC / SSO | Ready | Documentation and config examples included |
| WOPI office editing | Ready | Works with Collabora or OnlyOffice |
| DAVx5 Android support | Partial | File sync works well; calendar and contact behavior is still being refined |
| Desktop sync client | Planned | Not yet available |
| Mobile apps | Planned | Not yet available |
| End-to-end encryption | Planned | Roadmap item |
2026-04-22 07:50:41 +02:00
Roadmap: [TODO-LIST.md](TODO-LIST.md)
2026-04-22 07:50:41 +02:00
## Help Shape OxiCloud
2026-04-22 07:50:41 +02:00
If you want OxiCloud to get better faster, use the repo like a product feedback loop, not just a code dump.
2026-02-03 17:59:04 +01:00
2026-05-28 22:42:47 +02:00
- Give it a star if you want more people to discover the project: [Star OxiCloud](https://github.com/AtalayaLabs/OxiCloud/stargazers)
- Propose missing functionality: [feature request](https://github.com/AtalayaLabs/OxiCloud/issues/new?template=feature_request.md)
- Point out confusing onboarding or weak docs: [documentation request](https://github.com/AtalayaLabs/OxiCloud/issues/new?template=documentation_request.md)
- Report breakage or regressions: [bug report](https://github.com/AtalayaLabs/OxiCloud/issues/new?template=bug_report.md)
2026-04-22 07:50:41 +02:00
- Build it with us: [CONTRIBUTING.md](CONTRIBUTING.md)
2026-02-03 17:59:04 +01:00
2026-04-22 07:50:41 +02:00
The best feature ideas usually come from real deployment pain. If you hit friction, open an issue and describe the workflow you want.
2025-03-19 00:44:27 +01:00
2026-04-22 07:50:41 +02:00
## Architecture and Deployment
2026-04-22 07:50:41 +02:00
OxiCloud follows a clean, hexagonal architecture so protocol handlers, business logic, and infrastructure stay separated.
2026-04-22 07:50:41 +02:00
- Backend: Rust + Axum
- Database: PostgreSQL
- Configuration: environment variables
- Default deployment: Docker Compose
- Additional packaging: [Helm chart](charts/oxicloud) and [Nix module](tools/nix/module.nix)
2025-03-19 00:44:27 +01:00
2026-04-22 07:50:41 +02:00
Architecture docs: [internal architecture](docs/architecture/index.md) · [caching architecture](docs/architecture/caching.md) · [database transactions](docs/architecture/database-transactions.md) · [storage safety](docs/architecture/file-system-safety.md)
2026-04-22 07:50:41 +02:00
## Configuration and Integrations
2026-04-22 07:50:41 +02:00
Start with [example.env](example.env). The most important settings are:
2025-03-19 00:44:27 +01:00
2026-04-22 07:50:41 +02:00
- `OXICLOUD_BASE_URL` for reverse proxies, domains, and external access
- `OXICLOUD_DB_CONNECTION_STRING` for PostgreSQL
- `OXICLOUD_OIDC_ENABLED` and related settings for SSO
- `OXICLOUD_WOPI_ENABLED` and discovery URL for office editing
- `MIMALLOC_PURGE_DELAY=0` for lower idle RSS in constrained environments
2026-04-22 07:50:41 +02:00
Integration docs: [OIDC setup](docs/config/oidc.md) · [OIDC architecture](docs/config/oidc.md) · [OIDC config examples](docs/config/oidc-config-examples.md) · [WOPI integration](docs/config/wopi.md)
2025-03-19 00:44:27 +01:00
2026-04-22 07:50:41 +02:00
## Documentation
2025-03-19 00:44:27 +01:00
2026-05-28 22:42:47 +02:00
- Docs site: [AtalayaLabs.github.io/OxiCloud](https://AtalayaLabs.github.io/OxiCloud/)
2026-04-22 07:50:41 +02:00
- Deployment: [docs/config/deployment.md](docs/config/deployment.md)
- Batch operations: [docs/guide/batch-operations.md](docs/guide/batch-operations.md)
- Search: [docs/guide/search.md](docs/guide/search.md)
- Thumbnails and transcoding: [docs/guide/thumbnails-and-transcoding.md](docs/guide/thumbnails-and-transcoding.md)
- Deduplication: [docs/guide/deduplication.md](docs/guide/deduplication.md)
2025-03-19 00:44:27 +01:00
2026-04-22 07:50:41 +02:00
## Development
2025-03-19 00:44:27 +01:00
2026-04-22 07:50:41 +02:00
```bash
cargo fmt --all --check
cargo clippy --all-features --all-targets -- -D warnings
2026-04-22 07:50:41 +02:00
cargo test --workspace
```
2025-03-19 00:44:27 +01:00
2026-04-22 07:50:41 +02:00
## Contributing
2025-03-19 00:44:27 +01:00
2026-04-22 07:50:41 +02:00
Contributions are welcome. Read [CONTRIBUTING.md](CONTRIBUTING.md) before opening a pull request and [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md) for community expectations.
2026-02-11 21:27:25 +01:00
2026-04-22 07:50:41 +02:00
If you are not ready to code yet, starring the project and opening a precise feature request is still a meaningful contribution.
2026-02-11 21:27:25 +01:00
2026-05-28 22:42:47 +02:00
<div align="center">
## Contributors
OxiCloud is a community-driven project, and we appreciate all contributions. Check out the [Contributors](https://github.com/AtalayaLabs/OxiCloud/graphs/contributors) page to see the amazing people who have helped make OxiCloud better.
<a href="https://github.com/AtalayaLabs/OxiCloud/graphs/contributors">
<img src="https://contrib.rocks/image?repo=AtalayaLabs/OxiCloud" alt="Contributors" />
</a>
## Star History
<a href="https://star-history.dera.page/#AtalayaLabs/OxiCloud&Date">
2026-05-28 22:42:47 +02:00
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://star-history.dera.page/svg?repos=AtalayaLabs/OxiCloud&type=Date&theme=dark" />
<source media="(prefers-color-scheme: light)" srcset="https://star-history.dera.page/svg?repos=AtalayaLabs/OxiCloud&type=Date" />
<img alt="Star History Chart" src="https://star-history.dera.page/svg?repos=AtalayaLabs/OxiCloud&type=Date" />
2026-05-28 22:42:47 +02:00
</picture>
</a>
2026-04-22 07:50:41 +02:00
## License
2026-02-11 21:27:25 +01:00
2026-05-28 22:42:47 +02:00
[MIT](https://opensource.org/licenses/MIT). See [LICENSE](LICENSE).
**OxiCloud** is a trademark of the OxiCloud project. All other trademarks are the property of their respective owners.
</div>