You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Go to file
ChinhLee 6aae3d4860 docs: incomplete sentence in readme configuration section
The description for the `COTURN_ENABLED` environment variable is cut off mid-sentence ("connecting peers behi"). This leaves users without complete information on what the variable does or why they might need it.

Affected files: README.md

Signed-off-by: ChinhLee <76194645+chinhkrb113@users.noreply.github.com>
2 months ago
.claude Add e2e file transfer test with playwright (#289) 10 months ago
.github/workflows Add comprehensive component tests (#279) 10 months ago
bin FilePizza v2 🍕 (#134) 1 year ago
docs docs: document file transfer protocol (#301) 9 months ago
public FilePizza v2 🍕 (#134) 1 year ago
scripts Add git pull 1 year ago
src Fix WebRTCProvider inizialization (#328) 5 months ago
tests feat(upload): allow adding more files before starting (#293) 10 months ago
.cursorrules FilePizza v2 🍕 (#134) 1 year ago
.dockerignore Add coturn support 1 year ago
.gitignore Add coturn support 1 year ago
.prettierrc.js FilePizza v2 🍕 (#134) 1 year ago
CLAUDE.md Add e2e file transfer test with playwright (#289) 10 months ago
Dockerfile chore(docker): optimize image size using Next.js standalone output (#194) 1 year ago
LICENSE Load fonts locally & not from Google (#51) 10 years ago
README.md docs: incomplete sentence in readme configuration section 2 months ago
docker-compose.production.yml Update dependency web-streams-polyfill to v4 (#176) 1 year ago
docker-compose.yml Add coturn support 1 year ago
eslint.config.mjs FilePizza v2 🍕 (#134) 1 year ago
next-env.d.ts FilePizza v2 🍕 (#134) 1 year ago
next.config.js chore(docker): optimize image size using Next.js standalone output (#194) 1 year ago
package.json Update Next.js to 15.5.11 (#345) 3 months ago
playwright.config.ts Add e2e file transfer test with playwright (#289) 10 months ago
pnpm-lock.yaml Update Next.js to 15.5.11 (#345) 3 months ago
postcss.config.js chore: upgrade tailwind (#275) 10 months ago
renovate.json Add renovate.json (#164) 1 year ago
tsconfig.json Add comprehensive component tests (#279) 10 months ago
vitest.config.ts Add comprehensive component tests (#279) 10 months ago
vitest.setup.ts Add comprehensive component tests (#279) 10 months ago

README.md

FilePizza

Peer-to-peer file transfers in your browser

Using WebRTC, FilePizza eliminates the need for intermediate servers when transferring files between two browsers. This makes the transfer faster, private, and no longer limited by server storage/bandwidth constraints.

Usage

Visit file.pizza to use the hosted version.

Running locally

pnpm install
pnpm dev

Environment variables

  • REDIS_URL Redis connection URL (defaults to redis://localhost:6379)
  • PEERJS_HOST PeerJS server hostname
  • PEERJS_PORT PeerJS server port
  • PEERJS_PATH PeerJS server path
  • COTURN_ENABLED When set to true, enables TURN support for connecting peers behind restrictive NATs.
  • COTURN_URL TURN server URL
  • COTURN_SECRET TURN server shared secret
  • COTURN_TTL TURN credential TTL in seconds

Docker

docker-compose up

License

Copyright (c) 2024 kern. MIT License.