{"id":18074975,"url":"https://github.com/lnsp/bench","last_synced_at":"2025-09-13T07:15:22.472Z","repository":{"id":57586171,"uuid":"67875849","full_name":"lnsp/bench","owner":"lnsp","description":"Patching using everyday infrastructure.","archived":false,"fork":false,"pushed_at":"2017-03-24T22:30:48.000Z","size":60,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-07-23T16:56:25.342Z","etag":null,"topics":["file-sync","filesystem","golang","http","https","patch"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lnsp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-09-10T14:35:55.000Z","updated_at":"2017-02-13T23:38:42.000Z","dependencies_parsed_at":"2022-09-12T08:21:18.447Z","dependency_job_id":null,"html_url":"https://github.com/lnsp/bench","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/lnsp/bench","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnsp%2Fbench","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnsp%2Fbench/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnsp%2Fbench/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnsp%2Fbench/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lnsp","download_url":"https://codeload.github.com/lnsp/bench/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnsp%2Fbench/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274932128,"owners_count":25376081,"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-09-13T02:00:10.085Z","response_time":70,"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":["file-sync","filesystem","golang","http","https","patch"],"created_at":"2024-10-31T10:44:01.191Z","updated_at":"2025-09-13T07:15:22.400Z","avatar_url":"https://github.com/lnsp.png","language":"Go","readme":"Bench [![Go Report Card](https://goreportcard.com/badge/github.com/lnsp/bench)](https://goreportcard.com/report/github.com/lnsp/bench) [![Build Status](https://travis-ci.org/lnsp/bench.svg?\u0026branch=develop)](https://travis-ci.org/lnsp/bench)\n========\n\nBench is a file patch system using HTTP(S) and SHA-1 hashing.\n\n## Installation\nRun `go get github.com/lnsp/bench/cmd/bench` to install the `bench` binary.\n\n## Usage guide\n**Important:** Your working folder is automatically made the target folder for patch generation and fetching. To change this behavior, use the `--target \"my-target\"` flag to chose your target independently from your working directory.\n\n### Fetching a patch\nIf you first getting started you may want to fetch a patch from a source (either a web server or a local folder).\nThis can be done using the `bench fetch` command.\n\n- If you patch your target for the first time, you have to include a `--source \"patch-source\"` flag to specify your patch source. This can either be a folder on your local file system like `/etc/foo/bar` or a web address like `https://example.com/foo/bar/`.\n- If you already have patched once or more, the stakes are high that your existing patch file has a source included. You can try it without specifying a special source, but if it fails, try to repeat the step above.\n\n### Generating a patch\nIf you want to generate a patch, you can just enter `patch generate`. If you want to make it easier for your user to patch from your source, include the `--source \"my-source\"` flag to simplify their patching process (but ensure that the source can be mapped to your data).\n\n## License\nCopyright 2016 Lennart Espe. All rights reserved.\n\nUse of this source code is governed by a MIT-style license that can be found in the LICENSE.md file.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flnsp%2Fbench","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flnsp%2Fbench","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flnsp%2Fbench/lists"}