8000 GitHub - marshhj/sharebean: Sharebean is a tool to share files with other. · GitHub
[go: up one dir, main page]

Skip to content
marshhjPublic

About

Sharebean is a tool to share files with other.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SHAREBEAN

About

Sharebean is a tool to share files with other.
Base on redbean, tus, router.lua, vue2, wing.css.

Build

Just run build.bat or build.sh

Usage

# base usage
# win
    sharebean
# linux
    ./sharebean


# set config
# win
    sharebean config.lua
# linux
    ./sharebean config.lua

Folder setting

When you create a folder, you can set the folder password and some rules to hide files.

Hide rules.

#examples:
# hide all
*

# hide *.lua
*.lua

# just show *.jpg
*
*.jpg


# hide scripts
*.js
*.lua

# just show image
*
*.jpg
*.png
*.gif
*.webp

Config

VERSION = '0.0.1'               --version
DATA_PATH = "data/"             --share data path
TEMP_PATH = "data/_temp/"       --temp path,for tus upload job
SUPER_PWD = "sharebean"         --invite code to create folder
MAX_PAYLOAD_SIZE = 65535        --max payload size for tus upload
HTTP_PORT = 8080                --http port
CODE_CACHE = true               --enable code cache
LOG_PATH = ''                   --log path

About

Sharebean is a tool to share files with other.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

0