Share · share.surf
Share is an easy-to-use file sharing service.
Share exists to provide short-term file sharing, with a clutter-free experience. Although new features are introduced on a regular basis, Share continues to be fast and easy to use.
If you wish to run Share yourself, follow the instructions below.
Follow the structure provided below, with your own credentials.
SUPABASE_URL=
SUPABASE_KEY=
JWT_SECRET=
RESEND_API_KEY=
NEXT_PUBLIC_HCAPTCHA_SITE_KEY=
HCAPTCHA_SECRET_KEY=
R2_BUCKET=
R2_ENDPOINT=
R2_ACCESS_KEY_ID=
R2_SECRET_ACCESS_KEY=
DISCORD_CLIENT_ID=
DISCORD_CLIENT_SECRET=
Run one of the following commands in the terminal to install all necessary dependencies:
pnpm i or pnpm install
Note: Make sure you have pnpm installed before installing dependencies. You can install pnpm globally by running:
npm install -g pnpm
To run Share in development mode, run the following command:
pnpm run dev
To build and deploy Share, run the following commands (in order):
pnpm run build and pnpm run start
Note: By default, Share in development mode is accessible via port 3000, while Share when deployed is accessible via port 3001.
Thank you for using Share! - Harvey Coombs