Skip to content

stratosnet/FileDrop

Repository files navigation

FileDrop

FileDrop is a privacy-focused file-sharing application built on the Stratos Network. Leveraging Stratos Network's core features, FileDrop ensures user privacy and data security with the following characteristics:

Key Features

  • No KYC: No identity verification required
  • No Censorship: Freedom to share without restrictions
  • Fully Anonymous: Protects user identity at all times
  • Secure Encryption: Keeps your data safe and confidential
  • Fully Decentralized: Operates on a decentralized network with over 1,000 nodes distributed globally, ensuring resilience and no single point of control

Getting Started

If you're interested in building your own FileDrop application, follow these simple steps:

  1. Contact the Stratos Team: Reach out to the Stratos team at [email protected] to request an access token
  2. Configure the Token: Once you receive the access token, integrate it into your project configuration
  3. Start Building: Use the Stratos Network infrastructure to create your secure, anonymous file-sharing solution

For more details about Stratos Network, visit their official site: thestratos.org

A secure file sharing application built with React, Express, and TypeScript.

Prerequisites

  • Node.js (Latest LTS version recommended)
  • Yarn package manager

Installation

  1. Clone the repository:
git clone https://github.com/stratosnet/FileDrop.git
cd FileDrop
  1. Install dependencies:
yarn install

Development

Run the development server:

yarn dev

This will start the backend server using tsx.

For frontend development, the Vite development server will be available at http://localhost:5173

Building for Production

Build the application:

yarn build

This command will:

  • Build the frontend using Vite
  • Bundle the backend using esbuild

Production Deployment

Start the production server:

yarn start

Available Scripts

  • yarn dev - Start development server
  • yarn build - Build for production
  • yarn start - Start production server
  • yarn check - Run TypeScript type checking
  • yarn db:push - Update database schema using Drizzle

Tech Stack

  • Frontend:

    • React
    • TypeScript
    • Vite
    • Tailwind CSS
    • Radix UI Components
    • React Query
  • Backend:

    • Express
    • TypeScript
    • Multer (File uploads)
    • Drizzle ORM

File Size Limits

  • Maximum file size: 100MB

Environment Variables

Create a .env file in the root directory:

NODE_ENV=development
PORT=5000

License

MIT

Support

For support, please visit Stratos Network