Skip to content

Multi user support#4

Open
robocode42 wants to merge 2 commits into
AnOddName:mainfrom
robocode42:multi-user-support
Open

Multi user support#4
robocode42 wants to merge 2 commits into
AnOddName:mainfrom
robocode42:multi-user-support

Conversation

@robocode42

@robocode42 robocode42 commented Apr 20, 2026

Copy link
Copy Markdown

feat: Add multi-user support with environment variable STREAMRIP_USERS

  • Introduce STREAMRIP_USERS environment variable to define allowed users
    (comma-separated)
  • Implement user-specific download directories (e.g., /music/username/)
  • Add user validation to /api/download and /api/download-from-url
    endpoints
  • Update browse_downloads to scope file listing to user-specific
    directories
  • Enhance status tracking to include user information and support
    filtering
  • Create user selection page at / when STREAMRIP_USERS is configured
  • Update frontend to extract user from URL path and pass to API
    endpoints
  • Add styling for user list page
  • Update README.md to document new environment variable

- Introduce STREAMRIP_USERS environment variable to define allowed users
  (comma-separated)
- Implement user-specific download directories (e.g., /music/username/)
- Add user validation to /api/download and /api/download-from-url
  endpoints
- Update browse_downloads to scope file listing to user-specific
  directories
- Enhance status tracking to include user information and support
  filtering
- Create user selection page at / when STREAMRIP_USERS is configured
- Update frontend to extract user from URL path and pass to API
  endpoints
- Add styling for user list page
- Update README.md to document new environment variable
Multiple workers have separate in-memory state, causing SSE events to
be delivered to the wrong worker. With 1 gevent worker, all SSE
connections share the same event queue and download state, ensuring
events always reach the connected clients.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant