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.
- Mirror the entire site
- Support login and register
- Support for custom domain
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.
- Fork this repository
- Edit the
wrangler.toml
file and replaceroutes
with 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_ID
to GitHub Secrets as well - Enable GitHub Actions in your repository
- Trigger the workflow manually or push a commit to the repository