diff --git a/docker/readme.md b/docker/readme.md index 9681d7d..3ec07b1 100644 --- a/docker/readme.md +++ b/docker/readme.md @@ -2,17 +2,17 @@ the master branch is automatically built and pushed to [dockerhub](https://hub.d ```sh # pull from dockerhub and run -sudo docker run -v ~/LocalDirToShare:/shared -p 8001:8001 pldubouilh/gossa +% sudo docker run -v ~/LocalDirToShare:/shared -p 8001:8001 pldubouilh/gossa ``` if you prefer building the image yourself : ```sh # build gossa within a build container, needs to be ran within the sources, ../ from here -docker build -t gossa -f docker/build.Dockerfile . +% docker build -t gossa -f docker/build.Dockerfile . # and to run it simply -sudo docker run -v ~/LocalDirToShare:/shared -p 8001:8001 gossa +% sudo docker run -v ~/LocalDirToShare:/shared -p 8001:8001 gossa ``` @@ -20,10 +20,10 @@ a fancy docker image using [Caddy](https://caddyserver.com/) is also provided. a ```sh # run with caddy, checkout the config in the dockerfile -docker build -t gossa -f caddy.Dockerfile . +% docker build -t gossa -f caddy.Dockerfile . # run with caddy -sudo docker run -v ~/LocalDirToShare:/shared --net=host gossa +% sudo docker run -v ~/LocalDirToShare:/shared --net=host gossa ``` a docker-compose example image is also provided. running docker compose should be straightforward : `docker-compose up .` have a look in `docker-compose.yml` for further configuration. \ No newline at end of file diff --git a/gossa-ui b/gossa-ui index 79f7b52..bbef5eb 160000 --- a/gossa-ui +++ b/gossa-ui @@ -1 +1 @@ -Subproject commit 79f7b527cb750c96a636b7809cb36ccbf8548850 +Subproject commit bbef5ebf9ddd0c34e0863213e2dac622c9d60c60 diff --git a/readme.md b/readme.md index e96b66c..3057bd0 100644 --- a/readme.md +++ b/readme.md @@ -3,11 +3,15 @@ gossa ![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://img.shields.io/travis/pldubouilh/gossa.svg?logo=travis)](https://travis-ci.org/pldubouilh/gossa) +[![docker build status](https://img.shields.io/docker/cloud/build/pldubouilh/gossa.svg?logo=docker)](https://hub.docker.com/r/pldubouilh/gossa) +[![docker pulls](https://img.shields.io/docker/pulls/pldubouilh/gossa.svg?logo=docker)](https://hub.docker.com/r/pldubouilh/gossa) +[![github downloads](https://img.shields.io/github/downloads/pldubouilh/gossa/total.svg?logo=github)](https://github.com/pldubouilh/gossa/releases) -🎢 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 only 210 lines of code, easy to review. + +a [simple UI](https://github.com/pldubouilh/gossa-ui) comes as default, featuring : -### features * πŸ” files/directories browser * πŸ“© drag-and-drop file/directory uploader * πŸ—ΊοΈ files handling - move/rename/delete @@ -17,16 +21,12 @@ gossa * ⌨️ keyboard shortcuts * πŸ₯‚ speed - showed rates above 100MB/s -### built blobs -built blobs are available on the [release page](https://github.com/pldubouilh/gossa/releases). +### build +built blobs are available on the [release page](https://github.com/pldubouilh/gossa/releases) - or simply `make build` this repo -### run +### usage ```sh -# build (or download release from github) -make - -# run -./gossa -h 192.168.100.33 ~/storage +% ./gossa -h 192.168.100.33 ~/storage ``` ### ui shortcuts @@ -57,5 +57,5 @@ a few docker/docker-compose files are provided in the [docker folder](https://gi ```sh # pull from dockerhub and run -sudo docker run -v ~/LocalDirToShare:/shared -p 8001:8001 pldubouilh/gossa +% sudo docker run -v ~/LocalDirToShare:/shared -p 8001:8001 pldubouilh/gossa ``` diff --git a/test-fixture/hols/adler-2872995_1920.jpg b/test-fixture/hols/adler-2872995_1920.jpg deleted file mode 100644 index fa8a813..0000000 Binary files a/test-fixture/hols/adler-2872995_1920.jpg and /dev/null differ diff --git a/test-fixture/hols/elephant-1822636_1920.jpg b/test-fixture/hols/elephant-1822636_1920.jpg index 9e7ff1a..91f260a 100644 Binary files a/test-fixture/hols/elephant-1822636_1920.jpg and b/test-fixture/hols/elephant-1822636_1920.jpg differ diff --git a/test-fixture/hols/glasgow.jpg b/test-fixture/hols/glasgow.jpg index 251d00b..e452465 100644 Binary files a/test-fixture/hols/glasgow.jpg and b/test-fixture/hols/glasgow.jpg differ diff --git a/test-fixture/hols/scotland-1761292_1920.jpg b/test-fixture/hols/scotland-1761292_1920.jpg index 9b00393..47357ff 100644 Binary files a/test-fixture/hols/scotland-1761292_1920.jpg and b/test-fixture/hols/scotland-1761292_1920.jpg differ