- local
- Free Hosting
- Cloudflare Pages
- Worker
- Github pages
- Github Actions - SSR
- Issue Blog
- limits
- Gitbook
- CN
local¶
caddy file-server --browse --listen :8008 # text/plain
npx http-server -a 0.0.0.0 -p 8008 # download
pm2 start npx --name ${PWD##*/} -- http-server -a 0.0.0.0 -p 8008
Free Hosting¶
| Free | Storage | month |
|---|---|---|
| Github | 500 MB | 2000 min |
| Cloudflare | 25MiB/site | 500 times |
| vercel | 100GB b/w | |
| netlify | 500 sites | 100GB b/w(then $55 per 100GB) |
Cloudflare Pages¶
1 github repo => 1 cf project = 1 build kernel (ref)
Worker¶
https://developers.cloudflare.com/pages/functions/ - full-stack with Cloudflare Worker
Snippets(Paid) vs Workers: https://developers.cloudflare.com/rules/snippets/when-to-use/#snippets-vs-workers-feature-comparison
Github pages¶
CNAME:
Gihub token: https://github.com/settings/tokens
Github Actions - SSR¶
https://docs.github.com/en/actions/quickstart
.github/workflows
check usage: https://github.com/settings/billing
Issue Blog¶
Vue + JS: https://github.com/Yidadaa/Issue-Blog-With-Github-Action
limits¶
https://docs.github.com/en/pages/getting-started-with-github-pages/github-pages-limits - soft bandwidth limit of 100 GB per month - 10 builds per hour
Gitbook¶
https://toolchain.gitbook.com/structure.html
book.json
{
"root": "./docs"
}
LANGS.md # https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
* [English](en/)
* [Chinese](zh/)
CN¶
| Price | Free | Site |
|---|---|---|
| 9.9/m | TencentEdgeOne | https://cloud.tencent.com/document/product/1552/94165 |
| 已下线 | Gitee | https://gitee.com/help/articles/4136 |