5 Star 6 Fork 2

oclip / oclip-server-lite

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

oclip-server-lite

oclip server 轻量版本,不依赖数据库且支持多用户

运行服务端

git clone https://github.com/oclip/oclip-server-lite.git
cd oclip-server-lite
docker-compose up -d --build

新增用户

docker exec oclip-lite oclipctrl --add username

删除用户

docker exec oclip-lite oclipctrl --del username

查看所有用户

docker exec oclip-lite oclipctrl --list

查看运行日志

docker-compose logs -f

默认端口为 2601 , 如果需要修改外网端口,在 docker-compose.yml 中修改。

配置客户端

客户端下载地址 https://github.com/oclip/oclip-client/releases

Linux 为 ~/.oclip , Windows 使用菜单 Open Config 编辑

domain=ws://192.168.0.2:2601/server
token=93ee8c86-b883-46f2-ad22-2c270376bd07
passwd=123456

其中 domain 改为自己的服务器IP和端口, token 在添加用户时会输出,也可以用 --list 命令查看, passwd 为客户端设置的加密密码。

MIT License Copyright (c) 2019 Open Clipboard Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

基于 Openresty 无需数据库支持多用户的远程粘贴板 展开 收起
Lua 等 2 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Lua
1
https://gitee.com/oclip/oclip-server-lite.git
git@gitee.com:oclip/oclip-server-lite.git
oclip
oclip-server-lite
oclip-server-lite
master

搜索帮助