{"id":24579869,"url":"https://github.com/bigbluebaby/githubstarmover","last_synced_at":"2026-02-08T16:02:51.535Z","repository":{"id":262746961,"uuid":"888225340","full_name":"BigBlueBaby/GitHubStarMover","owner":"BigBlueBaby","description":"GitHubStarMover 是一款用于将一个 GitHub 账户中的 Star 仓库迁移到另一个 GitHub 账户的 Python 工具。GitHubStarMover is a Python tool for migrating Star repositories from one GitHub account to another. ","archived":false,"fork":false,"pushed_at":"2024-11-14T03:34:04.000Z","size":9,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-17T01:04:18.221Z","etag":null,"topics":["github","python","star"],"latest_commit_sha":null,"homepage":"https://github.com/CrazyCodingConclave/GitHubStarMover","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BigBlueBaby.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-14T02:57:46.000Z","updated_at":"2024-12-25T07:25:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"ef648979-56fa-4d7b-85a7-91cece847014","html_url":"https://github.com/BigBlueBaby/GitHubStarMover","commit_stats":null,"previous_names":["crazycodingconclave/githubstarmover","bigbluebaby/githubstarmover"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BigBlueBaby/GitHubStarMover","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BigBlueBaby%2FGitHubStarMover","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BigBlueBaby%2FGitHubStarMover/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BigBlueBaby%2FGitHubStarMover/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BigBlueBaby%2FGitHubStarMover/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BigBlueBaby","download_url":"https://codeload.github.com/BigBlueBaby/GitHubStarMover/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BigBlueBaby%2FGitHubStarMover/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267278631,"owners_count":24063252,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-26T02:00:08.937Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["github","python","star"],"created_at":"2025-01-24T01:02:34.759Z","updated_at":"2026-02-08T16:02:51.527Z","avatar_url":"https://github.com/BigBlueBaby.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHubStarMover\n\n**Read this in other languages: [English](README_EN.md), [中文](README.md).**\n\n\n**GitHubStarMover** 是一款用于将一个 GitHub 账户中的 Star 仓库迁移到另一个 GitHub 账户的 Python 工具。通过使用 GitHub API，该工具能够自动化地将源账户的所有 Star 仓库同步到目标账户，无需手动操作，简化了迁移过程。\n\n## 功能\n\n- 获取源账户的 Star 仓库列表。\n- 将源账户的 Star 仓库同步到目标账户。\n- 支持分页加载多个 Star 仓库。\n\n## 环境要求\n\n- Python 3.x\n- `requests` 库：可以通过 `pip install requests` 安装。\n\n## 安装和使用\n\n### 1. 克隆仓库\n\n首先，克隆该项目到本地：\n\n```bash\ngit clone https://github.com/CrazyCodingConclave/GitHubStarMover.git\ncd GitHubStarMover\n```\n### 2. 安装依赖\n\n安装项目所需的依赖：\n\n```bash\npip install requests\n```\n\n### 3. 配置 GitHub 令牌\n\n你需要为源账户和目标账户创建 GitHub Personal Access Token，并确保令牌具有 `repo` 和 `user` 权限。\n\n在 `GitHubStarMover.py` 文件中，编辑以下配置：\n\n```python\nsource_token = 'YOUR_SOURCE_TOKEN'  # 源账户的 GitHub 令牌\nsource_username = 'YOUR_SOURCE_USERNAME'  # 源账户的用户名\ntarget_token = 'YOUR_TARGET_TOKEN'  # 目标账户的 GitHub 令牌\n```\n\n### 4. 运行脚本\n\n运行脚本将源账户的 Star 仓库同步到目标账户：\n\n```bash\npython GitHubStarMover.py\n```\n\n该脚本会列出源账户的所有 Star 仓库，并在目标账户中重新 Star 这些仓库。\n\n### 5. 完成\n\n迁移完成后，你将在目标账户的 Star 列表中看到与源账户相同的仓库。\n\n## 注意事项\n\n- 请确保为两个 GitHub 账户生成的 Personal Access Token 都具有足够的权限，特别是需要对仓库进行 Star 的权限。\n- 如果有大量仓库，可能会多次请求 GitHub API，建议留意 API 请求限制。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbigbluebaby%2Fgithubstarmover","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbigbluebaby%2Fgithubstarmover","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbigbluebaby%2Fgithubstarmover/lists"}