{"id":22783149,"url":"https://github.com/frontmage/hellogithub2zhihu","last_synced_at":"2025-07-18T06:35:38.477Z","repository":{"id":81860424,"uuid":"159626959","full_name":"FrontMage/HelloGithub2zhihu","owner":"FrontMage","description":"自动上传markdown到知乎","archived":false,"fork":false,"pushed_at":"2018-11-29T07:40:54.000Z","size":15100,"stargazers_count":21,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-15T18:36:24.608Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/FrontMage.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,"zenodo":null}},"created_at":"2018-11-29T07:40:20.000Z","updated_at":"2022-04-25T01:41:13.000Z","dependencies_parsed_at":"2023-04-23T10:07:28.315Z","dependency_job_id":null,"html_url":"https://github.com/FrontMage/HelloGithub2zhihu","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/FrontMage/HelloGithub2zhihu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FrontMage%2FHelloGithub2zhihu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FrontMage%2FHelloGithub2zhihu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FrontMage%2FHelloGithub2zhihu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FrontMage%2FHelloGithub2zhihu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FrontMage","download_url":"https://codeload.github.com/FrontMage/HelloGithub2zhihu/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FrontMage%2FHelloGithub2zhihu/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265711033,"owners_count":23815461,"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","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":[],"created_at":"2024-12-11T22:07:09.793Z","updated_at":"2025-07-18T06:35:38.467Z","avatar_url":"https://github.com/FrontMage.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HelloGitHub 知乎自动迁移脚本\n\n基于`puppeteer`，依赖`ts-node`\n\n## 用法\n\n```bash\n$ cnpm i ts-node -g\n$ cnpm i\n$ ts-node zhihu.ts\n```\n\n注意会打开一个网页，然后用自己的知乎 APP 扫描二维码登录，完成后命令行输入`y`并回车\n\n## 注释\n\n`cp.ts`会把 `./HelloGithub/content` 下的期刊全部拷贝并且重命名到 `./articles` 目录下，并且会去掉第一行\n\n`zhihu.ts`会启动一个 chrome puppeteer 自动上传\n\n封面会取 covers 内按照字母排序的数组的[期刊号]\n\n由于各种重试啊乱七八糟的操作，上传会 sleep 很久等待图片上传，大约 7 分钟一个，可以自己编辑\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrontmage%2Fhellogithub2zhihu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrontmage%2Fhellogithub2zhihu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrontmage%2Fhellogithub2zhihu/lists"}