The program provides a simple and intuitive way to share files with colleagues in the office.
To submit a file, you need to scan a QR code, which will automatically redirect the user to the page with the form.
After successful submission, the file will be automatically delivered, depending on the preset parameters on the server. For example, it is sent by email or uploaded to a public server.
https://hub.docker.com/r/daniilantonenko/shoffice
Use this command to set up an Shoffice server:
docker run \
--name shoffice \
--restart=always \
-p 8080:8080 \
Add to docker run key:
-v <local_path>:/build/web/uploads
Creating an application from source files. This assumes that git and go are already installed on the device.
git clone https://github.com/daniilantonenko/shoffice.git
go build ./cmd/app/
./app
- Go to http://localhost:8080/generate
- Select an address from the list or enter it manually (item “specify yours”)
- Save the generated image for posting
Note: All the variables to this image are optional, which means you don't have to type in any variable, and you can have an server out of the box! To do that, create an empty env
file using touch .env
, and skip to the next section.
This Docker image uses the following variables, that can be declared in an env
file (see example):
COMPANY_NAME=your_companu_name
FILE_FIRMATS=your_formats
MAX_UPLOAD_SIZE=your_max_size
- Basic file upload function
- Generation of QR code
- Installing the application via Docker
- Configuration via env
- Email Queue
- Adding Multiple Files
- CAPTCHA verification
- Adding HTTPS
- Print a beautiful page with a QR code