The Universal Clipboard Sync Tool.
Seamlessly sync your clipboard across every device you own — phone, laptop, desktop, and browser.
Website
·
Report Bug
·
Request Feature
- Real-time Sync — Instant clipboard synchronization across all connected devices.
- End-to-End Encryption — All clipboard data is encrypted before leaving your device.
- Cross-Platform — Native apps for iOS, Android, macOS, Windows, Linux, and a Web dashboard.
- Share Intent Support — Share content directly from other apps on mobile.
- Lightweight & Fast — Minimal resource footprint with maximum performance.
This is a pnpm monorepo orchestrated by Turborepo.
ViClip-Monorepo/
├── apps/
│ ├── web/ → Next.js 16 — Marketing site & web dashboard
│ ├── desktop/ → Electron 41 (electron-vite) — macOS, Windows & Linux
│ └── mobile/ → Expo 55 (React Native) — iOS & Android
├── packages/
│ ├── constants/ → Shared business-logic constants & config
│ ├── types/ → Centralized TypeScript type definitions
│ ├── utils/ → Common utilities (crypto, formatting, etc.)
│ └── tsconfig/ → Shared TypeScript compiler configurations
├── turbo.json → Turborepo pipeline configuration
├── biome.json → Biome linter & formatter config
└── pnpm-workspace.yaml
| Layer | Technology |
|---|---|
| Web | Next.js 16, React 19, Tailwind CSS 4, Framer Motion |
| Desktop | Electron 41, electron-vite, React 19, Tailwind CSS 4, Zustand |
| Mobile | Expo 55, React Native 0.83, NativeWind 4, Reanimated |
| Backend / Infra | Firebase (Auth, Realtime Database, Storage) |
| Monorepo | Turborepo, pnpm 10, Biome (lint + format) |
| Language | TypeScript 6 (strict mode) |
| Quality Gates | Husky pre-commit hooks, Commitlint (Conventional Commits) |
| Tool | Version |
|---|---|
| Node.js | ≥ 22 |
| pnpm | ≥ 10 |
-
Clone the repository:
git clone https://github.com/vaaibhavmishra/viclip.git cd ViClip-Monorepo -
Install dependencies:
pnpm install
-
Set up environment variables:
Create a
.envfile in the project root with the following keys:# Desktop (Electron-Vite — MAIN_VITE_ prefix required) MAIN_VITE_FIREBASE_API_KEY= MAIN_VITE_FIREBASE_AUTH_DOMAIN= MAIN_VITE_FIREBASE_DATABASE_URL= MAIN_VITE_FIREBASE_PROJECT_ID= MAIN_VITE_FIREBASE_STORAGE_BUCKET= MAIN_VITE_FIREBASE_MESSAGING_SENDER_ID= MAIN_VITE_FIREBASE_APP_ID= MAIN_VITE_FIREBASE_MEASUREMENT_ID= MAIN_VITE_ENCRYPTION_KEY= # Mobile (Expo) REVERSED_CLIENT_ID=
Note: The mobile app also requires
google-services.json(Android) andGoogleService-Info.plist(iOS) inapps/mobile/for Firebase to work.
# Start all apps simultaneously
pnpm dev
# Or run a specific platform
pnpm dev:web # → http://localhost:3000
pnpm dev:desktop # → Opens Electron window
pnpm dev:mobile # → Starts Expo dev server# Build everything
pnpm build
# Platform-specific builds
pnpm build:web # Next.js production build
pnpm build:desktop:mac # Electron → macOS (.dmg)
pnpm build:desktop:win # Electron → Windows (.exe)
pnpm build:desktop:linux # Electron → Linux (.AppImage)
pnpm build:mobile:android # Expo → Android
pnpm build:mobile:android:local # Expo → Android (local APK)
pnpm build:mobile:ios # Expo → iOSOnce a desktop release is published, install ViClip with:
brew tap vaaibhavmishra/viclip https://github.com/vaaibhavmishra/viclip.git
brew install --cask vaaibhavmishra/viclip/viclipQuit ViClip before upgrading, then run brew update followed by
brew upgrade --cask vaaibhavmishra/viclip/viclip.
See desktop release setup for GitHub Actions
configuration, publishing, and update behavior.
| Script | Description |
|---|---|
pnpm dev |
Start all dev servers in parallel |
pnpm build |
Production build for all apps |
pnpm typecheck |
Run TypeScript type-checking across the monorepo |
pnpm check |
Lint & format all files with Biome (auto-fix) |
pnpm clean |
Remove all build artifacts, caches, and node_modules |
Contributions are welcome! Here's how to get started:
-
Fork the repository
-
Create a feature branch:
git checkout -b feature/amazing-feature
-
Commit your changes using Conventional Commits:
git commit -m "feat: add amazing feature" -
Push to your branch:
git push origin feature/amazing-feature
-
Open a Pull Request
This project enforces Conventional Commits via Commitlint. All commit messages must follow the format:
type(scope?): description
Common types: feat, fix, docs, style, refactor, perf, test, build, ci, chore.
The following checks run automatically on every commit:
| Hook | What it does |
|---|---|
| pre-commit | Runs Biome lint/format → TypeScript typecheck → Full build |
| commit-msg | Validates commit message against Conventional Commits |
Distributed under the GPL-3.0 License. See LICENSE for more information.