{"id":16384774,"url":"https://github.com/saber2pr/github-edit","last_synced_at":"2026-05-16T06:30:17.982Z","repository":{"id":57251257,"uuid":"237905938","full_name":"Saber2pr/github-edit","owner":"Saber2pr","description":"Github Content CURD API.","archived":false,"fork":false,"pushed_at":"2020-04-13T12:16:49.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-03T08:44:26.393Z","etag":null,"topics":["github-api"],"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/Saber2pr.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}},"created_at":"2020-02-03T07:10:57.000Z","updated_at":"2020-04-13T12:16:44.000Z","dependencies_parsed_at":"2022-08-24T17:00:52.052Z","dependency_job_id":null,"html_url":"https://github.com/Saber2pr/github-edit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saber2pr%2Fgithub-edit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saber2pr%2Fgithub-edit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saber2pr%2Fgithub-edit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saber2pr%2Fgithub-edit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Saber2pr","download_url":"https://codeload.github.com/Saber2pr/github-edit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240121633,"owners_count":19751064,"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":["github-api"],"created_at":"2024-10-11T04:12:19.391Z","updated_at":"2026-05-16T06:30:16.883Z","avatar_url":"https://github.com/Saber2pr.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @saber2pr/github-edit\n\n\u003e Github Content CURD API.\n\n```bash\nyarn add @saber2pr/github-edit\n```\n\n# Example\n\n```ts\nimport {\n  login,\n  unLogin,\n  getContentTree,\n  createFile,\n  removeFile,\n  readFile,\n  getCommit,\n  getSha\n} from \"@saber2pr/github-edit\"\n\n// 1. login\nlogin(username, password)\n\n// 2. content tree\ngetContentTree(repo)\n\n// 3. createFile\ncreateFile(repo, path, commit)\n\n// 4. removeFile\nremoveFile(repo, path, commit)\n\n// 5. readFile\nreadFile(repo, path)\n\n// 6. get Commit Info\ngetCommit(repo, path)\n\n// 7. get sha\ngetSha(repo, path)\n\n// 8. unLogin\nunLogin()\n```\n\n---\n\n## start\n\n```bash\nyarn install\n```\n\n```bash\nyarn start\n\nyarn dev\n```\n\n\u003e Author: saber2pr\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaber2pr%2Fgithub-edit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaber2pr%2Fgithub-edit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaber2pr%2Fgithub-edit/lists"}