Auto-fill Douban Music submissions from NeoDB
Quickly search between Douban and NeoDB with direct page navigation
- Clone and extract this project
- Set up your NeoDB Access Token:
Then edit
cp .env.example .env.local
.env.localand replaceyour_token_herewith your token from https://neodb.social/developer/ - Install Vite+, then install dependencies and build the extension. Vite+ manages the Node.js and pnpm versions declared in
package.jsonunderdevEngines:vp install vp run build
- Open
chrome://extensions/in your browser and enable Developer Mode - Click "Load unpacked" and select the
.output/chrome-mv3directory from the project
WXT manages extension entrypoints, the manifest, React integration, and browser-specific builds in wxt.config.ts. Vite+ supplies the Vite engine and the lint/format configuration in vite.config.ts.
Use vp run to execute the WXT scripts. The built-in vp dev and vp build commands run Vite directly and do not build this extension.
| Command | Purpose |
|---|---|
vp run dev |
Start Chrome extension development |
vp run dev:firefox |
Start Firefox extension development |
vp run check |
Check formatting, lint, and TypeScript types |
vp run typecheck |
Run TypeScript checks only |
vp fmt |
Format the project |
vp run build |
Build Chrome MV3 into .output/chrome-mv3/ |
vp run build:firefox |
Build Firefox MV2 into .output/firefox-mv2/ |
vp run zip |
Build and package the Chrome extension |
vp run zip:firefox |
Build and package the Firefox extension |
vp run check combines Vite+'s format/lint checks with tsc --noEmit, preserving the existing lint rules and WXT-generated TypeScript configuration. Run vp install before checking a fresh checkout so wxt prepare generates .wxt/.
-
On a NeoDB album page, click the ➕ button next to the cover:
- Automatically transfers album information to the Douban Music submission form
- Automatically downloads the album cover image to your computer
- Automatically opens the Douban Music submission page and fills in the information
-
On NeoDB album/movie/TV/book pages, click the 🔍 button next to the cover:
- Search for the corresponding entry on Douban
-
On Douban music/movie/book pages, click the NeoDB logo button at the top of the right sidebar:
- Search for the corresponding entry on NeoDB
NeoDB-to-Douban.mp4
Auto-fill Douban submissions from NeoDB
Douban-to-NeoDB.mp4
Search NeoDB from Douban
MIT