Just a single-file net disk/file manager prepared for single user.
- 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
You can get prebuild binary file from HERE
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") |
chmod +x ./file-station
./file-station
See deploy folder for example.
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
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.