Thanks to visit codestin.com
Credit goes to github.com

Skip to content

alanoy/bangumi

Repository files navigation

Bangumi List

Version GPLv3 License

Demo

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 is Bangumi
  • port(optional): devServer port, default is 3000

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

  1. Set BGMTV_AUTHORIZE to 'true' in .env file, default is false.
  2. Create an app on bgm.tv.
  3. Copy App ID, APP Secret, 回调地址 from your newly created application,回调地址 should be https://${your app baseURL}/auth/callback
  4. Set copied APP ID to BGMTV_APP_ID in .env file.
  5. Set copied APP Secret to BGMTV_APP_SECRET in .env file.
  6. Set copied 回调地址 to BGMTV_REDIRECT_URI in .env file.
  7. Set BGMTV_USERAGENT in .env file, more details here.
  8. Set a 32-bit NUXT_SESSION_SECRET for session secret in .env file.

checkout the documentation for more information.

TODO

About

Bangumi List

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •