Mirror site of Mikan using Cloudflare Workers
Find a file
2025-12-14 21:51:38 +08:00
.husky update husky 2025-01-17 12:23:48 +08:00
src fix: update URL handling in transformText function to include port if present 2025-06-04 23:26:27 +08:00
.gitignore initialize project with essential configurations and dependencies 2025-01-17 12:23:27 +08:00
.node-version initialize project with essential configurations and dependencies 2025-01-17 12:23:27 +08:00
.prettierignore initialize project with essential configurations and dependencies 2025-01-17 12:23:27 +08:00
.prettierrc initialize project with essential configurations and dependencies 2025-01-17 12:23:27 +08:00
eslint.config.js initialize project with essential configurations and dependencies 2025-01-17 12:23:27 +08:00
LICENSE Create LICENSE 2025-01-17 13:29:38 +08:00
package.json chore: update packages (#272) 2025-11-05 02:06:23 +00:00
pnpm-lock.yaml chore: update packages (#272) 2025-11-05 02:06:23 +00:00
README.md Update README to include CLOUDFLARE_ACCOUNT_ID in GitHub Secrets setup 2025-01-18 12:14:58 +08:00
tsconfig.json initialize project with essential configurations and dependencies 2025-01-17 12:23:27 +08:00
wrangler.toml Enable observability logs in wrangler configuration 2025-02-15 16:10:56 +08:00

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

  1. Fork this repository
  2. Edit the wrangler.toml file and replace routes with your own domain
  3. Create a new Cloudflare API token with the permission to edit workers, and add it to GitHub Secrets with the name CLOUDFLARE_API_TOKEN. Add CLOUDFLARE_ACCOUNT_ID to GitHub Secrets as well
  4. Enable GitHub Actions in your repository
  5. Trigger the workflow manually or push a commit to the repository

License

MIT