File transfer app

Phone App

User selects a file (images, docs, videos, etc.)

Enters a short device code (like 2415) shown on the laptop website

File is sent directly to the paired laptop

Laptop Website

When opened, it registers itself with a small signaling server and shows a unique device code

Displays the number of connected devices

When the phone connects with the matching code, the website starts receiving the file

File is reconstructed in the browser and offered as a download
Connection should be done using webRtc(if possible) or want to use firebase or supabase

What is your purpose? This can be done in the easiest way if you explain why do you need this and where you want this to be used.

Purpose is end to send file from my app to a website where it is opened