[WIP] A Chrome extension for USTCers to improve the USTC online experience.
-
chrome-ext
: Chrome extension.-
Frontend framework used: Refina.js.
-
Chrome extension manifest is inside
vite.config.ts
. -
src/assets
folder: static assets. -
src/content
folder: content scripts. -
src/popup
folder: popup page. -
src/shared
: shared code.
-
-
vite-plugin
: Vite plugin for Chrome extension development.
-
Clone this repo.
-
Install dependencies.
pnpm i
- Start the development server.
- In one terminal:
cd ./vite-plugin
pnpm dev
- In another terminal:
cd ./chrome-ext
pnpm dev
- Load the extension in Chrome.
-
Open
chrome://extensions/
in Chrome. -
Turn on the
Developer mode
switch. -
Click
Load unpacked
and select thechrome-ext/dist
folder.
- Enjoy!
# In the root directory
pnpm build