host targeting
Every username route needs a target. Three ways:
?host=taf(orcodeberg,gitea, any key inGITHOST_INSTANCES)?base_url=https://git.example.com(SSRF-guarded; private IPs blocked unlessGITHOST_BLOCK_PRIVATE_IPS=false)- Prefix
/f/{host}/{username}/...for README embeds that cannot use query strings
GET /tashifkhan/profile?host=codeberg
GET /tashifkhan/stats?base_url=https://git.taf.sh
GET /f/codeberg/tashifkhan/stats/svg?theme=dark
Missing host is an error, not “guess Codeberg”.
GITHOST_ALLOW_CUSTOM_BASE=false disables base_url. Keep GITHOST_BLOCK_PRIVATE_IPS=true unless this process itself sits on a tailnet and must reach LAN forges.
?emails= adds extra commit emails for identity matching on the deep heatmap walk.