Add Last.fm import support

Users can import their top tracks from Last.fm by entering their username.
No OAuth required - uses the public Last.fm API with user.getTopTracks and
user.getInfo endpoints. Includes a preview feature to verify the username
and see sample tracks before importing. Supports configurable time periods
(all time, 7 days, 1/3/6/12 months). Free tier playlist limit enforced.
This commit is contained in:
root
2026-03-30 22:49:13 -05:00
parent d0ab1755bb
commit 90945932ad
4 changed files with 251 additions and 0 deletions

View File

@@ -10,4 +10,5 @@ STRIPE_SECRET_KEY=sk_test_your-stripe-secret-key
STRIPE_PUBLISHABLE_KEY=pk_test_your-stripe-publishable-key
STRIPE_PRICE_ID=price_your-pro-plan-price-id
STRIPE_WEBHOOK_SECRET=whsec_your-webhook-signing-secret
LASTFM_API_KEY=your-lastfm-api-key
FRONTEND_URL=https://deepcutsai.com