Trifold is a tool to quickly and cheaply host static websites using a CDN
19 comments
·November 24, 2025chanux
0x3f
> For anyone who might find this interesting, I wanted a static site knowledge base but private: https://chanux.me/blog/post/static-site-with-auth/
This seems... incredibly complex when you could just use S3 + Cloudflare.
Brajeshwar
I throw everything I experiment with at Cloudflare, including my personal website and the family’s Internet stuff (websites, etc). None of them is commercial. Cloudflare tells me that it served 68.44 GB in the last 30 days, and the Invoice was ZERO.
I’ve been looking for an extra-cheap CDN, and I’m not so worried about high uptime. I’m not yet ready to cough up the cost for Cloudflare R2 and AWS CloudFront, though it’s not costly, but I’m still in that cheap-feeling phase and not ready to offload over 100GB of files to the public while paying a price.
I looked at Bunny CDN a while back, but I remember thinking that the minimum was like ~$50. What did I miss? I dismissed it as non-personal option.
miyuru
AWS CloudFront is free up to 1TB bandwidth and 10 million HTTP/HTTPS requests per month.
https://aws.amazon.com/blogs/aws/aws-free-tier-data-transfer...
Brajeshwar
I’ve come past way beyond the 1st year honeymoon with AWS.
Edit:
I’m sorry but I’m today years old learning that AWS indeed is free-ish, “Data Transfer from AWS Regions to the Internet is now free for up to 100 GB of data per month (up from 1 GB per region).”
“Data Transfer from Amazon CloudFront is now free for up to 1 TB of data per month (up from 50 GB), and is no longer limited to the first 12 months after signup.”
Now, I need to figure out why am I being billed each month for some of the files I use AWS for!
anamexis
The CloudFront free tier runs indefinitely.
KomoD
> I’m not yet ready to cough up the cost for Cloudflare R2 and AWS CloudFront
> but I’m still in that cheap-feeling phase and not ready to offload over 100GB of files to the public while paying a price
You wouldn't pay like anything for that on Cloudflare R2. You get 10GB and $0.015/GB (so what... like a dollar or something?) for anything over + free egress.
ozim
Cloudflare transfer is inflated. I have personal website via CF that there is no way is having transfer amounts they claim there is.
portaltonowhere
$1 minimum for Bunny CDN. https://bunny.net/pricing/
Brajeshwar
Yeah Ha! I saw that from this article and signed up. I even did the Card Verify thingy for $30 additional Credit. Will be trying this out and also do a comparison with Cloudflare R2.
chrismorgan
> I even did the Card Verify thingy for $30 additional Credit.
I hadn’t heard of this, only seen the “14 day free trial” thing, so I checked: the trial gives $20 of credit, and verifying a card gets you $30 more, but it’s all trial credits which expires 14 days after you create your account. In other words, completely useless for people looking to spend under the $1/month minimum.
Pity, free for 2½ years sounded good.
null
0x3f
> trifold offers an easy alternative to services like Cloudflare Pages, Netlify [...]
Does it? Those provide dynamic compute for e.g. SSR, not hosting static sites. The equivalent here is more like S3 + Cloudflare (Cloud Connector and some rules). Which is free for most use cases and (IMO) pretty easy.
tclancy
Is it an easy alternative to GitHub pages? That felt pretty simple when I was looking for a solution to this exact situation. Each requires some coding knowledge, but it feels like this is a bit more work. And why do I have to pay anything?
0x3f
I haven't used GitHub pages so I'm not actually sure if it provides compute or purely static file hosting, which is why I removed it from my quote.
Although it's my understanding that GitHub has much tighter content restrictions than the others. So you can't host commercial projects or anything the GitHub org finds 'icky'.
Tepix
> So you can't host commercial projects or anything the GitHub org finds 'icky'.
I don't think that's accurate. What's your source?
hollerith
SSR == server-side rendering
bradley_taunt
This is pretty neat, but setups like this always make me wonder how the “static web” has become so complex?
I feel that tossing your static files up on a host like NearlyFreeSpeech (or any other cheap/decent host) is the easiest.
This would also only cost you ~$0.03 a day. Don’t reinvent the wheel, you know?
Trifold looks simple! Also seems like a good reason to finally try out bunny.net
For anyone who might find this interesting, I wanted a static site knowledge base but private: https://chanux.me/blog/post/static-site-with-auth/
I host this with GCP and stay within free tier
And how I deploy a similar thing with GCS/Cloud build etc is covered here https://chanux.me/blog/post/automate-static-site-publishing-...