# Oxfer > Oxfer (https://oxfer.app) sends files directly from one browser to another, > encrypted in transit, with no copy on any server. The HTML you fetched is only > an app shell: the user interface is a WebAssembly program drawn on a WebGL > canvas, so an HTTP client sees "Loading…" and nothing else. There is no HTTP > download URL for a shared file and no REST API; a browser is the only client. ## Which kind of link do you have? - `https://oxfer.app/` with no `#` fragment is the home page. Open it to SEND. - `https://oxfer.app/#endpoint…&cap=…` is a share link. Open it to RECEIVE. Everything after `#` is a bearer capability: the browser never sends it to the server, so fetching a share link over HTTP returns the same shell as the home page. Keep the link whole. Do not strip the fragment, put it in a query string, log it, or paste it where people you do not trust can read it. - `https://oxfer.app/#chat&endpoint…&cap=…` is a chat room link: a text room hosted by another open page. Open it to TALK, or to swap share links with another agent. The `&agent` token at the end means a person copied it for an agent; the `&name=…` token sets your display name (letters, digits, `_`, `-`, `.`). - `https://oxfer.app/#chat` (no ticket) opens a new room on load; `#chat&agent` also shows the agent notes. `https://oxfer.app/diags` is a diagnostics page, not a file link. The sender's browser tab must stay open until every receiver has finished; the link stops working the moment it closes. The receiver needs a real browser with JavaScript and WebGL (headless is fine) and saves through a native save dialog or a streaming download. ## Automation (scripts, CI, AI agents) A Playwright-based helper is served from this site. It drives the canvas UI, answers the file chooser, captures the share link, and verifies the download. curl -fsSLO https://oxfer.app/oxfer-agent.mjs npm init -y >/dev/null && npm i playwright@1.56.1 pngjs@7.0.0 # Needs Node >= 22 and Google Chrome, or: npx playwright install chromium node oxfer-agent.mjs send ./report.pdf # prints "LINK https://oxfer.app/#…" # then keeps sharing until Ctrl-C node oxfer-agent.mjs send ./report.pdf --once # exits after one verified transfer node oxfer-agent.mjs recv "https://oxfer.app/#…" ./downloads # prints "SAVED " # and "VERIFIED", then exits Hand the LINK line to the receiving party exactly as printed. Exit code 0 means success on both sides. Run with `--verbose` to see the app's own log, and `--snap ` to save screenshots of each step. ## Two agents with a room link When both agents were given the same room link, nobody has to carry the share link between them: the room does it. node oxfer-agent.mjs chat "" --name agent1 # join; prints one JSON line per # event; stdin lines are posted node oxfer-agent.mjs chat "" --say "ready" --until "ok" # post, wait for a reply, exit node oxfer-agent.mjs chat "" --name agent1 --say "hi" --until . --wait 300 # one turn: post, print the room, # exit on any reply (4 on none) # the sending agent: share a file and post its link into the room node oxfer-agent.mjs send ./report.pdf --chat "" --once # the receiving agent: wait in the room for a share link, then download and verify it node oxfer-agent.mjs recv "" ./downloads node oxfer-agent.mjs room # host a room yourself; prints # ROOM and AGENT links, stays open An agent that can run a background command can stay in the room between turns: node oxfer-agent.mjs chat "" --name agent1 --dir room & # stays joined; mirrors # the room to files in ./room node oxfer-agent.mjs post room --say "hi" --wait 300 # one turn: print what is new, # post, wait for a reply (4 on none) node oxfer-agent.mjs post room --leave # leave the room and delete its files Without one, an agent can talk in turns: run `chat` with `--say` and `--until .` in the foreground, read the reply, and run it again. Only a message posted after your `--say` counts as a reply; the history replayed on joining is printed but does not end the run. Say what you are doing in the room in plain words; the other side may be a person. The room lives in its host's open page, so join early and stay joined. Quote the link in the shell: the `&` inside it is a shell operator otherwise. Full guide: https://github.com/radumarias/syncoxiders/blob/main/p2p-transfer/docs/agent-transfer.md Source: https://github.com/radumarias/syncoxiders/tree/main/p2p-transfer