Awesome
Bangumi List
data sources:
frameworks:
required:
- nodejs v18+
Configuration
config.ts:
themes
(optional): daisyui themes for ColorScheme, default is['fantasy', 'light', 'cupcake', 'dark', 'dracula', 'sunset', 'dim']
.
nuxt.config.ts:
appTitle
(optional): App title, default isBangumi
port
(optional): devServer port, default is3000
i18n
Support ['zh-ch', 'en']
, defaults to 'zh-ch'
. Check out @nuxtjs/i18n for more details.
Setup
Make sure to install the dependencies:
# bun
bun install
Development Server
Start the development server on http://localhost:3000
:
# bun
bun run dev
Production
Build the application for production:
# bun
bun run build
Locally preview production build:
# bun
bun run preview
Deployment
Check out the deployment documentation for more information.
Use bgm.tv app Authorization
- Set
BGMTV_AUTHORIZE
to'true'
in.env
file, default is false. - Create an app on bgm.tv.
- Copy
App ID
,APP Secret
,回调地址
from your newly created application,回调地址
should behttps://${your app baseURL}/auth/callback
- Set copied
APP ID
toBGMTV_APP_ID
in.env
file. - Set copied
APP Secret
toBGMTV_APP_SECRET
in.env
file. - Set copied
回调地址
toBGMTV_REDIRECT_URI
in.env
file. - Set
BGMTV_USERAGENT
in.env
file, more details here. - Set a 32-bit
NUXT_SESSION_SECRET
for session secret in.env
file.
checkout the documentation for more information.