尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Weekly curated playlists for every genre and mood
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗A fast, responsive browser for Barry Prendergast's curated playlists on TIDAL: weekly selections for every genre and mood, plus deep dives into artists' back catalogues.
?q=, ?tag=, ?sort=created|updated|title, ?order=asc|desc, ?p=<playlist>), so it can be shared, bookmarked, and the Back button closes an open playlist.Requires Node.js 22.12 or newer.
npm install
npm run dev:mock # demo playlists, no TIDAL account needed
Open http://localhost:3000.
In your app at developer.tidal.com, copy the Client ID and Client Secret.
Copy .env.example to .env and fill in:
TIDAL_CLIENT_ID=…
TIDAL_CLIENT_SECRET=…
TIDAL_USER_ID=… # whose playlists to show (see below)
TIDAL_PROFILE_URL=… # optional: link for the "View on TIDAL" button
npm run dev, and check the terminal: it logs Fetched playlists from TIDAL with a count when everything works.
TIDAL has said its playlist endpoints may require a signed-in user, even for public playlists. If the log shows "TIDAL denied access … Run npm run tidal:login":
http://localhost:3000/callback as a Redirect URI for your app, and enable the user.read and playlists.read scopes.npm run tidal:login -- --save and sign in with the link it prints.TIDAL_REFRESH_TOKEN (and your TIDAL_USER_ID) to .env. Add the same values to your Vercel project's environment variables.The refresh token grants read access to your account: keep it secret. Only public playlists are ever shown, whichever way the app signs in.
Finding your user ID: npm run tidal:login prints it.
app.js). There is no build step, and the settings in vercel.json need no changes.TIDAL_CLIENT_ID, TIDAL_CLIENT_SECRET, TIDAL_USER_ID, TIDAL_REFRESH_TOKENTIDAL_PROFILE_URL (optional) and SENTRY_DSN (optional)SITE_URL only if you use a custom domain; otherwise the project's production URL is used.https://<your-site>/healthz: it should report "status":"ok" and a playlist count.How the app runs on Vercel:
app.js is a single Vercel Function. Everything in public/ is served directly by Vercel's CDN; vercel.json maps the versioned /static/<hash>/… URLs onto those files and marks them cacheable for a year.Vercel-CDN-Cache-Control header, so the CDN answers repeat requests and refreshes in the background. Visitors only wait for TIDAL (about 10 seconds for ~340 playlists) on the first request after a deploy, or when the CDN has no copy at all. Change CDN_CACHE_SECONDS (default 600) to tune this.waitUntil, so they finish after the response is sent.npm start still runs a normal long-lived server for any other host.
On the server. All playlists and their artwork come from TIDAL in a handful of paginated requests. The old app made one extra request for every playlist. The result is kept in memory for CACHE_DURATION (10 minutes by default) and saved to disk, so a restart serves instantly. After that, the next visit triggers a background refresh, and visitors never wait for it. On Vercel, the CDN also caches the playlist data (see Deploying). If TIDAL is down, the last good copy keeps being served while the server retries with back-off.
In the browser.
<head> starts it before the app's code has even downloaded, and the newest playlist's artwork is preloaded.304 Not Modified.Images and assets.
srcset/sizes), lazy-loaded as you scroll, and fades in over its own palette colour. Only the first row loads eagerly.POST /api/reports, which de-duplicates and rate-limits them before logging. Content-Security-Policy violations are reported there too.SENTRY_DSN to receive server and browser errors with alerting. The SDK loads only when configured.GET /healthz reports ok, degraded (serving the last good copy) or unavailable, with the data's age.npm run dev # with your TIDAL account; restarts on server changes
npm run dev:mock # with generated demo data
npm test # unit and integration tests (Node's built-in runner)
npm run check # syntax-check every JS file, including browser code
CI runs check and test on every pull request (.github/workflows/ci.yml).
app.js entry point: exported as the Vercel Function, or listens locally
vercel.json Vercel rewrites, cache headers and function settings
src/
site.js builds the app; serve() runs it as a normal server
config.js settings from the environment, validated at start-up
catalogue.js server copy of the playlists: refresh, back-off, disk snapshot
reporting.js one place for errors: logs + optional Sentry
tidal/ TIDAL auth, API client (retries, pagination), normalisation, mock
http/ Express app, security headers, report intake, asset versioning
views/ page templates
public/
css/app.css all styles
js/ browser modules: sync, store, grid, dialog, filter, report…
scripts/tidal-login.js one-time TIDAL sign-in helper
test/ tests
MIT. The DM Sans font is licensed under the SIL Open Font License (public/fonts/OFL.txt). Icons are from Lucide (ISC licence).