Skip to content

harveycoombs/share

Repository files navigation

Share · share.surf

Share is an easy-to-use file sharing service.

Purpose

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.

Setup

If you wish to run Share yourself, follow the instructions below.

1. Create a .env file in the root of the repository

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=

2. Install Dependencies

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

3. Run Share

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

About

An easy-to-use file sharing platform.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages