https://github.com/rshdhere/copy-paste.space
stop logging-in mail/whatsapp on random PC's just share & cheat in your labs using copy-paste.space
https://github.com/rshdhere/copy-paste.space
copy-paste live-share open-source otp-verification sharing-platform
Last synced: 14 days ago
JSON representation
stop logging-in mail/whatsapp on random PC's just share & cheat in your labs using copy-paste.space
- Host: GitHub
- URL: https://github.com/rshdhere/copy-paste.space
- Owner: rshdhere
- License: mit
- Archived: true
- Created: 2025-07-20T12:18:21.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2026-02-12T17:26:02.000Z (5 months ago)
- Last Synced: 2026-06-15T05:35:32.024Z (14 days ago)
- Topics: copy-paste, live-share, open-source, otp-verification, sharing-platform
- Language: TypeScript
- Homepage: https://copy-paste.space
- Size: 45.9 MB
- Stars: 28
- Watchers: 0
- Forks: 9
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# copy-paste.space
Easily share text snippets and images between your phone, tablet, and computer instantly, without cables or complicated setup.

## π Introduction
**copy-paste.space** is a minimal web tool built with **TypeScript**, **Node.js**, and a lightweight frontend for instant **cross-device text sharing** β no sign-ups or logins required. Switch between devices or share notes quickly with a secure, rate-limited backend, deployed on **Railway** for privacy-focused use.
---
## β¨ Features
- π± **copy-paste.space support** β Works on mobile, tablet, and desktop
- β‘ **Instant transfer** β Send and receive within seconds
- π **Secure** β End-to-end encryption for privacy
- π **No login required** β Just open the app and start sharing
- πΌ **Image & text support** β Share notes, messages, or pictures effortlessly
---
## πΈ How It Works
- Visit https://copy-paste.space on both devices.
- Paste your text or upload an image.
- Instantly access the content from your other device.
---
## π Tech Stack
### π¨ Frontend
- React with TypeScript
- react-router-dom
### π οΈ Backend
- Node.js
- TypeScript
- Express.js (assumed based on structure and middleware usage)
- dotenv for environment variable management
### βοΈ DevOps & Deployment
- Vercel (for frontend hosting and CI/CD)
- Railway (for backend infrastructure and environment management)
- Other Tools: dotenv, rate-limiting middleware, tsconfig, REST API
---
## π¦ Installation
To set up and run the project on your local machine:
### Prerequisites
- **Node.js** (version 18 or higher)
- **npm** or **yarn**
- **Git**
- **MongoDB** (for local development)
### 1οΈβ£ Fork and Clone
1. Fork the repository on GitHub
2. Clone your fork locally:
```bash
git clone https://github.com/YOUR_USERNAME/copy-paste.space.git
cd copy-paste.space
```
3. Add the original repository as upstream:
```bash
git remote add upstream https://github.com/rshdhere/copy-paste.space.git
```
### 2οΈβ£ Backend Setup
1. Navigate to the backend directory:
```bash
cd backend
```
2. Install dependencies:
```bash
npm install
```
3. Create environment variables:
```bash
cp .env.example .env
```
Configure the following variables in your `.env` file:
```
PORT=8080
NODE_ENV=development
AWS_REGION=ap-south-1
S3_BUCKET_NAME=
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
FRONTEND_ORIGIN=http://localhost:5173
MONGODB_URI=mongodb://localhost:27017/
OPTIONS=ABC123
```
4. Start the development server:
```bash
npm run dev
```
The backend will be available at `http://localhost:8080`
### 3οΈβ£ Frontend Setup
1. Navigate to the frontend directory:
```bash
cd frontend
```
2. Install dependencies:
```bash
npm install
```
3. Create environment variables:
```bash
cp .env.example .env
```
Configure the following variables in your `.env` file:
```
VITE_POSTHOG_API_KEY=
VITE_POSTHOG_SECURE_PATH=
VITE_PUBLIC_POSTHOG_HOST=https://us.i.posthog.com
VITE_BACKEND_URI=http://localhost:8086
```
4. Start the development server:
```bash
npm run dev
```
The frontend will be available at `http://localhost:5173`
### 4οΈβ£ Running Both Services
You can run both services simultaneously by opening two terminal windows:
**Terminal 1 (Backend):**
```bash
cd backend
npm run dev
```
**Terminal 2 (Frontend):**
```bash
cd frontend
npm run dev
```
---
## Image Sharing Overview V1.5

---
## π€Contributions
Contributors are welcome!
See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.