Skip to content

Usability: URL Sharing (Temporary Web Server) #38

Description

@sanchxt

Description

Generate temporary download links for sharing with non-Yoop users.

Requirements

  • CLI: yoop share file.txt --url
  • Generated link: http://192.168.1.100:52580/download/a7k9-temp
  • Mini web server on random port
  • Browser download (any device, any platform)
  • Optional: --password, --expire 1h, --once
  • Auto-shutdown after download or timeout

Web Server Details

  • Temporary HTTP server (Axum)
  • Unique URL path per share (random token)
  • Basic auth for password protection
  • File streaming on download
  • Auto-shutdown when complete

Security

  • Random port selection
  • HTTPS optional (self-signed cert)
  • Rate limiting per IP
  • Bind to specific interface (LAN only default)

Technical Details

  • Spawn temporary Axum server
  • URL format: http://<ip>:<port>/download/<token>
  • Copy URL to clipboard automatically
  • Show QR for mobile scanning

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions