A simple web UI to upload/host images.
Go to file
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
Merge pull request 'Update node Docker tag to v22' (#45) from renovate/node-22.x into main
Reviewed-on: #45
2024-04-27 01:59:27 +00:00
.github Update '.github/workflows/linter.yml' 2023-09-13 16:34:25 +00:00
.vscode Initial Commit 2023-06-12 15:30:46 -05:00
src new bank of chars 2024-04-24 00:22:43 +00:00
.dockerignore dockerfile 2023-06-12 16:24:10 -05:00
.editorconfig Initial Commit 2023-06-12 15:30:46 -05:00
.env.example basically done. 2023-06-12 16:10:02 -05:00
.eslintrc.json fix w/ helmet 2023-07-05 21:33:39 -05:00
.gitattributes Initial Commit 2023-06-12 15:30:46 -05:00
.gitignore basically done. 2023-06-12 16:10:02 -05:00
Dockerfile Update node Docker tag to v22 2024-04-26 18:08:55 +00:00
LICENSE.md Initial Commit 2023-06-12 15:30:46 -05:00
Makefile Initial Commit 2023-06-12 15:30:46 -05:00
README.md + Basic Auth 2023-10-06 10:51:11 -05:00
package-lock.json Update dependency eslint-plugin-unicorn to v52 2024-04-26 04:53:30 +00:00
package.json Update dependency eslint-plugin-unicorn to v52 2024-04-26 04:53:30 +00:00
renovate.json Initial Commit 2023-06-12 15:30:46 -05:00

README.md

Image Uploader
Donate

A simple web UI to upload/host images.

ss

(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 .