Welcome to ShareVia – the ultimate real-time file and code sharing platform! 🚀
With ShareVia, you can instantly share files and collaborate on code with your peers using secure peer-to-peer technology. No sign-ups, no hassle – just seamless collaboration.
- Real-Time Collaboration: Share files and edit code together in real-time.
- Peer-to-Peer Sharing: Your data stays private and never touches a server.
- No Sign-Up Required: Jump straight into collaboration without creating an account.
- Custom & Random Rooms: Create a room with a custom name or let us generate one for you.
- Secure Sharing: Built with WebRTC for secure and direct connections.
- Cross-Platform: Works on any device with a modern browser.
-
Clone the repository:
git clone https://github.com/krchx/sharevia.git cd sharevia -
Install dependencies:
npm install
-
Set up Firebase:
- Create a Firebase project at Firebase Console.
- Go to Project Settings and find your Firebase configuration.
- Create a
.env.localfile in the root of the project and add the following variables:FIREBASE_API_KEY=your-firebase-api-key NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=your-firebase-auth-domain NEXT_PUBLIC_FIREBASE_PROJECT_ID=your-firebase-project-id NEXT_PUBLIC_FIREBASE_DATABASE_URL=your-firebase-database-url NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=your-firebase-storage-bucket NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=your-firebase-messaging-sender-id FIREBASE_APP_ID=your-firebase-app-id NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID=your-firebase-measurement-id
- Replace the placeholders (
your-firebase-*) with the actual values from your Firebase project. - Important: To set up the
NEXT_PUBLIC_FIREBASE_DATABASE_URL, create a Firebase Realtime Database in your Firebase project:- Navigate to the Realtime Database section in the Firebase Console.
- Click Create Database and follow the prompts to set it up.
- Copy the database URL and use it as the value for
NEXT_PUBLIC_FIREBASE_DATABASE_URL.
-
Start the development server:
npm run dev
-
Open your browser and navigate to
http://localhost:3000.
This project is licensed under the Apache License 2.0.
Feel free to use, modify, and distribute it as per the terms of the license.
For more details, check the LICENSE file.
We welcome contributions from the community! ❤️
Here’s how you can get involved:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Commit your changes and push them to your fork.
- Submit a pull request, and we’ll review it as soon as possible.
If you find ShareVia helpful, please give us a ⭐ on GitHub!
Your support helps us grow and improve this project for everyone.
Thank you for being a part of the ShareVia community! Together, we can make collaboration effortless and enjoyable. 🌍