Trifold is a tool to quickly and cheaply host static websites using a CDN
17 days ago
- #CDN
- #deployment
- #static-websites
- trifold is a tool for serving static websites using a CDN, enabling easy deployment of static assets like HTML, CSS, JS, and images.
- It provides a CLI for project initialization, syncing files to the CDN, custom domain configuration, cost control, and redirects via edge functions.
- The tool is an alternative to free services like Cloudflare Pages, Netlify, and GitHub Pages, focusing on paid but affordable CDN services.
- Installation is recommended via `uvx trifold`, with options for other Python package managers like pip, pipx, or poetry.
- Currently, bunny.net is the supported CDN provider, offering affordable storage and bandwidth rates, starting at $0.01/GB/mo.
- Example pricing: 25,000 hits on a 2MB page costs ~$0.50, with the ability to host multiple low-traffic sites for $1/month.