# github_search **Repository Path**: duan_pj/github_search ## Basic Information - **Project Name**: github_search - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2024-10-14 - **Last Updated**: 2024-10-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # github_search #### 介绍 调用github搜索api,每天搜索当天push的仓库(该搜索api每次最多搜索1000条数据) 将搜索到的github仓库下载 下载到crystal 的 /srv/git/upstream/github.com 目录下 对于url: https://github.com/ ${org}/${repo} 目录结构: $org/$repo #### 具体内容 **git_search.py**:调用github搜索api,搜索push_time为当天,stars>10,forks>10的github仓库 **search.sh**:持续搜索仓库,调用git_search.py **download.sh**:下载搜索到的仓库到指定目录 **start_download.sh**:持续下载 **get_data.sh**:统计已成功下载的仓库 **repo_data**:统计好的数据 #### 已有数据 **repo_data** 中的仓库是已经下载成功的 目前数量 7869 #### 待改进 1. 需自动统计是否下载成功 2. github连接不上,经常克隆失败,不清楚怎么解决