DumbDrop icon indicating copy to clipboard operation
DumbDrop copied to clipboard

Add env var to toggle upload history

Open abiteman opened this issue 1 year ago • 2 comments

Would it be possible to add a display of all of the uploaded files that could be toggled via something like a Docker environment variable? A dumb simple UI like this is exactly what I'm looking for to use in a project of mine, if it also displayed the uploaded files too.

Originally posted by @LunarNightShade in #65

abiteman avatar Jun 24 '25 03:06 abiteman

As a straightforward workaround, if you publish dumbdrop via an http server such as nginx you can expose the local upload folder so that uploaded files can be shared via their url.

For example here's my config:

/var/dumbware/dumbdrop/compose.yml

services:
    dumbdrop:
        image: dumbwareio/dumbdrop:latest
        restart: unless-stopped
        ports:
            - 3033:3000
        volumes:
            - ./uploads:/app/uploads 

/etc/nginx/sites-enabled/dumbdrop

server {
    listen 443 ssl;
    server_name REDACTED;

    root /var/dumbware/dumbdrop;

    location / {
      proxy_pass http://localhost:3033;
      proxy_set_header Host $host;
      proxy_set_header Upgrade $http_upgrade;
      proxy_set_header Connection upgrade;
      proxy_set_header Accept-Encoding gzip;
    }

    location /uploads {
        autoindex off;
        autoindex_exact_size off;
    }
}

drbourbon avatar Jul 23 '25 12:07 drbourbon

Please take a look into the merged PR https://github.com/DumbWareio/DumbDrop/pull/70

leet1994 avatar Nov 08 '25 17:11 leet1994