ArozOS is a self-hosted web desktop and NAS operating system written in Go. It runs on your own server, from a Raspberry Pi to a rack machine, and opens in any browser, with files, media, documents, AI and maker tools in one self-contained binary.
Website | Download | Developer Documentation | Telegram
Items marked [New] were added recently.
| Area | Features |
|---|---|
| Desktop | Web desktop with floating windows, searchable launcher and quick settings Light and dark themes Touch friendly mobile interface that can be added to your home screen [New] Guided Setup for new installations: server name, disks, users and file sharing |
| Storage and File Sharing | Local disks (ext4, NTFS, exFAT, FAT32) and remote file systems (WebDAV, SMB, SFTP, FTP, S3) File servers: WebDAV, SFTP, FTP, TFTP, Syncthing and a basic HTTP directory server for legacy devices Share by link, with signed in users, with a group or with particular people Software RAID with mdadm on Linux, per user storage quotas, version history and trash [New] Redesigned File Manager [New] Built-in SMB server (experimental): Windows and macOS file sharing with no Samba install, including Previous Versions and Time Machine [New] Read / write access list for each drive, and a Shared with me drive [New] Drive: a file-first cloud drive workspace, for those who do not need a desktop [New] Sync Server for nightly phone photo backup |
| Office, PDF and Mail | [New] Docs, Sheets and Slides: save to Word, Excel and PowerPoint files, open the older Office and OpenDocument formats and export PDF [New] PDF viewer and PDF Editor [New] Mail: IMAP / SMTP client with Google and Microsoft sign-in, undo and scheduled sending, labels and snooze [New] Calendar with CalDAV sync, Reminders, Chatspace and MeetRoom video meetings Notes and Web Builder |
| Media | Musicify, Movie, Photo and Camera Arozcast turns a TV, projector or spare tablet into a receiver [New] Codec-aware video playback with HLS, embedded subtitles and scrub-bar previews in Movie Audio Studio and FFmpeg Factory [New] Cine Studio and Pixel Studio (with a RAW editor) |
| AI | [New] AI Chat for any OpenAI or Anthropic compatible model, local or cloud [New] AGI Forge turns a plain description into a script [New] Model pricing, quota and usage tracking for admins |
| Makers and Developers | [New] 3D Modeler, 3D Viewer and Gerber Viewer [New] Code Studio and GitApp (no git install needed)AGI: server side JavaScript (ECMA5) scripting with libraries for files, databases, images, archives, HTTP, SQLite, Git, mail and AI WebApps in HTML and JavaScript, serverless endpoints and scheduled tasks Terminal and SQLite Admin Subservices (binaries behind a reverse proxy) still work but are deprecated; use a WebApp or a Container App for new projects |
| Containers and Cluster | [New] Manage Docker containers, images and compose stacks [New] Container Apps: publish any web server on the ArozOS port for users to pin to their desktop [New] Cluster: join several ArozOS servers into one, with a shared and replicated cluster:/ drive and jobs that run on the best node (whitepaper) |
| Networking and Security | mDNS and SSDP discovery, UPnP port forwarding, Wi-Fi management (wpa_supplicant or nmcli) and realtime network statistics Static web server with a personal homepage for each user Users and permission groups, OAuth, LDAP, auto login tokens IP white / blacklist, exponential login timeout, HTTPS with your own certificate |
| Minimum | 512 MB memory and 1.5 GB storage (e.g. Raspberry Pi Zero W) |
| Recommended | 4 GB memory or more (e.g. Raspberry Pi 4 / 5 or an x86 mini PC) |
| Operating system | Debian based Linux (Debian, Ubuntu, Raspberry Pi OS, Armbian), Windows or macOS. Some hardware features are Linux only |
| Optional | ffmpeg (media transcoding), mdadm (RAID), nmcli or wpa_supplicant (Wi-Fi), Docker (containers) |
| Client | Any modern browser on a computer, tablet or phone |
Requires Go 1.26 or above (See Installation tutorial). ffmpeg, wpa_supplicant and nmcli are optional.
Run the following the command to build the system
git clone https://github.com/tobychui/arozos
cd ./arozos/src/
go mod tidy
go build
./arozos
#sudo ./arozos for enabling hardware and WiFi management features
(Yes, it is that simple)
(e.g. Raspberry Pi 4B, Raspberry Pi Zero W, Orange Pi, $5 tiny VPS on lightsail or ramnode, only tested with Debian based Linux)
Install the latest version of Raspberry Pi OS / Armbian / Debian on an SD card / boot drive and boot it up. After setup and initialization is done, connect to it via SSH or use the Terminal App on your desktop to enter the following command
wget -O install.sh https://raw.githubusercontent.com/tobychui/arozos/master/installer/install.sh && bash install.sh
and follow the on-screen instruction to setup your arozos system.
If you selected install to systemd service, you can check the status of the service using
sudo systemctl status arozos
Otherwise, you will need to manually start the arozos using the following command
cd ~/arozos
sudo ./arozos
# or if you have launcher installed
sudo ./launcher
After installation, depending on the processing power and disk speed of your host, it will take some time for arozos to unzip the required files. Wait around 3 - 5 minutes and visit the following link to create the administrator account. The Setup guide then walks you through disks, users and file sharing.
http://{ip_address_of_your_host}:8080/
Note: If you are using some browsers that hides your user agents, you can manually switch between mobile and desktop interface with the following links.
To uninstall your ArozOS in case you screw something up, use the uninstall script in the installer folder.
If you are deploying on Windows, you need to add ffmpeg to %PATH% environment variable and following the steps below.
Visit https://www.ffmpeg.org/ to download the precompiled binary to C:\ffmpeg. After unzipping, you should be able to find the binary ffmpeg.exe at C:\ffmpeg\bin.
Go to "System Properties" > "Environment Variables" > "System Variables" > "Edit" and add "C:\ffmpeg\bin\" into the environment variable list. Save and Exit the tool windows and restart your PC to apply the new settings.
http://localhost:8080/ in your web browser to continue root admin account setups.Some features are not available for Windows build
Windows arm64 version are experimental and not tested
web.tar.gz and the arozos_darwin_arm64 or arozos_darwin_amd64 binary from the Release Page into one folderchmod +x arozos_darwin_* in that folder, then start the binaryhttp://localhost:8080/ to create the administrator accountOpenWRT build and Linux riscv64/loong64 is experimental and might contains weird bugs. If you are interested to test or maintain these builds, please contact me directly.
wget -O arozos {binary_path_from_release}
wget -O web.tar.gz {web.tar.gz_path_from_release}
chmod -x ./arozos
sudo ./arozos
Thanks SysAdmin74 for contributing a dockerfile for ArozOS. You can check out his dockerfile here (WIP).
See every part of the system in the screenshot gallery.
The following startup parameters are supported (v3.0.5). Run ./arozos -h for the list of your build.
Show all startup parameters
-allow_autologin
Allow RESTFUL login redirection that allow machines like billboards to login to the system on boot (default true)
-allow_iot
Deprecated and ignored: IoT support has been removed
-allow_mdns
Enable MDNS service. Allow device to be scanned by nearby ArOZ Hosts (default true)
-allow_pkg_install
Allow the system to install package using Advanced Package Tool (aka apt or apt-get) (default true)
-allow_ssdp
Enable SSDP service, disable this if you do not want your device to be scanned by Windows's Network Neighborhood Page (default true)
-allow_upnp
Enable uPNP service, recommended for host under NAT router
-arozcast_turn
Enable the built-in Arozcast TURN relay so WebRTC screen share works over the Internet / behind NAT (default true)
-arozcast_turn_port int
Listening port (UDP and TCP) for the built-in Arozcast TURN relay (default 3478)
-arozcast_turn_publicip string
Public IP or hostname advertised by the Arozcast TURN relay. Leave empty to auto-detect the outbound interface address (set this when the host is behind NAT)
-arozcast_turn_tls
Also serve TURN-over-TLS (TURNS) so screen share traverses restrictive firewalls that only allow outbound TLS. Uses the system TLS certificate (-cert/-key); a no-op when no certificate can be loaded (default true)
-arozcast_turn_tls_port int
Listening TCP port for the Arozcast TURN-over-TLS (TURNS) relay. Set to 443 to share the standard HTTPS port for maximum firewall traversal (default 5349)
-beta_scan
Allow compatibility to ArOZ Online Beta Clusters
-bufffile_size int
Maxmium buffer file size (in MB) for buffer required file system abstractions (default 25)
-buffpool_size int
Maxmium buffer pool size (in MB) for buffer required file system abstractions (default 1024)
-cert string
TLS certificate file (.crt) (default "localhost.crt")
-console
Enable the debugging console.
-dir_list
Enable directory listing (default true)
-disable_cluster
Disable the cluster features (joining, the cluster:/ drive, cluster jobs and their settings pages)
-disable_http
Disable HTTP server, require tls=true
-disable_ip_resolver
Disable IP resolving if the system is running under reverse proxy environment
-disable_subservice
Disable subservices completely
-enable_buffpool
Enable buffer pool for buffer required file system abstractions (default true)
-enable_docker
Enable Docker container/compose management if Docker is detected on host (default true)
-enable_hwman
Enable hardware management functions in system (default true)
-enable_pwman
Enable power management of the host system (default true)
-force_mac string
Force MAC address to be used for discovery services. If not set, it will use the first NIC
-gzip
Enable gzip compress on file server (default true)
-homepage
Enable user homepage. Accessible via /www/{username}/ (default true)
-host string
Listening host for HTTP server
-hostname string
Default name for this host (default "My ArOZ")
-iobuf int
Amount of buffer memory for IO operations (default 1024)
-key string
TLS key file (.key) (default "localhost.key")
-log_format string
Console log output format: text or json (default "text")
-logging
Enable logging to file for debug purpose (default true)
-max_upload_size int
Maxmium upload size in MB. Must not exceed the available ram on your system (default 8192)
-ntt int
Nightly tasks execution time. Default 3 = 3 am in the morning (default 3)
-port int
Listening port for HTTP server (default 8080)
-public_reg
Enable public register interface for account creation
-root string
User root directories (default "./files/")
-session_key string
Session key, must be 16, 24 or 32 bytes long (AES-128, AES-192 or AES-256). Leave empty for auto generated.
-skip_mdadm_reload
Skip mdadm reload config during startup, might result in werid RAID device ID in some Linux distro
-smb_capture string
Write a debug capture and trace log of the SMB server to this folder. Holds file names, for an admin only
-storage_config string
File location of the storage config file (default "./system/storage.json")
-tls
Enable TLS on HTTP serving (HTTPS Mode)
-tls_port int
Listening port for HTTPS server (default 8443)
-tmp string
Temporary storage, can be access via tmp:/. A tmp/ folder will be created in this path. Recommend fast storage devices like SSD (default "./")
-tmp_time int
Time before tmp file will be deleted in seconds. Default 86400 seconds = 24 hours (default 86400)
-upload_async
Enable file upload buffering to run in async mode (Faster upload, require RAM >= 8GB)
-upload_buf int
Upload buffer memory in MB. Any file larger than this size will be buffered to disk (slower). (default 25)
-uuid string
System UUID for clustering and distributed computing. Only need to config once for first time startup. Leave empty for auto generation.
-version
Show system build version
-wlan_interface_name string
The default wireless interface for connecting to an AP (default "wlan0")
-wpa_supplicant_config string
Path for the wpa_supplicant config (default "/etc/wpa_supplicant/wpa_supplicant.conf")
Example
//Starting aroz online with standard web port
./arozos -port 80
//Use https instead of http
./arozos -tls=true -tls_port 443 -key mykey.key -cert mycert.crt -disable_http=true
//Start both HTTPS and HTTP server on two different port
./arozos -port 80 -tls=true -key mykey.key -cert mycert.crt -tls_port 443
//Change max upload size to 25MB
./arozos -max_upload_size 25
Launcher is required for performing OTA updates in arozos so you don't need to ssh into your host every time you need to update ArozOS. You can install it via the installation script or install it manually. See more in the following repository.
https://github.com/aroz-online/launcher
Visit System Settings > Disk & Storage > System Storage Pools, click Add drive and follow the on screen steps.
id:/ (e.g. movie:/)Local disks can also be mounted by ArozOS (mount device, mount point and mount at startup). Leave these out if you already mount the disk with /etc/fstab. A disk required by the ArozOS -root option cannot be auto mounted.
Who can use a drive is set by its access list: a level for each permission group, plus a default access level for everyone else.
If you want to share files from ArozOS, there are many ways you can do it.
See the developer documentation and the AGI API reference for more details.
If you are looking for other WebApps (Installed via System Setting) or subservices (deprecated), please take a look at our collections over here: https://github.com/aroz-online/WebApp-and-Subservice-Index
You can reach the authors using Telegram! We welcome all kind of feedbacks and questions.
Using ArozOS on something other than Raspberry Pis? Show us your server configuration & hardware specs!
https://github.com/tobychui/arozos/issues/50
If you are looking for tutorials or need help on debugging some minor issues, feel free to take a look at these articles written by our users. (Thank you so much for sharing this project :D )
Feel free to create a PR if you have written an article for ArozOS!
ArozOS - General purpose cloud desktop platform Copyright (C) 2023 tobychui
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.
Copyright (C) 2023 tobychui Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".
Copyright (C) 2023 tobychui, All Right Reserved