Architecture rework for better performance:
- Remove pm2.
- Use Hono + jose + Postgres.js to replace old Koa + jwks-rsa + pg / pg-sql2 architecture.
- It's done after several unsuccessful Deno and Bun migration attempt
- But it uses similar modern solutions to help future migration and make code much easier to maintain
- Replace JSDOM with linkedom, reduce both CPU and memory usage when parsing score HTML
Song assets:
- Update hidden song append rules for new map and avoid append existed song.
- Update version list for song added back.
- Update internal levels.