https://github.com/machengim/oasis
Self-hosted file server
https://github.com/machengim/oasis
Last synced: about 1 month ago
JSON representation
Self-hosted file server
- Host: GitHub
- URL: https://github.com/machengim/oasis
- Owner: machengim
- License: mit
- Created: 2021-05-02T04:22:26.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-01-28T01:22:24.000Z (over 2 years ago)
- Last Synced: 2024-11-03T23:35:07.557Z (6 months ago)
- Language: Svelte
- Homepage:
- Size: 26.6 MB
- Stars: 344
- Watchers: 4
- Forks: 17
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE-MIT
Awesome Lists containing this project
- awesome-homelab - OASIS - hosted file server | (Apps / FileSharing)
README
## OASIS
[](https://github.com/machengim/oasis/actions/workflows/build_release.yml) [](https://github.com/machengim/oasis/blob/main/LICENSE-MIT) [](https://github.com/machengim/oasis/releases) [](https://hub.docker.com/r/machengim/oasis)
[中文 README](https://github.com/machengim/oasis/blob/main/README_cn.md)
A self-hosted file server.

### Install
1. Download from the [release](https://github.com/machengim/oasis/releases) page
2. Uncompress
3. Grant execute permission to `oasis` file if running in Linux or MacOS
4. (Optional) Config server IP and port number in `oasis.conf` file
5. Run `oasis` or `oasis.exe`
6. Visit the server's IP address in your favorite browser### Docker
https://hub.docker.com/r/machengim/oasis
```
docker run --name oasis -t -d \
-v :/opt/oasis/data \
-v :/home/storage \
-p :8000 machengim/oasis
```### Build
- Node 14+
- Rust 1.54+```
cd path/to/oasis
node build.js
```### Features
- User authentication
- File preview/download/upload/Search
- Media file play list
- File external link
- I18n (English, Chinese)### File format support
- Text
- Image (browser support)
- Audio (browser support)
- Video (browser support)
- Subtitle (`srt` / `vtt` format, supported in Chrome, Firefox and Edge by now)
- PDF (supported by pdf.js)### Tech stack
- [Svelte](https://svelte.dev)
- [Rocket](https://rocket.rs)
- [Tailwind](https://tailwindcss.com)### Credits
- [Pdf.js](https://mozilla.github.io/pdf.js)
- [Plyr](https://plyr.io)