Skip to content

ShanghaitechGeekPie/shanghaitech-mirror-frontend

Repository files navigation

ShanghaiTech Open Source Mirror Frontend

Workflow status GitHub stars GitHub forks

It is the frontend of the ShanghaiTech Open Source Mirror.

Features

  • SPA (Frontend routing)
  • Search bar (Simple / RegExp mode)
  • Quick Downloader
  • Configuration Generator
  • High performance in rendering large list page
  • Adaptive dark theme
  • Query Caching
  • Small bundle size
  • And many more...

How to use

Fetch the dependencies.

pnpm install

Copy .env to .env.local and modify it.

cp .env .env.local

Debug

You may want to change MIRROR_BACKEND_SEPARATION to true.

Then start the development server.

pnpm start

Build

Build with this command.

pnpm build

You will get the dist folder. Upload it to your server.