mirror of
https://github.com/pldubouilh/gossa
synced 2026-05-03 10:20:48 +02:00
64 lines
No EOL
1.8 KiB
Markdown
64 lines
No EOL
1.8 KiB
Markdown
gossa
|
|
=============
|
|
|
|

|
|
|
|
[](https://travis-ci.org/pldubouilh/gossa)
|
|
|
|
🎶 A fast and simple webserver for your files, that's dependency-free and with under 210 lines for the server code, easily code-reviewable.
|
|
|
|
### features
|
|
* browse through files/directories
|
|
* upload with drag-and-drop
|
|
* move/rename/delete files
|
|
* browse through pictures with a full-screen carousel
|
|
* stream videos directly from the browser
|
|
* simple keyboard navigation/shortcuts
|
|
* fast ; fills my 80MB/s AC wifi link
|
|
|
|
### built blobs
|
|
built blobs are available on the [release page](https://github.com/pldubouilh/gossa/releases).
|
|
|
|
### run
|
|
```sh
|
|
# build
|
|
make
|
|
|
|
# run
|
|
./gossa -h 192.168.100.33 ~/storage
|
|
```
|
|
|
|
### keyboard shortcuts
|
|
|shortcut | action|
|
|
|-------------|-------------|
|
|
|Arrows/Enter | browse through files/directories and pictures|
|
|
|Ctrl/Meta + C | copy URL to clipboard|
|
|
|Ctrl/Meta + B | toggle theme (dark/clear)|
|
|
|\<any letter\> | search|
|
|
|Ctrl/Meta + E | rename file/folder|
|
|
|Ctrl/Meta + Del | delete file/folder|
|
|
|Ctrl/Meta + D | create a new directory|
|
|
|Ctrl/Meta + X | cut selected path|
|
|
|Ctrl/Meta + V | paste previously selected paths to directory|
|
|
|
|
### ui shortcuts
|
|
|shortcut | action|
|
|
| ------------- |-------------|
|
|
|click new folder icon | create new folder|
|
|
|click images icon | toggle image carousel|
|
|
|click file icon | rename item|
|
|
|double click file icon | delete item|
|
|
|drag-and-drop item on UI | move item|
|
|
|drag-and-drop external item | upload file/folders|
|
|
|
|
### using with docker
|
|
a pretty short docker file is provided
|
|
|
|
```sh
|
|
# build docker image
|
|
make
|
|
docker build -t gossa .
|
|
|
|
# run
|
|
sudo docker run -v ~/ToShare:/shared -p 8001:8001 gossa
|
|
``` |