Azure Static Web apps have a free tier. Just point it to your GitHub repo and CD is set up.
https://statically.io/ ,With Statically, you can optimize your open-source project, and it will load faster. Statically has a CDN for your static assets, so your open source project will load even faster! Statically uses 3 CDN providers to determine the fastest server near you. It’s time to make your open-source project shine on the web!
你可以在 Render 部署你的static web app。
创建一个 Render 账号
在 控制台 页面点击 New 按钮并选择 Static Site。
链接你的 GitHub/GitLab 账号或使用一个公共仓库
指定一个项目名称和所用分支
- 构建命令:
npm install && npm run build - 发布目录:
dist
- 构建命令:
点击 Create Static Site
你的应用将会被部署在
https://<PROJECTNAME>.onrender.com/
默认情况下,推送到该指定分支的任何新的 commit 都会自动触发一个新的部署。Auto-Deploy 可以在项目设置中部署。
还可以为项目添加一个 自定义域名。
https://about.gitlab.com/stages-devops-lifecycle/pages/ ,The extra benefit here is that you can have unlimited private repositories for free if you choose GitLab.com. Moreover, GitLab offers an excellent CI system for free. Which can be accustomed automatically to build almost any reasonably static site generator.
https://www.back4app.com/docs-containers/run-a-static-website-on-containers,要求:
"A Dockerfile is mandatory for deploying your applications, please ensure it's included in your repo.”
Back4app is a cloud platform with robust features for application development. Although more known for its backend services, Back4app also provides static web hosting. With Back4app, developers can leverage GraphQL and REST APIs, real-time updates, and database tools alongside their static website. Back4app emphasizes scalability, flexibility, and ease of use, making it a strong choice for comprehensive web solutions.
https://github.com/1backend/1backend
(https://1backend.com/docs/running-the-server/locally/ ,
https://1backend.com/docs/running-the-server/docker-compose/)
https://github.com/iron-io/functions (https://open.iron.io/)
Stormkit.io is explicitly designed for JavaScript applications. It integrates well with Git providers, enables server-side rendering, and offers automatic scaling. If you’re developing with JavaScript (React, Vue, Svelte, etc.) and want to deploy quickly, Stormkit.io could be an excellent choice. 有"Free plan. Unlimited usage"
---------------------
https://cn.vitejs.dev/guide/static-deploy
https://vite.dev/guide/static-deploy.html
https://cli.vuejs.org/guide/deployment.html
https://briteming.blogspot.com/2024/10/vite.html
https://xmit.dev/posts/end-to-end/
------------------------------------------------
A collection of awesome static hosting & CMS providers .
Awesome Static Hosting and CMS
A collection of awesome static hosting providers, content management systems, and curated articles.
Most importantly, this list wouldn't exist without the excellent work that's been done to create the Awesome Static Website Services list. Adam has curated some of the best resources, across a wide range, to help people develop their sites.
We don't want to repeat that content, go read the original!
- Contentful : (web: contentful.com) - Enterprise-grade content editing for anything (more than just static sites)
- DatoCMS : (web: datocms.com) - An open source, and commercially supported, CMS for Static Site Generators. Developed on GitHub: https://github.com/datocms
- Forestry (web: forestry.io) - A CMS for Jekyll and Hugo sites. Host anywhere (GitHub Pages, Amazon S3, FTP, etc) and access your static CMS from
site.com/admin/. - GraphCMS : (web: graphcms.com) - Headless CMS for Digital Creators. GraphQL Content APIs for Digital Products. Developed on GitHub: https://github.com/GraphCMS
- Grav : (web: getgrav.org) - Modern, Crazy Fast, Ridiculously Easy and Amazingly Powerful Flat-File CMS.
- Hokus : (web: hokus CMS) - Open source CMS for Hugo static websites.
- Jekyll Admin (web: jekyll.github.io/jekyll-admin) - A Jekyll plugin that provides users with a traditional CMS-style graphical interface to author content and administer Jekyll sites. Developed on GitHub: https://github.com/jekyll/jekyll-admin
- Netlify : (web: netlifycms.org) - An open source, and commercially supported, CMS for Static Site Generators. Developed on GitHub: https://github.com/netlify/netlify-cms
- Prose : (web: prose.io) - An open source CMS for GitHub pages. Developed on GitHub: https://github.com/prose/prose
- Sanity.io : (web: sanity.io) - Sanity is an API for structured content with a React.js editing environment
- Surreal CMS : (web: surrealcms.com) - Hosted CMS for static sites over FTP or Amazon S3.
- Building a fast, secured and free static site in less than three hours by Guillaume Sempe; August 2017
- Deploy Jekyll sites to S3 using Travis CI by Mike Neumegen; January 2016
- Deploy Jekyll sites anywhere using jekyll-hook by Mike Neumegen; January 2016
- Hosting on GitLab.com with GitLab Pages
- How to automatically deploy static web site to the hosting by Vitaly Repin; July 2015
- Jekyll Deployment methods
- Azure Static Web Apps - First look
- GitHub pages : (web: github.com)
- GitLab pages : (web: gitlab.com)
- Neocities : (web: neocities.org)
- Netlify : (web: netlify.com)
- Azure Static Web Apps : (web: azure.microsoft.com)
from https://github.com/b-long/awesome-static-hosting-and-cms
-----
https://nextjs.org/docs/pages/building-your-application/deploying#static-html-export
https://nextjs.org/docs/app/building-your-application/deploying/static-exports#unsupported-features
-----------
We have community maintained deployment examples with the following providers:
----------------------------
If you are using a static host like Nginx, you can configure rewrites from incoming requests to the correct files:
server {
listen 80;
server_name acme.com;
root /var/www/out;
location / {
try_files $uri $uri.html $uri/ =404;
}
# This is necessary when `trailingSlash: false`.
# You can omit this when `trailingSlash: true`.
location /blog/ {
rewrite ^/blog/(.*)$ /blog/$1.html break;
}
error_page 404 /404.html;
location = /404.html {
internal;
}
}
No comments:
Post a Comment