GithubHelp home page GithubHelp logo

shoffice's Introduction

Shoffice – Easily share a file with the office

The program provides a simple and intuitive way to share files with colleagues in the office.

Sending

To submit a file, you need to scan a QR code, which will automatically redirect the user to the page with the form.

Receiving

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.

Quick start with DockerHub

https://hub.docker.com/r/daniilantonenko/shoffice

Quick start with Docker

Use this command to set up an Shoffice server:

docker run \
    --name shoffice \
    --restart=always \
    -p 8080:8080 \

Access to uploaded files

Add to docker run key:

-v <local_path>:/build/web/uploads

Build and run from source

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

Launch

  1. Go to http://localhost:8080/generate
  2. Select an address from the list or enter it manually (item “specify yours”)
  3. Save the generated image for posting

Environment variables

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

Plan

  • 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

shoffice's People

Contributors

daniilantonenko avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.