# LinkCooperation **Repository Path**: phantom27/link-cooperation ## Basic Information - **Project Name**: LinkCooperation - **Description**: 这是一个基于远程git仓库用于多人协作分享超链接、脚本的工具 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2021-06-24 - **Last Updated**: 2025-01-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # LinkCooperation ## 依赖 - OpenSSL - pkg-config - zlib - libssh2 >= 1.9.0 - libgit2 >= v1.1.0 - Qt5 - cmake >= 3.1.0 - Visual Studio 2017(Windows) - Xcode(Mac) ## Mac平台安装依赖 note: Qt5去官网下载 https://download.qt.io/archive/qt/ ``` brew install openssl brew install zlib brew install libssh2 brew install cmake ``` ## 编译方法 ```bash # 下载子模块(rapidjson) git submodule update --init --recursive # 在build目录下构建避免污染项目环境 mkdir build && cd build # Windows环境generate cmake -DQt5_DIR=F:\Qt\Qt5.11.3\5.11.3\msvc2017_64\lib\cmake\Qt5 -G "Visual Studio 15 2017 Win64" .. # Mac环境generate cmake -DQt5_DIR=/Users/huyingdan/Qt5.12.0/5.12.0/clang_64/lib/cmake/Qt5 -G "Xcode" -D CMAKE_CXX_COMPILER=/use/bin/clang++ .. # 构建Release版 cmake --build . --config Release ### note: 1. Qt5_DIR和构建工具根据实际情况进行调整 2. 项目依赖的rapidjson和libgit2都需要从github上下回来,请确保能够跟github正常连接,不然可能会卡在clone进度上 ### ``` ## 使用注意事项 - 尽量使用PEM格式的证书 ```bash ssh-keygen -m PEM ...... ``` - 目前只是个半成品,每次更新仓库需要重新下载 - 请求的仓库URL协议要用SSH协议,也就是git://......这种格式的 ## 后续开发 - 完善push和pull功能,加入手动添加item - 加入脚本定制