Mirror site of Mikan using Cloudflare Workers
| .husky | ||
| src | ||
| .gitignore | ||
| .node-version | ||
| .prettierignore | ||
| .prettierrc | ||
| eslint.config.js | ||
| LICENSE | ||
| package.json | ||
| pnpm-lock.yaml | ||
| README.md | ||
| tsconfig.json | ||
| wrangler.toml | ||
Mirror site of Mikan using Workers
This is a mirror site for Mikan Project using Cloudflare Workers, which is a serverless platform that allows you to run JavaScript code on Cloudflare's edge network.
Features
- Mirror the entire site
- Support login and register
- Support for custom domain
Usage
You can directly access the mirror site I deployed: https://mikan.siki.moe, or you can deploy your own mirror site by following the steps below.
Deploy
- Fork this repository
- Edit the
wrangler.tomlfile and replacerouteswith your own domain - Create a new Cloudflare API token with the permission to edit workers, and add it to GitHub Secrets with the name
CLOUDFLARE_API_TOKEN. AddCLOUDFLARE_ACCOUNT_IDto GitHub Secrets as well - Enable GitHub Actions in your repository
- Trigger the workflow manually or push a commit to the repository