A simple web UI to upload/host images.
This repository has been archived on 2023-10-29. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Renovate 942d011bed
build 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 Details
Update dependency eslint-plugin-unicorn to v49
2023-10-29 19:54:33 +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 add warning 2023-10-06 11:04:18 -05: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 v21 2023-10-20 00:16:20 +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 v49 2023-10-29 19:54:33 +00:00
package.json Update dependency eslint-plugin-unicorn to v49 2023-10-29 19:54:33 +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 .