This is a ready-to-use Zensical template designed for quick deployment using Github Pages or Cloudflare Workers, with built-in support for Dependabot and Dev Containers.
- Click Use this template on the repository page
- Create a new repository from the template
- Give it a name and click Create repository
You can run and develop this project inside a fully configured Dev Container using Visual Studio Code and Docker.
- Docker installed and running
- Visual Studio Code
- Dev Containers extension installed in VS Code
- Open this repository in VS Code
- Then follow the instructions for your OS:
• macOS: Press Command + Shift + P → type Dev Containers: Reopen in Container → press Enter
• Windows: Press Ctrl + Shift + P → type Dev Containers: Reopen in Container → press Enter - VS Code will build the container and install all dependencies automatically
Once inside the container, you can serve the site locally:
zensical serve -a 0.0.0.0:8000Then open http://localhost:8000 in your browser to preview.
Alternatively, deploy your site via Cloudflare Workers for more flexibility:
- Open your Cloudflare Dashboard
- Go to Compute → Workers & Pages
- Click Get Started under Import a Repository
- Connect your GitHub account (if not already)
- Select your repository and begin setup
- Enter a project name
- Leave other settings as default and click Create and Deploy
- You can customize
wrangler.jsoncto your own liking.
This template includes automatic deployment to GitHub Pages using GitHub Actions. Every push to the master or main branch will automatically build and deploy your site.
- Go to your repository on GitHub
- Navigate to Settings → Pages
- Under Source, select GitHub Actions
- The workflow will automatically deploy on the next push to
masterormain
Your site will be available at https://<username>.github.io/<repository-name>/
The docs.yml workflow:
- Triggers on pushes to
masterormainbranches - Installs Zensical and builds the site
- Deploys the
sitedirectory to GitHub Pages
Feel free to customize the site content, theme, or CI workflow to match your project needs!