{"id":20505023,"url":"https://github.com/gemblue/git-auto-pull","last_synced_at":"2026-05-29T18:31:11.708Z","repository":{"id":53544287,"uuid":"329806398","full_name":"gemblue/git-auto-pull","owner":"gemblue","description":null,"archived":false,"fork":false,"pushed_at":"2021-03-25T07:23:07.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-05T20:57:13.431Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/gemblue.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":"2021-01-15T04:15:19.000Z","updated_at":"2021-03-25T07:23:09.000Z","dependencies_parsed_at":"2022-08-24T17:41:02.000Z","dependency_job_id":null,"html_url":"https://github.com/gemblue/git-auto-pull","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gemblue/git-auto-pull","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemblue%2Fgit-auto-pull","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemblue%2Fgit-auto-pull/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemblue%2Fgit-auto-pull/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemblue%2Fgit-auto-pull/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gemblue","download_url":"https://codeload.github.com/gemblue/git-auto-pull/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemblue%2Fgit-auto-pull/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33666290,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-29T02:00:06.066Z","response_time":107,"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":[],"created_at":"2024-11-15T19:42:40.443Z","updated_at":"2026-05-29T18:31:11.692Z","avatar_url":"https://github.com/gemblue.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Git Auto Pull\n\nFile buat ngepullnya adalah file `pull.sh`. File ini nanti didaftarkan di cron. Contoh kode cronnya:\n\n```\n* * * * * cd /var/www/html/git-auto-pull/ \u0026\u0026 ./pull.sh\n```\n\n## Cara Pakai\n\nDaftarkan dulu repo yang ingin diautopull di file `public/repos` dengan format:\n\n```\nnamarepo /absolute/path/ke/reponya branch\n```\n\nmisalnya:\n\n```\ncodepolitan /var/www/codepolitan.com master\n```\n\nSetelah itu, daftarkan di webhook github, endpoint untuk memberitahu si pull.sh supaya ngepull. URL endpointnya mengarah ke file `public/index.php` dengan query string `?name=namarepo`. Misalnya, di server dipasang di IP `10.10.10.10/autopull/public/index.php?name=codepolitan`.\n\nNanti setiap kali endpoint ini dipanggil, aplikasi akan membuat file dengan nama `codepolitan` di dalam folder `mark/` yang akan menjadi penanda supaya si puller ngepull repo `codepolitan`.\n\nKamu bisa mendaftarkan banyak repo ke dalam file `public/repos` sebanyak repo yang ada di servermu.\n\nYeaaaah!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgemblue%2Fgit-auto-pull","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgemblue%2Fgit-auto-pull","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgemblue%2Fgit-auto-pull/lists"}