{"id":13670991,"url":"https://github.com/nanopack/hoarder","last_synced_at":"2026-02-14T14:14:36.890Z","repository":{"id":57500469,"uuid":"45635050","full_name":"nanopack/hoarder","owner":"nanopack","description":"A simple, api-driven storage system for storing code builds and cached libraries for cloud-based deployment services.","archived":false,"fork":false,"pushed_at":"2019-03-11T21:33:01.000Z","size":2302,"stargazers_count":102,"open_issues_count":0,"forks_count":22,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-27T13:37:58.426Z","etag":null,"topics":["cloud-storage","developer-tools","devops","devtools","golang","nanobox","nanopack","storage"],"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/nanopack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-05T19:43:14.000Z","updated_at":"2025-03-14T16:38:14.000Z","dependencies_parsed_at":"2022-08-30T21:00:34.367Z","dependency_job_id":null,"html_url":"https://github.com/nanopack/hoarder","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/nanopack/hoarder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanopack%2Fhoarder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanopack%2Fhoarder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanopack%2Fhoarder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanopack%2Fhoarder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nanopack","download_url":"https://codeload.github.com/nanopack/hoarder/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanopack%2Fhoarder/sbom","scorecard":{"id":674066,"data":{"date":"2025-08-11","repo":{"name":"github.com/nanopack/hoarder","commit":"8df58c235e0a7ebd2acba7b26528daa259573830"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":1,"reason":"Found 2/20 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 15 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-21T21:00:10.220Z","repository_id":57500469,"created_at":"2025-08-21T21:00:10.220Z","updated_at":"2025-08-21T21:00:10.220Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29446653,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T14:10:32.461Z","status":"ssl_error","status_checked_at":"2026-02-14T14:09:49.945Z","response_time":53,"last_error":"SSL_read: 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":["cloud-storage","developer-tools","devops","devtools","golang","nanobox","nanopack","storage"],"created_at":"2024-08-02T09:00:55.245Z","updated_at":"2026-02-14T14:14:36.875Z","avatar_url":"https://github.com/nanopack.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# Hoarder\n\n[![Build Status](https://travis-ci.org/nanopack/hoarder.svg)](https://travis-ci.org/nanopack/hoarder)\n[![GoDoc](https://godoc.org/github.com/nanopack/hoarder?status.svg)](https://godoc.org/github.com/nanopack/hoarder)\n\nHoarder is a simple, api-driven, storage system for storing anything for cloud based deployment services.\n\n## Usage\n\n#### As a server\nTo start hoarder as a server run:\n\n`hoarder --server`\n\nAn optional config file can also be passed on startup:\n\n`hoarder --server --config /path/to/config`\n\n#### As a CLI\n\nSimply run `hoarder \u003cCOMMAND\u003e`\n\n`hoarder` or `hoarder -h` will show usage and a list of commands:\n\n```\nUsage:\n  hoarder [flags]\n  hoarder [command]\n\nAvailable Commands:\n  add         Add file to hoarder storage\n  list        List all files in hoarder storage\n  remove      Remove a file from hoarder storage\n  show        Display a file from the hoarder storage\n  update      Update a file in hoarder\n\nFlags:\n  -b, --backend string       Hoarder backend (default \"file:///var/db/hoarder\")\n  -g, --clean-after uint     Age, in seconds, after which data is deemed garbage (default 0)\n  -c, --config string        Path to config file (with extension)\n  -H, --listen-addr string   Hoarder listen uri (scheme defaults to https) (default \"https://127.0.0.1:7410\")\n      --log-level string     Output level of logs (TRACE, DEBUG, INFO, WARN, ERROR, FATAL) (default \"INFO\")\n  -s, --server               Run hoarder as a server\n  -t, --token string         Auth token used when connecting to a secure Hoarder\n  -v, --version              Display the current version of this CLI\n\nUse \"hoarder [command] --help\" for more information about a command.\n```\n\n## Configuration\n\nTo configure hoarder, a config.yml file can be passed with --config. Configuration read in through a file will overwrite the same configuration specified by a flag. If no config file is passed, and no flags are set, reasonable defaults will be used.\n\n```yml\nbackend     : \"file:///var/db/hoarder\"    # the pluggable backend the api will use for storage\nlisten-addr : \"https://127.0.0.1:7410\"    # the connection host uri (scheme defaults to https)\nlog-level   : \"INFO\"                      # the output log level (trace, debug, info, warn, error, fatal)\nserver      : false                       # run as a server\ntoken       : \"\"                          # the secure token used to connect with (no auth by default)\n```\n\n## API:\n\n```\n| Method |     Route     | Functionality |\n------------------------------------------\n| GET    | /blobs/{:id} | Retrieve a blob\n| HEAD   | /blobs/{:id} | Retrieve file information about a blob\n| POST   | /blobs/{:id} | Publish a new blob\n| PUT    | /blobs/{:id} | Update an existing blob\n| DELETE | /blobs/{:id} | Remove an existing blob\n| GET    | /blobs       | List all blobs\n| HEAD   | /blobs       | Retrieve file information for all blobs\n```\n\n#### Examples\n\n##### ping:\n```\n$ curl -k https://localhost:7410/ping\n=\u003e pong\n```\n\n##### create:\n```\n$ curl -k https://localhost:7410/blobs/test -d \"data\"\n=\u003e 'test' created!\n```\n\n##### get:\n```\n$ curl -k https://localhost:7410/blobs/test\n=\u003e data\n```\n\n##### get head:\n```\n$ curl -k https://localhost:7410/blobs/test -I\n=\u003e HTTP/1.1 200 OK\n=\u003e Content-Length: 4\n=\u003e Date: Tue, 01 Mar 2016 21:14:28 UTC\n=\u003e Last-Modified: Tue, 01 Mar 2016 21:13:57 UTC\n=\u003e Content-Type: text/plain; charset=utf-8\n```\n\n##### update:\n```\n$ curl -k https://localhost:7410/blobs/test -d \"new data\" -X PUT\n=\u003e 'test' created!\n```\n\n##### list:\n```\n$ curl -k https://localhost:7410/blobs\n=\u003e [{\"Name\":\"test\",\"Size\":4,\"ModTime\":\"2016-03-01T21:13:57.534706044Z\"}]\n```\n\n##### delete:\n```\n$ curl -k https://localhost:7410/blobs/test -X DELETE\n=\u003e 'test' destroyed!\n```\n\n*Note*: all examples are run without auth. If auth was enabled when the server was started then an additional header needs to be present:\n\n`-H \"X-AUTH-TOKEN: TOKEN\"`\n\n## Data\n\nHoarder simply stores whatever data you give it as a string. So you can literally store whatever you want as long is it can be \"stringified\".\n\nSome examples of what data could look like when creating a new blob:\n\n##### string\n```\n$ curl -k https://localhost:7410/blobs/test -d \"some string\"\n```\n\n##### JSON\n``` json\n$ curl -k https://localhost:7410/blobs/test -d \"{\\\"key\\\":\\\"value\\\"}\"\n```\n\nWhen it retrieves data it might look like the following:\n```\n{\n\t\"Name\": \"test\",\n\t\"Size\": 4,\n\t\"ModTime\": \"2016-03-01T21:13:57.534706044Z\"\n}\n```\n\n## Todo\n\n## Contributing\n\nContributions to hoarder are welcome and encouraged. Hoarder is a [Nanobox](https://nanobox.io) project and contributions should follow the [Nanobox Contribution Process \u0026 Guidelines](https://docs.nanobox.io/contributing/).\n\n[![open source](http://nano-assets.gopagoda.io/open-src/nanobox-open-src.png)](http://nanobox.io/open-source)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnanopack%2Fhoarder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnanopack%2Fhoarder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnanopack%2Fhoarder/lists"}