Makes Japanese Anki cards from ANY Spotify lyrics.
Now next time you go to Japanese karaoke with friends, you can ace those lyrics.
Nextjs, tailwind, shadcnUI, Kuroshiro (kanji to hiragana)
Spotify API, Rapid API, Azure Translation API
AWS Lambda, fugashi (Japanese tokenizer), genanki (Anki Card generator)
- nvm
- pnpm
- python
- Clone this repo
- Copy
.env.template
inapps/client
and paste it in the same directory as.env.local
and fill in the values. View the Environment Variables section for more information. - Run this to download all the dependencies.
pnpm install
- Run
pnpm dev
in the root directory. - Access the app at
localhost:3000
Create a Spotify API app and use the client id here.
Create a Spotify API app and use the client secret here.
Make a RapidAPI app with this API and use the key here.
Make Azure account and register for the translation API. Use the key here.
Deploy the tokenizer API and use its URL here.
Use the key of the tokenizer API here (you decide the key yourself).
URL of Lambda function
Region of Lambda function
Access key id of AWS account
Secret access key of AWS account
Name of Lambda function