8000 GitHub - reklis/DumbDrop: dumb file dropper
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

reklis/DumbDrop

 
 

Repository files navigation

Dumb Drop

A stupid simple file upload application that provides a clean, modern interface for dragging and dropping files. Built with Node.js and vanilla JavaScript.

image

No auth (unless you want it now!), no storage, no nothing. Just a simple file uploader to drop dumb files into a dumb folder.

Features

  • Drag and drop file uploads
  • Multiple file selection
  • Clean, responsive UI
  • File size display
  • Docker support
  • Dark Mode toggle
  • Configurable file size limits
  • Drag and Drop Directory Support (Maintains file structure in upload)

Environment Variables

Variable Description Default Required
PORT Server port 3000 No
MAX_FILE_SIZE Maximum file size in MB 1024 No
UPLOAD_DIR Directory to store uploads ./uploads No

Quick Start

Running Locally

  1. Install dependencies:
npm install
  1. Set environment variables in .env:
PORT=3000                  # Port to run the server on
MAX_FILE_SIZE=1024        # Maximum file size in MB (default: 1024 MB / 1 GB)
UPLOAD_DIR=/uploads        # Directory to store uploads
  1. Start the server:
npm start

Running with Docker

Pull from Docker Hub

# Pull the image
docker pull ghcr.io/reklis/dumbdrop:latest

# Run the container
# For Linux/Mac:
docker run -p 3000:3000 -v $(pwd)/local_uploads:/uploads -e UPLOAD_DIR=/uploads ghcr.io/reklis/dumbdrop:latest

# For Windows PowerShell:
docker run -p 3000:3000 -v "${PWD}\local_uploads:/uploads" -e UPLOAD_DIR=/uploads ghcr.io/reklis/dumbdrop:latest

Build Locally

  1. Build the Docker image:
docker build -t dumbdrop .
  1. Run the container:
# For Linux/Mac:
docker run -p 3000:3000 -v $(pwd)/local_uploads:/uploads dumbdrop

# For Windows PowerShell:
docker run -p 3000:3000 -v "${PWD}\local_uploads:/uploads" dumbdrop

Usage

  1. Open your browser and navigate to http://localhost:3000 (unless another domain has been setup)
  2. Drag and drop files into the upload area or click "Browse Files"
  3. Select one or multiple files
  4. Click "Upload Files"
  5. Files will be saved to:
    • Local development: ./uploads directory
    • Docker/Unraid: The directory you mapped to /uploads in the container

Technical Details

  • Backend: Node.js with Express
  • Frontend: Vanilla JavaScript with modern drag-and-drop API
  • File handling: Chunked file uploads with configurable size limits
  • Containerization: Docker with automated builds via GitHub Actions

About

dumb file dropper

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • HTML 57.4%
  • CSS 22.1%
  • JavaScript 20.0%
  • Dockerfile 0.5%
0