Skip to content

ShareFree is a file-sharing application designed to simplify the process of sharing files securely and efficiently. It supports various file formats, integrates email-based sharing, and includes automated file cleanup to optimize storage usage.

Notifications You must be signed in to change notification settings

avnishkt/Sharefree

Repository files navigation

ShareFree

ShareFree is a file-sharing application designed to simplify the process of sharing files securely and efficiently. It supports various file formats, integrates email-based sharing, and includes automated file cleanup to optimize storage usage.

Features

📂 File Sharing

  • Share files up to 100MB in size.
  • Compatible with over 50 file formats.

📧 Email Sharing

  • Send files directly via email using NodeMailer.
  • Instant notifications to recipients with a download link.

⏳ Automated Cleanup

  • Files are automatically deleted after 24 hours.
  • Reduces storage costs by up to 30%.

🔒 Secure Transfers

  • Ensures secure file transfer and storage.
  • Protects user data and file integrity.

🖥️ User-Friendly Interface

  • Simple and intuitive design using EJS templates.
  • Seamless experience for users across devices.

Installation

Prerequisites

  • Node.js (v14+)
  • npm or yarn
  • MongoDB (for backend database storage)

Steps

  1. Clone the repository:

    git clone https://github.com/avnishkt/sharefree.git
    cd sharefree
  2. Install dependencies:

    npm install
  3. Set up environment variables: Create a .env file in the root directory with the following:

    PORT=3000
    MONGO_URI=your_mongodb_connection_string
    EMAIL_USER=[email protected]
    EMAIL_PASS=your_email_password
  4. Start the server:

    npm start
  5. Open the application in your browser:

    http://localhost:3000
    

Usage

  1. Navigate to the homepage.
  2. Upload a file you want to share.
  3. Share the generated link or send the file directly via email.
  4. Files will expire and be deleted automatically after 24 hours.

Technologies Used

Frontend:

  • EJS (Embedded JavaScript Templates)
  • HTML, CSS

Backend:

  • Node.js
  • Express.js
  • MongoDB
  • NodeMailer

Deployment:

  • Docker (Optional)
  • Cloud Services (e.g., AWS, Heroku, or Vercel)

Contributing

We welcome contributions! Follow these steps to get started:

  1. Fork the repository.
  2. Create a new branch:
    git checkout -b feature-name
  3. Commit your changes:
    git commit -m "Added a new feature"
  4. Push to the branch:
    git push origin feature-name
  5. Open a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For any inquiries or issues, please contact:

Avnish Tiwari
GitHub
https://github.com/user-attachments/assets/f2c29560-6374-48d4-89de-089b6271b44f

Screenshot 2025-01-24 005405 Screenshot 2025-01-24 005336 Screenshot 2025-01-24 005314 Screenshot 2025-01-24 005301

About

ShareFree is a file-sharing application designed to simplify the process of sharing files securely and efficiently. It supports various file formats, integrates email-based sharing, and includes automated file cleanup to optimize storage usage.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published