zxxx 大佬有话说 :
Web 文件管理器 File Browser & Cloud Commander
File Browser
https://github.com/filebrowser/filebrowser
https://filebrowser.org/features
File Browser is a create-your-own-cloud-kind of software where you can install it on a server,
direct it to a path and then access your files through a nice web interface.
You have many available features!
文件浏览器是一种创建自己的云类型的软件,你可以在服务器上安装它,
引导它到一个路径,然后通过一个漂亮的网络界面访问你的文件。
您有许多可用的功能!
Clear and simple interface
Allows these operations over the files:
Upload
Download
Delete
Edit
Preview
User administration
You can create multiple users and each user have their own directory
Easy to install
Username: admin
Password: admin
https://img14.360buyimg.com/ddimg/jfs/t1/187126/18/18361/88174/61171955Ead99b738/2162f2b04bb74d53.png
安装
Brew
brew tap filebrowser/tap
brew install filebrowser
Unix
curl -fsSL https://raw.githubusercontent.com/filebrowser/get/master/get.sh | bash
Windows
iwr -useb https://raw.githubusercontent.com/filebrowser/get/master/get.ps1 | iex
Docker
docker run
-v /path/to/root:/srv
-v /path/filebrowser.db:/database.db
-v /path/.filebrowser.json:/.filebrowser.json
–user $(id -u):$(id -g)
-p 80:80
filebrowser/filebrowser
启动
mkdir /storage
nohup filebrowser -a IP -b / -p 8000 -r /storage/ &
服务
sudo adduser –system –group –HOME /var/lib/filebrowser/ –shell /usr/sbin/nologin –no-create-home filebrowser
mkdir -p /var/lib/filebrowser/storage
sudo chown -Rc filebrowser:filebrowser /var/lib/filebrowser
sudo mkdir /etc/filebrowser
sudo touch /etc/filebrowser/.filebrowser.toml
sudo touch /var/log/filebrowser.log
sudo chown -c filebrowser:filebrowser /var/log/filebrowser.log
address= "Put here your IP or URL"
port = 8080
root = "/var/lib/filebrowser/storage"
database = "/var/lib/filebrowser/filebrowser.db"
log = "/var/log/filebrowser.log"
sudo systemctl edit –force –full filebrowser
Description=Web File Browser
After=network.target
Type=simple
ExecStart=/usr/local/bin/filebrowser
User=filebrowser
Group=filebrowser
WantedBy=multi-user.target
$ sudo systemctl enabled filebrowser
$ sudo systemctl start filebrowser
$ sudo systemctl stop filebrowser
$ sudo systemctl status filebrowser
Cloud Commander
https://cloudcmd.io/
https://github.com/coderaiser/cloudcmd
https://img14.360buyimg.com/ddimg/jfs/t1/182331/12/19287/427550/61171ce0E2018e0b5/012c6c48c6072bdd.jpg
Cloud Commander (cloudcmd) is a simple open source, traditional yet useful cross-platform web file manager with console and editor support.
It is written in JavaScript/Node.js and enables you manage a server and work with files, directories and programs in a browser from any computer, mobile or tablet.
Features
It offer some cool features:
Client works in web browser.
It’s server can be installed in Linux, Windows, Mac OS and Android (with help of Termux).
Enables you to view images, text files, playing audio and videos from within a browser.
Can be used local or remotely.
Supports adapting to screen size.
Offers Console with support of default OS command line.
Ships in with 3 built-in editors with support of syntax highlighting, which include: Dword, Edward and Deepword.
It also supports optional authorization.
Offers hot/shortcut keys.Cloud Commander (cloudcmd) 是一个简单的开源、传统但有用的跨平台 Web 文件管理器,具有控制台和编辑器支持。
它是用 JavaScript/Node.js 编写的,使您能够管理服务器并在任何计算机、手机或平板电脑的浏览器中处理文件、目录和程序。
特征
它提供了一些很酷的功能:
客户端在网络浏览器中工作。
它的服务器可以安装在 Linux、Windows、Mac OS 和 Android(在 Termux 的帮助下)。
使您能够从浏览器中查看图像、文本文件、播放音频和视频。
可以在本地或远程使用。
支持适配屏幕尺寸。
提供支持默认操作系统命令行的控制台。
附带 3 个支持语法突出显示的内置编辑器,其中包括:Dword、Edward 和 Deepword。
它还支持可选授权。
提供热键/快捷键。
安装 node.js
# Using Debian, as root
curl -fsSL https://deb.nodesource.com/setup_16.x | bash –
apt-get install -y nodejs
安装 Cloud Commander
npm i cloudcmd -g
Docker
docker run -it –rm -v ~:/root -v /:/mnt/fs -w=/root -p 8000:8000 coderaiser/cloudcmd
docker compose
docker-compose.yml
version: ‘2’
services:
web:
ports:
– 8000:8000
volumes:
– ~:/root
– /:/mnt/fs
image: coderaiser/cloudcmd
docker-compose up
使用说明
cloudcmd –help
配置
cloudcmd –username admin –password Pa55w0rd –auth –port 8888 –save –no-server
启动
cloudcmd
myfriends 大佬有话说 :
技术贴 支持一个
loveqianool 大佬有话说 :
你推 cloudcmd 就是我兄弟