FTP to web static
π Simple static files hosting server, with FTP πΎ as a backend.
- β
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?
- Place your static files into FTP server.
- 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