Quick file sharing for Claude Code Web.
- Drag & drop file upload (max 150MB)
- Shareable links with 24-char hash
- Optional IP-based access control
Use the hosted service at zapfile.dev:
curl https://zapfile.dev/api/upload -F file=@yourfile.pdfResponse includes a shareUrl you can use to download the file.
curl -O https://zapfile.dev/api/download/{hash}Or visit the share link in a browser.
# Frontend
cd frontend
npm install
npm run dev # http://localhost:3000
# Backend
cd backend
npm install
npm run dev # http://localhost:8000cd frontend
cp .env.example .env.localEdit .env.local:
NEXT_PUBLIC_BACKEND_URL=http://localhost:8000 # Devcd backend
cp .env.example .envEdit .env:
PORT=8000
ALLOW_ALL_IPS=true # Set to false to enable IP whitelistingOptional: Enable IP whitelisting by setting ALLOW_ALL_IPS=false and configure IP ranges in backend/src/config.ts:
export const ALLOWED_IP_RANGES = [
"192.168.1.0/24", // Example: Your network
];MIT