jsjavascriptnodejsnodecsshtmlnode-jsexpresshtml5websitecss3webdevexpress-jsexpressjswebdevelopmentwebejs
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Reviewed-on: #31 |
19 hours ago | |
---|---|---|
.github | 1 week ago | |
.vscode | 3 months ago | |
src | 3 months ago | |
.dockerignore | 3 months ago | |
.editorconfig | 3 months ago | |
.env.example | 3 months ago | |
.eslintrc.json | 3 months ago | |
.gitattributes | 3 months ago | |
.gitignore | 3 months ago | |
Dockerfile | 3 months ago | |
LICENSE.md | 3 months ago | |
Makefile | 3 months ago | |
README.md | 3 months ago | |
package-lock.json | 1 day ago | |
package.json | 1 day ago | |
renovate.json | 3 months ago |
README.md
A simple web UI to upload/host images.
(yes, it's really that simple of a page)
Running
docker run -d \
--name image-uploader \
-e UPLOAD_PW=password \
-e REDIR_URL=http://example.com \
-p 3000:3000 \
-v /path/to/writable/images/folder:/app/src/imgs \
git.chse.dev/chase/image-uploader:latest
Environment Variable | Description | Default |
---|---|---|
PORT |
The port for the internal server to listen on. (Not too useful unless developing/not using Docker.) | 3000 |
UPLOAD_PW |
The password to access the upload page. | password |
REDIR_URL |
Where to go upon 404's. | http://example.com |
Development
git clone https://git.chse.dev/chase/image-uploader.git
cd image-uploader
npm i
cp .env.example .env
# Edit .env with your information.
node .