This commit is contained in:
Pierre Dubouilh 2019-02-09 16:00:34 +01:00
parent dbcda0f87a
commit 2f8c12773b
No known key found for this signature in database
GPG key ID: 8FE8BEDA9D4DB0D7
2 changed files with 23 additions and 23 deletions

1
.gitignore vendored
View file

@ -7,6 +7,7 @@ gossa-linux-arm
gossa-linux-arm64 gossa-linux-arm64
gossa-mac gossa-mac
gossa-windows.exe gossa-windows.exe
gossa_test.go
.vscode .vscode
fixture/* fixture/*

View file

@ -1,20 +1,21 @@
gossa gossa
============= =============
![e](https://user-images.githubusercontent.com/760637/45410804-f2c00e80-b672-11e8-8c2b-51d7fc0915aa.gif) ![e](https://user-images.githubusercontent.com/760637/52522293-942fa880-2c83-11e9-9f79-0a5b922bcc7f.gif)
[![Build Status](https://travis-ci.org/pldubouilh/gossa.svg?branch=master)](https://travis-ci.org/pldubouilh/gossa) [![Build Status](https://travis-ci.org/pldubouilh/gossa.svg?branch=master)](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. 🎶 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 ### features
* browse through files/directories * 🔍 files/directories browser
* upload with drag-and-drop * 📩 drag-and-drop file uploader
* move/rename/delete files * 🗺️ files handling - move/rename/delete
* browse through pictures with a full-screen carousel * 📸 picture browser
* stream videos directly from the browser * 📽️ video streaming from the browser
* simple keyboard navigation/shortcuts * ✍️ simple text editor
* fast ; fills my 80MB/s AC wifi link * ⌨️ keyboard shortcuts
* 🥂 speed - showed rates above 100MB/s
### built blobs ### built blobs
built blobs are available on the [release page](https://github.com/pldubouilh/gossa/releases). built blobs are available on the [release page](https://github.com/pldubouilh/gossa/releases).
@ -28,33 +29,31 @@ make
./gossa -h 192.168.100.33 ~/storage ./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 ### ui shortcuts
|shortcut | action| |shortcut | action|
| ------------- |-------------| | ------------- |-------------|
|click new folder icon | create new folder| |click new folder icon | create new folder|
|click images icon | toggle image carousel| |click pad icon | open file editor|
|click file icon | rename item| |click file icon | rename item|
|double click file icon | delete item| |double click file icon | delete item|
|drag-and-drop item on UI | move item| |drag-and-drop item on UI | move item|
|drag-and-drop external item | upload file/folders| |drag-and-drop external item | upload file/folders|
### keyboard shortcuts
|shortcut | action|
|-------------|-------------|
|Arrows/Enter | browse through files/directories and pictures|
|Ctrl/Meta + C | copy URL to clipboard|
|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|
|\<any letter\> | search|
### using with docker ### using with docker
multiple dockerfiles are provided in the `docker` folder. to simply get started just have a look below multiple dockerfiles are provided in the `docker` folder. to simply get started just have a look below
```sh ```sh
# build # build
cd docker cd docker