Home

Awesome

<div align="center">

Olares: An Open-Source Sovereign Cloud OS for Local AI<!-- omit in toc -->

Mission<br/> Last Commit Build Status GitHub release (latest by date) GitHub Repo stars Discord License

<p> <a href="./README.md"><img alt="Readme in English" src="https://img.shields.io/badge/English-FFFFFF"></a> <a href="./README_CN.md"><img alt="Readme in Chinese" src="https://img.shields.io/badge/简体中文-FFFFFF"></a> </p> </div>

https://github.com/user-attachments/assets/3089a524-c135-4f96-ad2b-c66bf4ee7471

Build your local AI assistants, sync data across places, self-host your workspace, stream your own media, and more—all in your sovereign cloud made possible by Olares.

<p align="center"> <a href="https://olares.xyz">Website</a> · <a href="https://docs.olares.xyz">Documentation</a> · <a href="https://olares.xyz/larepass">Download LarePass</a> · <a href="https://github.com/beclab/apps">Olares Apps</a> · <a href="https://space.olares.xyz">Olares Space</a> </p>

[!IMPORTANT]
We just finished our rebranding from Terminus to Olares recently. For more information, refer to our rebranding blog.

Convert your hardware into an AI home server with Olares, an open-source sovereign cloud OS built for local AI.

🌟 Star us to receive instant notifications about new releases and updates.

Why Olares?

Here is why and where you can count on Olares for private, powerful, and secure sovereign cloud experience:

🤖 Edge AI: Run cutting-edge open AI models locally, including large language models, computer vision, and speech recognition. Create private AI services tailored to your data for enhanced functionality and privacy. <br>

📊 Personal data repository: Securely store, sync, and manage your important files, photos, and documents across devices and locations.<br>

🚀 Self-hosted workspace: Build a free collaborative workspace for your team using secure, open-source SaaS alternatives.<br>

🎥 Private media server: Host your own streaming services with your personal media collections. <br>

🏡 Smart Home Hub: Create a central control point for your IoT devices and home automation. <br>

🤝 User-owned decentralized social media: Easily install decentralized social media apps such as Mastodon, Ghost, and WordPress on Olares, allowing you to build a personal brand without the risk of being banned or paying platform commissions.<br>

📚 Learning platform: Explore self-hosting, container orchestration, and cloud technologies hands-on.

Getting started

System compatibility

Olares is available for Linux, Raspberry Pi, Mac, and Windows. It has been tested and verified on the following systems:

PlatformOperating systemNotes
LinuxUbuntu 20.04 LTS or later <br/> Debian 11 or later
Raspberry PiRaspbianOSVerified on Raspberry Pi 4 Model B and Raspberry Pi 5
WindowsWindows 11 23H2 or later <br/>Windows 10 22H2 or later<br/> WSL2
MacMonterey (12) or later
Proxmox VE (PVE)Proxmox Virtual Environment 8.0

Note

If you successfully install Olares on an operating system that is not listed in the compatibility table, please let us know! You can open an issue or submit a pull request on our GitHub repository.

Set up Olares

To get started with Olares on your own device, follow the Getting Started Guide for step-by-step instructions.

Tech stacks

Public clouds have IaaS, PaaS, and SaaS layers. Olares provides open-source alternatives to these layers.

Tech Stacks

Features

Olares offers a wide array of features designed to enhance security, ease of use, and development flexibility:

Comparison with other self-hosting solutions

As an open-source sovereign cloud OS for local AI, Olares reimagines what’s possible in self-hosting. To help you understand how Olares stands out in the landscape, we’ve created a comparison table that highlights its features alongside those of other self-hosting solutions in the market.

Legend:

