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.
- Share files up to 100MB in size.
- Compatible with over 50 file formats.
- Send files directly via email using NodeMailer.
- Instant notifications to recipients with a download link.
- Files are automatically deleted after 24 hours.
- Reduces storage costs by up to 30%.
- Ensures secure file transfer and storage.
- Protects user data and file integrity.
- Simple and intuitive design using EJS templates.
- Seamless experience for users across devices.
- Node.js (v14+)
- npm or yarn
- MongoDB (for backend database storage)
-
Clone the repository:
git clone https://github.com/avnishkt/sharefree.git cd sharefree
-
Install dependencies:
npm install
-
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
-
Start the server:
npm start
-
Open the application in your browser:
http://localhost:3000
- Navigate to the homepage.
- Upload a file you want to share.
- Share the generated link or send the file directly via email.
- Files will expire and be deleted automatically after 24 hours.
- EJS (Embedded JavaScript Templates)
- HTML, CSS
- Node.js
- Express.js
- MongoDB
- NodeMailer
- Docker (Optional)
- Cloud Services (e.g., AWS, Heroku, or Vercel)
We welcome contributions! Follow these steps to get started:
- Fork the repository.
- Create a new branch:
git checkout -b feature-name
- Commit your changes:
git commit -m "Added a new feature"
- Push to the branch:
git push origin feature-name
- Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
For any inquiries or issues, please contact:
Avnish Tiwari
GitHub
https://github.com/user-attachments/assets/f2c29560-6374-48d4-89de-089b6271b44f