测试或部署前请根据运行环境新建 .env
文件,可指定:
- SERVER_NAME,音乐运营商
- SERVER_PLAYLIST,个人播放列表
- NO_CACHE,是否启用 api 缓存(因为 Vercel 服务器在国外访问国内音乐运营商存在延迟,建议开启;国内测试或部署则无需开启)。
git clone https://github.com/Shy07/fm.rynkis.com.git
cd fm.rynkis.com
yarn install
yarn dev
Then open http://localhost:3000 in your web browser and enjoy!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out Next.js deployment documentation for more details.
Cache netease api data with Vercel KV.
Rewrite project with Next.js.
Pack all front-end resources with webpack.
Rewrite player with jQuery + ES6.
Rewrite API with Ruby and use Sinatra Server.