Skip to content

tobiasz-gleba/ftp-to-web-static-hosting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

17 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

FTP to web static

πŸš€ Simple static files hosting server, with FTP πŸ’Ύ as a backend.

latest version build

  • βœ… host your files, and explore them in the browser πŸ’»
  • βœ… cache in application memory, you don't have to reach the FTP server each time πŸ„β€β™€οΈ
  • βœ… small docker image (under 10Mb) πŸ—ƒοΈ
  • βœ… super fast app due to golang usage 🏎️

πŸ›« How to use it?

  1. Place your static files into FTP server.
  2. Start app with docker:
docker run -p 80:80 \
-e FTP_HOSTNAME=${your-value} \
-e FTP_USERNAME=${your-value} \
-e FTP_PASSWORD=${your-value} \
ghcr.io/tobiasz-gleba/ftp-to-web-static-hosting

πŸ”¨ Avaliable environmental variables for your config:

FTP_HOSTNAME=localhost
FTP_USERNAME=admin
FTP_PASSWORD=admin
FTP_PORT=21
FTP_BASEDIR="/public"
CACHE_TTL_MINUTES=30
CACHE_SIZE_MB=300