A fully static, small footprint Website, powered by Hugo, deployed with Cloudflare Workers.
- Static Site Generator: Hugo v0.148.1
- Deployment Platform: Cloudflare Workers with Static Assets
- Theme: Hugo Coder
- Package Manager: npm
- Build Tool: Wrangler v4.26.0
- Node.js (>= 18.0.0)
- Hugo v0.148.1+ (extended version)
- Wrangler CLI
npm run build- Build the Hugo site with minificationnpm run dev- Start local development server with Wranglernpm run deploy- Build and deploy to Cloudflare Workersnpm run preview- Start Hugo development server with draftsnpm run clean- Clean build artifacts
- Clone the repository
- Install dependencies:
npm install - Start development server:
npm run dev - Open http://localhost:8787
The site is automatically deployed to Cloudflare Workers. For manual deployment:
npm run deployThis website was successfully migrated from Cloudflare Pages to Cloudflare Workers following the official migration guide. Key improvements include:
- Enhanced observability and debugging capabilities
- Access to additional Cloudflare Workers features
- Improved development workflow with Wrangler
- Better control over static asset serving
The theme used in this website is the Hugo Coder theme, available on hugo-coder GitHub Repository.
Copyright © 2024 Rafael Moreira
This repository and all it's code is licensed under the MIT License.