OlaresSynologyTrueNASCasaOSUnraid
Source Code LicenseOlares LicenseClosedGPL 3.0Apache 2.0Closed
Built OnKubernetesLinuxKubernetesDockerDocker
Local LLM Hosting🚀🛠️🛠️🛠️🛠️
Local LLM app development🚀🛠️🛠️🛠️🛠️
Multi-Node
Build-in Apps✅ (Rich desktop apps)✅ (Rich desktop apps)❌ (CLI)✅ (Simple desktop apps)✅ (Dashboard)
Free Domain Name
Auto SSL Certificate🚀🛠️🛠️🛠️
Reverse Proxy🚀🛠️🛠️🛠️
VPN Management🚀🛠️🛠️🛠️🛠️
Graded App Entrance🚀🛠️🛠️🛠️🛠️
Multi-User Management✅ User management <br>🚀 Resource isolation✅ User management<br>🛠️ Resource isolation✅ User management<br>🛠️ Resource isolation✅ User management <br>🛠️ Resource isolation
Single Login for All Apps🚀
Cross-Node Storage🚀 (Juicefs+<br>MinIO)
Database Solution🚀 (Built-in cloud-native solution)🛠️🛠️🛠️🛠️
Disaster Recovery🚀 (MinIO's Erasure Coding)✅ RAID✅ RAID✅ RAID✅ Unraid Storage
Backup✅ App Data <br>✅ User Data✅ User Data✅ User Data✅ User Data✅ User Data
App Sandboxing❌ (K8S's namespace)
App Ecosystem✅ (Official + third-party)✅ (Majorly official apps)✅ (Official + third-party submissions)✅ Majorly official apps✅ (Community app market)
Developer Friendly✅ IDE <br>✅ CLI <br>✅ SDK <br>✅ Doc✅ CLI <br>✅ SDK <br>✅ Doc✅ CLI <br>✅ Doc✅ CLI <br>✅ Doc✅ Doc
Client Platforms✅ Android <br>✅ iOS <br>✅ Windows <br>✅ Mac <br>✅ Chrome Plugin✅ Android <br>✅ iOS
Client Functionality✅ (All-in-one client app)✅ (14 separate client apps)

Project navigation

Olares consists of numerous code repositories publicly available on GitHub. The current repository is responsible for the final compilation, packaging, installation, and upgrade of the operating system, while specific changes mostly take place in their corresponding repositories.

The following table lists the project directories under Olares and their corresponding repositories. Find the one that interests you:

<details> <summary><b>Framework components</b></summary>
DirectoryRepositoryDescription
frameworks/app-servicehttps://github.com/beclab/app-serviceA system framework component that provides lifecycle management and various security controls for all apps in the system.
frameworks/backup-serverhttps://github.com/beclab/backup-serverA system framework component that provides scheduled full or incremental cluster backup services.
frameworks/bflhttps://github.com/beclab/bflBackend For Launcher (BFL), a system framework component serving as the user access point and aggregating and proxying interfaces of various backend services.
frameworks/GPUhttps://github.com/grgalex/nvshareGPU sharing mechanism that allows multiple processes (or containers running on Kubernetes) to securely run on the same physical GPU concurrently, each having the whole GPU memory available.
frameworks/l4-bfl-proxyhttps://github.com/beclab/l4-bfl-proxyLayer 4 network proxy for BFL. By prereading SNI, it provides a dynamic route to pass through into the user's Ingress.
frameworks/osnode-inithttps://github.com/beclab/osnode-initA system framework component that initializes node data when a new node joins the cluster.
frameworks/system-serverhttps://github.com/beclab/system-serverAs a part of system runtime frameworks, it provides a mechanism for security calls between apps.
frameworks/taprhttps://github.com/beclab/taprOlares Application Runtime components.
</details> <details> <summary><b>System-Level Applications and Services</b></summary>
DirectoryRepositoryDescription
apps/analytichttps://github.com/beclab/analyticDeveloped based on Umami, Analytic is a simple, fast, privacy-focused alternative to Google Analytics.
apps/markethttps://github.com/beclab/marketThis repository deploys the front-end part of the application market in Olares.
apps/market-serverhttps://github.com/beclab/marketThis repository deploys the back-end part of the application market in Olares.
apps/argohttps://github.com/argoproj/argo-workflowsA workflow engine for orchestrating container execution of local recommendation algorithms.
apps/desktophttps://github.com/beclab/desktopThe built-in desktop application of the system.
apps/devboxhttps://github.com/beclab/devboxAn IDE for developers to port and develop Olares applications.
apps/vaulthttps://github.com/beclab/termipassA free alternative to 1Password and Bitwarden for teams and enterprises of any size Developed based on Padloc. It serves as the client that helps you manage DID, Olares ID, and Olares devices.
apps/fileshttps://github.com/beclab/filesA built-in file manager modified from Filebrowser, providing management of files on Drive, Sync, and various Olares physical nodes.
apps/notificationshttps://github.com/beclab/notificationsThe notifications system of Olares
apps/profilehttps://github.com/beclab/profileLinktree alternative in Olares
apps/rsshubhttps://github.com/beclab/rsshubA RSS subscription manager based on RssHub.
apps/settingshttps://github.com/beclab/settingsBuilt-in system settings.
apps/system-appshttps://github.com/beclab/system-appsBuilt based on the kubesphere/console project, system-service provides a self-hosted cloud platform that helps users understand and control the system's runtime status and resource usage through a visual Dashboard and feature-rich ControlHub.
apps/wizardhttps://github.com/beclab/wizardA wizard application to walk users through the system activation process.
</details> <details> <summary><b>Third-party Components and Services</b></summary>
DirectoryRepositoryDescription
third-party/autheliahttps://github.com/beclab/autheliaAn open-source authentication and authorization server providing two-factor authentication and single sign-on (SSO) for your applications via a web portal.
third-party/headscalehttps://github.com/beclab/headscaleAn open source, self-hosted implementation of the Tailscale control server in Olares to manage Tailscale in LarePass across different devices.
third-party/infisicalhttps://github.com/beclab/infisicalAn open-source secret management platform that syncs secrets across your teams/infrastructure and prevents secret leaks.
third-party/juicefshttps://github.com/beclab/juicefs-extA distributed POSIX file system built on top of Redis and S3, allowing apps on different nodes to access the same data via POSIX interface.
third-party/ks-consolehttps://github.com/kubesphere/consoleKubesphere console that allows for cluster management via a Web GUI.
third-party/ks-installerhttps://github.com/beclab/ks-installer-extKubesphere installer component that automatically creates Kubesphere clusters based on cluster resource definitions.
third-party/kube-state-metricshttps://github.com/beclab/kube-state-metricskube-state-metrics (KSM) is a simple service that listens to the Kubernetes API server and generates metrics about the state of the objects.
third-party/notification-managerhttps://github.com/beclab/notification-manager-extKubesphere's notification management component for unified management of multiple notification channels and custom aggregation of notification content.
third-party/predixyhttps://github.com/beclab/predixyRedis cluster proxy service that automatically identifies available nodes and adds namespace isolation.
third-party/redis-cluster-operatorhttps://github.com/beclab/redis-cluster-operatorA cloud-native tool for creating and managing Redis clusters based on Kubernetes.
third-party/seafile-serverhttps://github.com/beclab/seafile-serverThe backend service of Seafile (Sync Drive) for handling data storage.
third-party/seahubhttps://github.com/beclab/seahubThe front-end and middleware service of Seafile (Sync Drive) for handling file sharing, data synchronization, etc.
third-party/tailscalehttps://github.com/tailscale/tailscaleTailscale has been integrated in LarePass of all platforms.
</details> <details> <summary><b>Additional libraries and components</b></summary>
DirectoryRepositoryDescription
build/installerThe template for generating the installer build.
build/manifestInstallation build image list template.
libs/fs-libhttps://github.com/beclab/fs-libThe SDK library for the iNotify-compatible interface implemented based on JuiceFS.
scriptsAssisting scripts for generating the installer build.
</details>

Contributing to Olares

We are welcoming contributions in any form:

Community & contact

Special thanks

The Olares project has incorporated numerous third-party open source projects, including: Kubernetes, Kubesphere, Padloc, K3S, JuiceFS, MinIO, Envoy, Authelia, Infisical, Dify, Seafile,HeadScale, tailscale, Redis Operator, Nitro, RssHub, predixy, nvshare, LangChain, Quasar, TrustWallet, Restic, ZincSearch, filebrowser, lego, Velero, s3rver, Citusdata.