Skip to content

🎧 Annict で視聴記録したアニメの主題歌などの Spotify のプレイリストを作成するくん

License

Notifications You must be signed in to change notification settings

SlashNephy/annict2spotify

Repository files navigation

annict2spotify

🎧 Annict で視聴記録したアニメの主題歌などの Spotify のプレイリストを作成するくん

Gallery

Get Started

開発環境

  • node (v18.2.0 で動作確認)
  • yarn / npm
  • Docker

各種環境変数の準備

Annict および Spotify の OAuth アプリケーションの作成が必要です。

リダイレクト URI は ${NEXTAUTH_URL}/auth/{annict,spotify} に設定します。

各種環境変数を .env に記述します。ANNICT_ACCESS_TOKEN は JetBrains IDEs の GraphQL プラグインで使用します。使用しない場合は未設定で構いません。

$ cp .env.example .env
$ code .env

NEXTAUTH_SECRET は次のようなコマンドで生成できます。

$ openssl rand -base64 32

起動

起動に成功すると http://localhost:3000 で待ち受けます。

$ yarn
$ yarn generate
$ yarn dev

技術スタック

  • TypeScript
  • Next.js 12
  • React 18
  • Mantine
  • GraphQL
  • Docker
  • Prisma

About

🎧 Annict で視聴記録したアニメの主題歌などの Spotify のプレイリストを作成するくん

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published