Web UI of Oxygen Toolbox
# Overview ([ZH](README_zh.md), EN)
This project is a front-end web UI of Oxygen Toolbox and needs to be used with the back-end API.
# Requires
- Web Server (e.g. Nginx, Apache httpd)
- [API of Oxygen Toolbox](https://github.com/FatttSnake/oxygen-api) (v1.0.0 or later versions)
# Related projects
[API of Oxygen Toolbox](https://github.com/FatttSnake/oxygen-api)
[Desktop Client of Oxygen Toolbox](https://github.com/FatttSnake/oxygen-desktop)
[Android Client of Oxygen Toolbox](https://github.com/FatttSnake/oxygen-android)
# Quick Start
**1. Download the latest packaged production version from [Releases](https://github.com/FatttSnake/oxygen-ui/releases/latest) page**
**2. Upload the file `oxygen-ui-*.tar.gz` or `oxygen-ui-*.zip` to the web server and unzip it**
**3. Configure pseudo-static**
Nginx:
```nginx
server {
...
index index.html
location / {
try_files $uri $uri/ /index.html;
}
...
}
```
Apache httpd (.htaccess):
```apache
RewriteEngine On
RewriteBase /
RewriteRule ^index\.html$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.html [L]
```