DEMO PASSWORD IS "mysecretpassword"
This is a simple file upload application built with Express and Multer.
docker run -p 3000:3000 -v /path/to/local/uploads:/app/uploads --restart unless-stopped wxnnvs/upload
To edit the password follow these steps:
docker cp <containername or -id>:/app/app.js .
- Edit local
app.js
as you want docker cp app.js <containername or -id>:/app/app.js
- Node.js (v12 or higher)
- npm (v6 or higher)
-
Clone the repository:
git clone https://github.com/wxnnvs/upload cd upload
-
Install dependencies:
npm install
-
Run the application:
node app.js
-
Access the application:
Open your web browser and navigate to
http://localhost:3000
.
app.js
: Main application file.uploads/
: Directory where uploaded files are stored.pages/
: Directory where html is stored.package.json
: Project metadata and dependencies..gitignore
: Specifies files and directories to be ignored by Git.
- File upload with progress bar.
- File storage with unique filenames.
- MD5 hash generation for uploaded files.
- Download files by hash.
This project is licensed under the DO WHATEVER THE FUCK U WANT LICENSE
(leaving a mention would be nice tho)