{"id":18950839,"url":"https://github.com/whywaita/grasshopper","last_synced_at":"2026-03-28T15:33:16.007Z","repository":{"id":74409331,"uuid":"201179332","full_name":"whywaita/grasshopper","owner":"whywaita","description":"hopping file to GitHub","archived":false,"fork":false,"pushed_at":"2019-11-02T04:26:28.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-25T15:49:19.365Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/whywaita.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":"2019-08-08T04:40:26.000Z","updated_at":"2019-11-02T04:26:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"1fc07e14-6c1b-4a07-b260-214d8835f804","html_url":"https://github.com/whywaita/grasshopper","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/whywaita/grasshopper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whywaita%2Fgrasshopper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whywaita%2Fgrasshopper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whywaita%2Fgrasshopper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whywaita%2Fgrasshopper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/whywaita","download_url":"https://codeload.github.com/whywaita/grasshopper/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whywaita%2Fgrasshopper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31106744,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-28T15:10:22.084Z","status":"ssl_error","status_checked_at":"2026-03-28T15:09:59.994Z","response_time":79,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-08T13:24:51.394Z","updated_at":"2026-03-28T15:33:15.697Z","avatar_url":"https://github.com/whywaita.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GrassHopper\n\nvery simply backup solution. GitHub as backend!\n\n## Usage\n\n- Execute binary\n\n```shell script\n$ grasshopper you-want-to-backup-file\n```\n\n- Automatic `git commit` and `git push`\n- You can view backup file on GitHub!\n\n## Configuration\n### Embedded binary (Recommend)\n\n- Get GitHub Personal token\n  - ref: https://github.blog/2013-05-16-personal-api-tokens/\n- build binary with embedded value\n  - Be handle binaries carefully, do not publish!\n\n```shell script\n// change me to oneline\n$ go build . -o grasshopper -ldflags '-X main.DefaultGitHubRepository=\u003cyour repo\u003e \n  -X main.DefaultGitHubUser=\u003cyour user\u003e \n  -X main.DefaultGitHubToken=\u003cyour token\u003e '\n$ mv grasshopper /your/binary/path/\n```\n\n- Execute!\n\n```shell script\n$ grasshopper you-want-to-backup-file\n\n# or\n\n$ grasshopper /etc/you-want-to-backup-file    \n```\n\n### Environment value\n\nYou can set to config by Environment value.\n\n- `GH_GITHUB_REPO`\n- `GH_GITHUB_USER`\n- `GH_GITHUB_TOKEN`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhywaita%2Fgrasshopper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhywaita%2Fgrasshopper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhywaita%2Fgrasshopper/lists"}