file-station Svelte Themes

File Station

Just a single-file net disk(file manager) prepared for single user.

file-station

Just a single-file net disk/file manager prepared for single user.

Features

  • Don't need nginx, apache, just download single binary file and run
  • Authentication
  • Upload, download, delete, rename, move and search files
  • Share files
  • Preview audio/video/image/markdown

Screenshot

Click to show main_ui image_preview

Quick start

Download

You can get prebuild binary file from HERE

Add some options

Add environment variable below to customize configs.

Name Default Explain
FS_FOLDER ./files File folder, store all files in here
FS_DATABASE ./database.db Database position
FS_LISTEN 127.0.0.1:5000 Listen host and port
FS_REGISTER TRUE Can register or not ("TRUE" or "FALSE")

Run

chmod +x ./file-station
./file-station

Run as a service

See deploy folder for example.

Static Build

rustup target add x86_64-unknown-linux-musl  # Add rust musl toolchain
apt install musl-tools  # Install musl-gcc
cargo build --release --target=x86_64-unknown-linux-musl

License

Copyright (c) 2022 chen_null
file-station is licensed under Mulan PSL v2.
You can use this software according to the terms and conditions of the Mulan PSL v2.
You may obtain a copy of Mulan PSL v2 at:
         http://license.coscl.org.cn/MulanPSL2
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details.

Alternatives

Top categories

Loading Svelte Themes