Self-hosted phone-to-desktop clipboard bridge.
POST /v1/clips(push text clip)GET /v1/clips/latest(fetch newest clip)- Token auth, in-memory storage, payload limit
server/tiny API backendraycast-extension/fetch and copy latest clip on macOSandroid/Tasker share action that posts clips
This setup assumes you already have a deployed Rayclip server somewhere, configured with CLIP_TOKEN.
Requires the Raycast desktop app on macOS and Node.js 20+.
cd raycast-extension
npm install
npm run devIn Raycast developer mode, set these extension preferences:
serverUrl: your deployed Rayclip server URLtoken: theCLIP_TOKENconfigured on the serverhistoryLimit: optional, default50showNotifications: optional
Configure your Android Tasker/share action ("Received Share") to POST to:
<your-server-url>/v1/clips
with header:
Authorization: Bearer <CLIP_TOKEN>
and JSON body:
{
"deviceId": "your-phone",
"type": "text",
"content": "%rs_text",
"ts": %TIMES
}(The JSON body example above uses Tasker-specific variables. Outside Tasker, send the shared text as content and the Unix timestamp in seconds as ts.)