Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

17 Commits

Repository files navigation

BitGallery

Simple image sharing service.

Demo

https://img.pastebin.fi

Installation and Configuration

git clone https://github.com/kaikkitietokoneista/BitGallery.git
cd BitGallery

Configure environment variables to .env-file. Please remember that this type of setup is only for development purposes. For production please use Docker. Development setup ENV-variables:

NameValueRequired
HCAPTCHA_SECRET_KEYIf leaved as blank no hCaptchano
APP_SECRETSet something uniqueyes
PORTDefines web server port (default: 8989)no
SSLIf not blank URLs start with https and not http (default: no)no
PORTUsed to build URLs for notifications (default: localhost)yes
WEB_PATHUsed to build URLs for notifications. In most cases this can be left blank. This is only required if ran behind reverse proxy with multiple services under same hostname (example.com/bitgallery and example.com/pastin). Please include a slash at the end if filled.no

Example config:

HCAPTCHA_SECRET_KEY=APP_SECRET=keyboard catPORT=SSL=HOSTNAME=localhostWEB_PATH=

You also have to make directory images.

Finally you can install required dependencies and start the program.

npm install
npm start

About

Simple image sharing service.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages