mirror of
https://github.com/pldubouilh/gossa.git
synced 2024-04-21 12:31:39 +00:00
ec7168e718e3e68f0bba475ba64a61e44c3760b2
gossa
a fast and simple webserver for your files, that's dependency-free and with 200 lines of code, easy to review.
a simple UI comes as default, featuring :
- 🔍 files/directories browser
- 📩 drag-and-drop file/directory uploader
- 🗺️ files handling - move/rename/delete
- 📸 picture browser
- 📽️ video streaming
- ✍️ simple text editor
- ⌨️ keyboard shortcuts
- 🥂 speed - will easily fill available bandwidth
- 🔒 safe - easy/secure multi account setup
build
built blobs are available on the release page - or simply make build this repo.
usage
% ./gossa --help
% ./gossa -h 192.168.100.33 ~/storage
fancier setups
release images are pushed to dockerhub, e.g. :
# pull from dockerhub and run
% sudo docker run -v ~/LocalDirToShare:/shared -p 8001:8001 pldubouilh/gossa
in a do-one-thing-well mindset, HTTPS and authentication has been left to middlewares and proxies. for instance caddy handles this very well - have a look at this small caddy config with authentication and option for HTTPS that works along with gossa.
ui shortcuts
| shortcut | action |
|---|---|
| click new folder icon | create new folder |
| click pad icon | open file editor |
| 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 |
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 + U | upload new 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 |
Languages
Go
87.7%
Makefile
9.2%
Dockerfile
1.7%
Shell
0.8%
HTML
0.3%
Other
0.3%
