csscss3ejsexpressexpress-jsexpressjshtmlhtml5javascriptjsnodenode-jsnodejswebwebdevwebdevelopmentwebsite
Chase
5ddc4cbdd3
📦 Publish Docker Container / build (push) Successful in 16s
Details
--> Linted: DOCKERFILE_HADOLINT No errors were found in the linting process
Details
--> Linted: EDITORCONFIG No errors were found in the linting process
Details
--> Linted: GITHUB_ACTIONS No errors were found in the linting process
Details
--> Linted: GITLEAKS No errors were found in the linting process
Details
--> Linted: JSON No errors were found in the linting process
Details
--> Linted: YAML No errors were found in the linting process
Details
🎨 Lint / lint (push) Successful in 36s
Details
Reviewed-on: #45 |
||
---|---|---|
.github | ||
.vscode | ||
src | ||
.dockerignore | ||
.editorconfig | ||
.env.example | ||
.eslintrc.json | ||
.gitattributes | ||
.gitignore | ||
Dockerfile | ||
LICENSE.md | ||
Makefile | ||
README.md | ||
package-lock.json | ||
package.json | ||
renovate.json |
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 |
Username is admin
.
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 .