Metadata-Version: 2.4
Name: checkpaste
Version: 0.1.7
Summary: A cross-platform tool to sync text and files between devices on the same local network.
Project-URL: Homepage, https://github.com/mithunbarath/checkpaste
Author-email: Mithun Barath M R <barathmithun1548@gmail.com>
License-File: LICENSE
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.8
Requires-Dist: fastapi>=0.68.0
Requires-Dist: pyngrok>=5.0.0
Requires-Dist: pyperclip>=1.8.0
Requires-Dist: python-multipart>=0.0.5
Requires-Dist: requests>=2.26.0
Requires-Dist: rich>=10.0.0
Requires-Dist: typer>=0.4.0
Requires-Dist: uvicorn>=0.15.0
Requires-Dist: zeroconf>=0.36.0
Description-Content-Type: text/markdown

# checkpaste

**checkpaste** is a lightweight, cross-platform Python CLI tool that allows you to copy text or files on one device and paste/download them on another device within the same local network.

## Features
- **Sync Clipboard**: Copy text on one machine, paste on another.
- **Send Files**: Easily transfer files between devices.
- **Cross-Platform**: Works on Windows, macOS, Linux, and Raspberry Pi.
- **Local Network**: Fast and secure transfer over LAN.

## Installation

```bash
pip install checkpaste
```

## Usage

### 1. Start Server (Host)
On your main computer:
```bash
checkpaste serve --name "MyPC" --password "secret123"
```

### 2. Connect (Client)
On your other devices (Phone, Laptop, Raspberry Pi):
```bash
checkpaste join "MyPC" --password "secret123"
```
*(This finds the server automatically and saves the connection)*

### 3. Universal Clipboard (Sync)
To sync clipboards in real-time (copy here -> paste there):
```bash
checkpaste sync
```
*(Keep this running in the background)*

### 4. Manual Transfer
Once joined, you can also send/get files manually without typing IPs:
```bash
checkpaste copy "Hello World"
checkpaste paste
checkpaste send-file photo.jpg
checkpaste get-file photo.jpg
checkpaste list-files
```

### 5. Disconnect
```bash
checkpaste logout
```
