Sign inSign up

toomas633/fileshare

By toomas633

•Updated over 1 year ago

This is a simple file sharing website, that generates direct and/or download page links to files.

Image
Internet of things
Web servers
0

1.2K

toomas633/fileshare repository overview

⁠FileShare

Preview

This is a simple file sharing website, that generates direct and/or download page links to files. Direct linking works for generating links for in config files or any other reason something would want to load something directly from web or if you don't want to check the downloaded file but get it instantly. Download page links are great for sharing files for easy download checking.

Github: https://github.com/Toomas633/FileShare⁠

Webpage: https://toomas633.com⁠

Features:

  • One file per upload
  • Random name toggle.
  • File preview icons.
  • Same file name check.
  • Delete time slider form 1-12h, 24h or never.
  • Easy link copy.
  • Admin page.
    • Display timezone select.
    • Delete and download buttons.
    • File list with hyperlink to download page.
    • Generated link beginning for hosting behind a domain.
  • Download page with download and delete buttons.
  • Status messages and popups

Default password: Password.123

⁠Running instructions

Create a docker-compose.yml, copy the contents under here and run it with docker-compose up -d.

version: '3.9'
services:
  fileshare:
    image: ghcr.io/toomas633/fileshare:latest #or version number instead of latest
    container_name: fileshare #container name, can be set different
    ports:
      - "8080:80" #map port 8080 from host to 80 on container
    environment:
      - TZ=Europe/Tallinn #default timezone for the container and on first database creation
      - MAX_FILESIZE=5M #allowed uploaded file size
      - PASSWORD=Password.123 #password for settings page login, set your own or change it on the page
    volumes:
      - /host/path1:/var/www/html/uploads/ # volume or host dir to a folder where uploads will be held
      - /host/path2:/var/www/html/db/ # volume or host dir to a folder where the database will be held 
    restart: always

⁠Suggestions

Suggestions are welcome and can be posted under the issues. Anything is welcome, including extra functionality, extra preview icons etc.

⁠Donate

https://toomas633.com/donate/⁠

Tag summary

Content type

Image

Digest

sha256:7690b6177…

Size

182.8 MB

Last updated

over 1 year ago

docker pull toomas633/fileshare