No description
Find a file
2025-11-11 23:00:41 +05:30
src add zomato lisence 2025-11-11 23:00:26 +05:30
.envrc yamaf: initial commit 2025-11-08 22:03:48 +05:30
.gitignore yamaf: initial commit 2025-11-08 22:03:48 +05:30
Cargo.lock serve_file: add headers 2025-11-09 14:56:05 +05:30
Cargo.toml serve_file: add headers 2025-11-09 14:56:05 +05:30
flake.lock yamaf: initial commit 2025-11-08 22:03:48 +05:30
flake.nix yamaf: initial commit 2025-11-08 22:03:48 +05:30
LICENSE add LICENSE 2025-11-11 22:56:56 +05:30
lIS2 add zomato lisence 2025-11-11 23:00:41 +05:30
LISENCE add zomato lisence 2025-11-11 23:00:26 +05:30
README.org alo 2025-11-10 18:37:57 +05:30
rust-toolchain yamaf: initial commit 2025-11-08 22:03:48 +05:30

Yet Another Mid Ahh Filehost

adasdad

  • YAMAF is a yet another mid ahh filehost for personal use.
  • It is extremely simple and minimal and might break under niche circumstances like uploading many huge files.
  • It uses axum unlike its predecessors12, both of which were written in rust some time ago now.

Environment Variables

Variable What it does Default
ROOT_DIR Directory where files are stored /var/files
KEY Optional key required to upload files None
TITLE Title to be shown in the HTML Yet Another Mid Ahh Filehost
INTERNAL_HOST Internal host to bind the service to 127.0.0.1
INTERNAL_PORT Internal port to bind the service to None
EXTERNAL_HOST User facing domain name, used to return accessible URLs ${INTERNAL_HOST}
EXTERNAL_HAS_TLS URLs in html have https if set, otherwise http -
MAX_FILES This does not actually limit the number of files, and used to calculate bodysize 10
MAX_FILESIZE_MB Determines the max filesize possible, used to return failure and calculate bodysize 100M