已部署成功的免费静态网站托管
- GitHub Pages,参考官网:Creating a GitHub Pages site,部署成功示例: https://yinhedot.github.io/yinhedot/
- Vercel.com(Zeit): https://vercel.com/,部署成功示例:https://yinhedot.vercel.app/
- Cloudflare Pages:https://pages.cloudflare.com/,部署成功示例: https://yinhedot.pages.dev/
- 4everland:https://hosting.4everland.org/, 40G storage for free, Network for free. 部署成功示例:https://yinhedot.4everland.app/
- render:https://render.com/,部署成功示例:https://yinhe.onrender.com/
- NetLify:https://www.netlify.com/,注册时有点麻烦:部分地区无法访问 api.netlify.com部署在google的数据中心。部署成功示例:https://yinhe.netlify.app/
- 通过jsDelivr直接引用github的静态资源,使用方法:https://cdn.jsdelivr.net/gh/你的用户名/你的仓库名@发布的版本号/文件路径,如:https://cdn.jsdelivr.net/gh/yinhedot/yinhedot@main/index.html. 这样只能获得资源的源代码,并不会解析为 html网页。
不推荐的
- Gitee Pages:https://gitee.com/help/articles/4136, 需备案,部署成功但不支持自动刷新, 手动更新也会失败
- CODING Pages:收费
- 腾讯云开发 CloudBase:https://cloud.tencent.com/document/product/876/,收费
- WuliHub:https://www.wulihub.com.cn/webapp/home,需要将html文件打成zip上传。
其他
- GitLab Pages:https://about.gitlab.com/stages-devops-lifecycle/pages/, 验证码需要Google API,部署网站的流水线需要信用卡验证。可以考虑仅用于存放代码,作为github的备份。
- firebase:https://firebase.google.com/docs/hosting,暂未申请
- Fast:https://fast.io/:暂时不可用
通往地狱的路,都是由善意铺成的——哈耶克