Spotify Dashboard Bot

D 52 completed
Api
unknown / json · tiny
16
Files
3,556
LOC
1
Frameworks
3
Languages

Pipeline State

completed
Run ID
#369470
Phase
done
Progress
1%
Started
Finished
2026-04-13 01:31:02
LLM tokens
0

Pipeline Metadata

Stage
Cataloged
Decision
proceed
Novelty
39.58
Framework unique
Isolation
Last stage change
2026-05-10 03:35:17
Deduplication group #50382
Member of a group with 21 similar repo(s) · framework expresscanonical #75750 view group →
Top concepts (2)
Project DescriptionWeb Backend
Citation: Repobility (2026). State of AI-Generated Code. https://repobility.com/research/

AI Prompt

Create a Node.js API server using Express that automates Spotify Developer Dashboard allowlist management. The bot needs endpoints to add an email to the allowlist (`POST /allowlist/add`), remove an email (`POST /allowlist/remove`), and list all current allowlisted emails (`GET /allowlist`). It should also include a health check endpoint (`GET /health`). The system must require an `x-api-key` header for all requests and should utilize Playwright for browser automation tasks like selector discovery.
javascript node.js express api spotify playwright automation rest-api
Generated by gemma4:latest

Catalog Information

Automates the management of the Spotify Developer Dashboard allowlist via a secure API.

Description

This project provides a lightweight API server that automates adding and removing user emails from the Spotify Developer Dashboard allowlist. It uses Playwright to control a Chromium browser, interacting with the dashboard’s UI and extracting 2‑factor authentication codes from Gmail OAuth2 tokens. The API requires an x‑api‑key header for security and exposes endpoints for adding, removing, listing allowlisted emails, and health checks. It is designed for developers who need to manage the limited 5‑user Dev Mode slot allocation without manual browser interaction, integrating smoothly into CI/CD pipelines or other automation workflows. The solution reduces manual effort, minimizes human error, and enhances security by centralizing allowlist changes behind a protected API.

الوصف

يتيح هذا المشروع أتمتة إدارة قائمة السماح في لوحة تحكم مطوري Spotify، مما يسرّع عمليات إضافة أو إزالة عناوين البريد الإلكتروني للمستخدمين. يعتمد على مكتبة Playwright لتشغيل متصفح Chromium وتفاعل مع واجهة المستخدم الرسومية للوحة التحكم، مع استخراج رموز التحقق من 2FA عبر OAuth2 في Gmail. يوفر واجهة برمجة تطبيقات REST بسيطة تتطلب مفتاح API لتأمين الوصول، وتدعم عمليات POST لإضافة أو إزالة عناوين البريد الإلكتروني، وGET لاستعراض القائمة الحالية، وGET للتحقق من حالة الخدمة. يهدف إلى حل مشكلة القيود اليدوية على حصة 5 مستخدمين في وضع التطوير، حيث يمكن للمطورين تعديل القائمة تلقائياً دون الحاجة لتسجيل الدخول يدويًا. يدمج الأمان عبر مفتاح API وتكامل 2FA، ما يضمن أن التغييرات تتم فقط من قبل جهات موثوقة. يختلف عن الحلول التقليدية بكونه يعمل كخدمة خلفية يمكن استدعاؤها من خطوط CI/CD أو أدوات إدارة البنية التحتية، مع واجهة برمجة تطبيقات موحدة. الجمهور المستهدف هم مطورو Spotify الذين يحتاجون إلى إدارة قائمة السماح بكفاءة، أو فرق DevOps التي ترغب في دمج هذه العمليات في سير العمل الآلي. يساهم في تقليل الأخطاء البشرية وتحسين أمان العمليات المتعلقة بإدارة حسابات المطور.

Novelty

6/10

Tags

automation allowlist-management spotify-developer-dashboard email-management dev-mode-slot-allocation api-security 2fa-integration

Technologies

express playwright

Claude Models

claude-opus-4.6

Quality Score

D
52.4/100
Structure
47
Code Quality
75
Documentation
45
Testing
0
Practices
67
Security
74
Dependencies
50

Strengths

  • Consistent naming conventions (snake_case)

Weaknesses

  • No LICENSE file \u2014 legal ambiguity for contributors
  • No tests found \u2014 high risk of regressions
  • No CI/CD configuration \u2014 manual testing and deployment
  • Potential hardcoded secrets in 1 files
  • 185 duplicate lines detected \u2014 consider DRY refactoring

Recommendations

  • Add a test suite \u2014 start with critical path integration tests
  • Set up CI/CD (GitHub Actions recommended) to automate testing and deployment
  • Add a linter configuration to enforce code style consistency
  • Add a LICENSE file (MIT recommended for open source)
  • Move hardcoded secrets to environment variables or a secrets manager

Security & Health

6.1h
Tech Debt (D)
A
OWASP (100%)
PASS
Quality Gate
A
Risk (4)
Repobility (the analyzer behind this table) · https://repobility.com
ISC
License
2.7%
Duplication
Full Security Report AI Fix Prompts SARIF SBOM

Languages

json
70.1%
javascript
28.9%
markdown
1.0%

Frameworks

Express

Concepts (2)

Open methodology · Repobility · https://repobility.com/research/
CategoryNameDescriptionConfidence
Source: Repobility analyzer · https://repobility.com
auto_descriptionProject DescriptionAutomates Spotify Developer Dashboard allowlist management (add/remove user emails) via Playwright. Designed to programmatically manage the 5-user Dev Mode slot allocation without manual browser interaction.80%
auto_categoryWeb Backendweb-backend70%

Quality Timeline

1 quality score recorded.

View File Metrics

Embed Badge

Add to your README:

![Quality](https://repos.aljefra.com/badge/93673.svg)
Quality BadgeSecurity Badge
Export Quality CSVDownload SBOMExport Findings CSV