{"id":49508980,"url":"https://github.com/deepanik/eshare","last_synced_at":"2026-05-01T18:04:24.421Z","repository":{"id":326340006,"uuid":"951056641","full_name":"deepanik/eshare","owner":"deepanik","description":"eShare - Secure Decentralized File Sharing Platform","archived":false,"fork":false,"pushed_at":"2025-11-27T04:52:50.000Z","size":716,"stargazers_count":0,"open_issues_count":5,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-30T00:53:10.129Z","etag":null,"topics":["blockchain","ipfs","pinata","portfolio","react","share","tailwindcss","web3"],"latest_commit_sha":null,"homepage":"https://eshare-lake.vercel.app","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deepanik.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-19T05:16:30.000Z","updated_at":"2025-11-27T04:52:53.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/deepanik/eshare","commit_stats":null,"previous_names":["deepanik/eshare"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/deepanik/eshare","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepanik%2Feshare","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepanik%2Feshare/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepanik%2Feshare/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepanik%2Feshare/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deepanik","download_url":"https://codeload.github.com/deepanik/eshare/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepanik%2Feshare/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32507094,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blockchain","ipfs","pinata","portfolio","react","share","tailwindcss","web3"],"created_at":"2026-05-01T18:04:09.812Z","updated_at":"2026-05-01T18:04:24.413Z","avatar_url":"https://github.com/deepanik.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eShare - Secure Decentralized File Sharing Platform\n\nA modern, decentralized file sharing platform built with React, Socket.io, and Web3 technologies. eShare enables secure file uploads, encrypted storage on IPFS, real-time chat, and blockchain wallet integration.\n\n## 🌟 Features\n\n### Core Features\n- **Secure File Upload**: Upload files with optional end-to-end encryption\n- **IPFS Storage**: Decentralized storage using IPFS (Pinata) for high availability\n- **Real-time Chat**: Global chat functionality with Socket.io\n- **Online Users**: See who's online in real-time\n- **User Profiles**: Manage your profile with avatar support\n- **Wallet Integration**: Connect with MetaMask, Coinbase Wallet, or WalletConnect\n- **Encryption**: AES encryption for secure file sharing\n- **File Management**: Download, share, and delete files with access control\n\n### Additional Features\n- **Dark/Light Theme**: Toggle between themes\n- **Responsive Design**: Works on desktop and mobile devices\n- **Payment Integration**: Web3 payment support for premium features\n- **Settings Management**: Customize your experience\n- **Developer Tools**: Built-in developer utilities\n\n## 🛠️ Tech Stack\n\n### Frontend\n- **React 18** - UI framework\n- **Vite** - Build tool\n- **Material-UI (MUI)** - Component library\n- **React Router** - Routing\n- **Socket.io Client** - Real-time communication\n- **Web3.js** - Blockchain interactions\n- **WalletConnect** - Wallet connections\n- **Tailwind CSS** - Styling\n\n### Backend\n- **Node.js** - Runtime\n- **Express** - Web framework\n- **Socket.io** - WebSocket server\n- **Supabase** - Database and authentication\n- **CORS** - Cross-origin resource sharing\n\n### Storage \u0026 Services\n- **IPFS (Pinata)** - Decentralized file storage\n- **Supabase** - User authentication and database\n- **Arweave** - Permanent storage option\n- **Web3.Storage** - Additional storage option\n\n## 📋 Prerequisites\n\n- Node.js 18+ and npm\n- A Supabase account and project\n- A Pinata account for IPFS storage\n- A WalletConnect Cloud project (for wallet connections)\n- Git\n\n## 🚀 Getting Started\n\n### 1. Clone the Repository\n\n```bash\ngit clone https://github.com/yourusername/eshare.git\ncd eshare\n```\n\n### 2. Install Dependencies\n\n**Frontend:**\n```bash\nnpm install\n```\n\n**Backend:**\n```bash\ncd backend\nnpm install\ncd ..\n```\n\n### 3. Environment Variables\n\nCreate a `.env` file in the root directory:\n\n```env\n# Socket.io Backend URL\nVITE_SOCKET_URL=http://localhost:3002\n\n# Supabase Configuration\nVITE_SUPABASE_URL=your_supabase_url\nVITE_SUPABASE_ANON_KEY=your_supabase_anon_key\n\n# Pinata IPFS Configuration\nVITE_PINATA_API_KEY=your_pinata_api_key\nVITE_PINATA_SECRET_KEY=your_pinata_secret_key\n\n# WalletConnect Configuration\nVITE_WALLET_CONNECT_PROJECT_ID=your_walletconnect_project_id\n\n# App Configuration\nVITE_APP_NAME=eShare\nVITE_APP_VERSION=2.0.0\nVITE_APP_DESCRIPTION=Secure Decentralized File Sharing Platform\n\n# Development Configuration\nVITE_DEV_MODE=true\nVITE_DEBUG_MODE=false\n```\n\nCreate a `backend/.env` file:\n\n```env\n# Supabase Configuration\nSUPABASE_URL=your_supabase_url\nSUPABASE_SERVICE_KEY=your_supabase_service_key\n\n# Server Configuration\nFRONTEND_URL=http://localhost:5173\nPORT=3002\n```\n\n### 4. Set Up Supabase\n\n1. Create a Supabase project at [supabase.com](https://supabase.com)\n2. Create the following tables:\n   - `user_profiles` - User profile information\n   - `chat_messages` - Chat message history\n   - `files` - File metadata (if using Supabase for file tracking)\n\n### 5. Run the Application\n\n**Start the backend server:**\n```bash\ncd backend\nnpm start\n# or for development with auto-reload:\nnpm run dev\n```\n\n**Start the frontend (in a new terminal):**\n```bash\nnpm run dev\n```\n\nThe application will be available at:\n- Frontend: `http://localhost:5173`\n- Backend: `http://localhost:3002`\n\n## 📦 Deployment\n\n### Backend Deployment (Render)\n\n1. **Create a Web Service on Render:**\n   - Go to [Render Dashboard](https://dashboard.render.com)\n   - Click \"New +\" → \"Web Service\"\n   - Connect your GitHub repository\n\n2. **Configure the service:**\n   - **Name:** `eshare-backend`\n   - **Root Directory:** `backend`\n   - **Environment:** `Node`\n   - **Build Command:** `npm install`\n   - **Start Command:** `npm start`\n\n3. **Set Environment Variables:**\n   - `NODE_ENV` = `production`\n   - `SUPABASE_URL` = Your Supabase URL\n   - `SUPABASE_SERVICE_KEY` = Your Supabase service key\n   - `FRONTEND_URL` = Your frontend URL (e.g., `https://your-app.vercel.app`)\n\n4. **Deploy:**\n   - Render will automatically build and deploy\n   - Copy the service URL (e.g., `https://eshare-backend.onrender.com`)\n\n### Frontend Deployment (Vercel)\n\n1. **Connect to Vercel:**\n   - Go to [Vercel Dashboard](https://vercel.com)\n   - Import your GitHub repository\n\n2. **Configure Environment Variables:**\n   - Add all `VITE_*` variables from your `.env` file\n   - Update `VITE_SOCKET_URL` to your Render backend URL\n\n3. **Deploy:**\n   - Vercel will automatically detect Vite and deploy\n   - Your app will be available at `https://your-app.vercel.app`\n\n### WalletConnect Setup\n\n1. Go to [WalletConnect Cloud](https://cloud.walletconnect.com/)\n2. Add your production domain to allowed domains:\n   - `your-app.vercel.app`\n   - `localhost:5173` (for development)\n\n## 📁 Project Structure\n\n```\neshare/\n├── backend/              # Backend server\n│   ├── socketchat.js     # Socket.io server\n│   ├── package.json\n│   └── render.yaml       # Render deployment config\n├── src/\n│   ├── components/       # React components\n│   │   ├── auth/         # Authentication components\n│   │   ├── files/        # File management components\n│   │   ├── Globalchat/   # Chat components\n│   │   ├── profile/      # User profile components\n│   │   └── wallet/       # Wallet connection components\n│   ├── services/         # Business logic services\n│   │   ├── auth/         # Authentication service\n│   │   ├── files/        # File service\n│   │   ├── socket/       # Socket.io service\n│   │   └── wallet/      # Wallet service\n│   ├── App.jsx           # Main app component\n│   └── main.jsx          # Entry point\n├── public/                # Static assets\n├── .env.example          # Environment variables template\n├── vercel.json           # Vercel deployment config\n└── package.json          # Frontend dependencies\n```\n\n## 🔌 API Endpoints\n\n### Backend API\n\n- `GET /health` - Health check endpoint\n- `GET /api/online-users` - Get list of online users\n- `GET /api/messages` - Get chat message history\n- `DELETE /api/messages` - Delete all messages (admin only)\n\n### Socket.io Events\n\n**Client → Server:**\n- `user:join` - User joins with their info\n- `message:send` - Send a chat message\n- `typing:start` - User starts typing\n- `typing:stop` - User stops typing\n- `messages:load-older` - Load older messages\n- `messages:delete` - Delete chat history (admin only)\n\n**Server → Client:**\n- `user:online` - New user came online\n- `user:offline` - User went offline\n- `users:list` - List of all online users\n- `message:new` - New chat message\n- `messages:history` - Chat message history\n- `messages:older` - Older messages loaded\n- `messages:deleted` - Messages were deleted\n- `typing:user` - User is typing\n- `typing:stop` - User stopped typing\n\n## 🔐 Security\n\n- **Encryption**: Files are encrypted using AES before upload\n- **CORS**: Configured to allow only trusted origins\n- **Authentication**: Supabase authentication for user management\n- **Environment Variables**: Sensitive data stored in environment variables\n\n## 🤝 Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\n## 📝 License\n\nThis project is licensed under the MIT License.\n\n## 👥 Authors\n\n- **Deepanik** - Initial work\n- **Prateek** - Contributions\n\n## 🙏 Acknowledgments\n\n- Credit to Kumud for inspiration\n- Material-UI for the component library\n- Supabase for authentication and database\n- Pinata for IPFS storage\n- WalletConnect for wallet integration\n\n## 📞 Support\n\nFor support, email your-email@example.com or open an issue in the repository.\n\n## 🔗 Links\n\n- [Live Demo](https://eshare-two.vercel.app)\n- [Backend API](https://eshare-backend.onrender.com)\n- [Documentation](./docs)\n\n---\n\nMade with ❤️ using React, Socket.io, and Web3 technologies\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepanik%2Feshare","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeepanik%2Feshare","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepanik%2Feshare/lists"}