Git Product home page Git Product logo

qclipboard's Introduction

q-clipboard-server

Q Clipboard Server是一个跨平台的剪切板同步方案。

使用之前你需要一个服务器来部署服务。

服务器端

docker部署

推荐使用docker来部署,docker-compose.yaml如下:

version: '3'

services:
  q-clipboard-server:
    image: patrickwangqy/q-clipboard-server
    restart: unless-stopped
    volumes:
      - ./config:/app/config
    ports:
      - "5000:5000"

编译部署

  1. 安装.net 6.0

    https://dotnet.microsoft.com/en-us/download/dotnet/6.0

  2. 执行编译命令

dotnet publish -c Release

程序会生成在bin/Release/net6.0

  1. 运行程序

客户端

本着不重复造轮子的**,所有的客户端均使用已存在的app

Windows

windows端使用powershell脚本来实现剪切板同步

Windows客户端

快捷键可以通过建立开始菜单的快捷方式来设置

开始菜单的路径为

C:\ProgramData\Microsoft\Windows\Start Menu\Programs

Android

Android端使用http-shortcuts

  1. 增加4个变量

    QClipboardUrl:类型常量,值为服务端地址,例如http://192.168.1.1/Clipboard

    QClipboardUser:类型常量,值为用户名

    QClipboardToken:类型常量,token值要与服务端配置一致

    QClipboardText:类型为剪切板内容

    Snipaste_2022-08-06_12-11-44

  2. 导入配置

    配置

iOS

iOS端使用快捷指令

获取剪切板

推送剪切板

推送图像

推送文件

功能列表

  • 文本推送、拉取
  • 图像推送、拉取
  • 文件推送、拉取
  • 剪切板历史

qclipboard's People

Stargazers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.