{"id":16439502,"url":"https://github.com/changjoo-park/github-kv","last_synced_at":"2026-04-22T04:31:30.801Z","repository":{"id":35053615,"uuid":"201033916","full_name":"ChangJoo-Park/github-kv","owner":"ChangJoo-Park","description":"GitHub as a Key-Value Store","archived":false,"fork":false,"pushed_at":"2022-03-24T11:18:40.000Z","size":55,"stargazers_count":4,"open_issues_count":4,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-04-05T17:32:21.789Z","etag":null,"topics":["key-value-database","key-value-store"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/ChangJoo-Park.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":"2019-08-07T11:10:05.000Z","updated_at":"2021-11-26T09:10:08.000Z","dependencies_parsed_at":"2022-08-08T04:15:27.737Z","dependency_job_id":null,"html_url":"https://github.com/ChangJoo-Park/github-kv","commit_stats":null,"previous_names":["changjoo-park/kv"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ChangJoo-Park/github-kv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChangJoo-Park%2Fgithub-kv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChangJoo-Park%2Fgithub-kv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChangJoo-Park%2Fgithub-kv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChangJoo-Park%2Fgithub-kv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChangJoo-Park","download_url":"https://codeload.github.com/ChangJoo-Park/github-kv/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChangJoo-Park%2Fgithub-kv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32120880,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T00:31:26.853Z","status":"online","status_checked_at":"2026-04-22T02:00:05.693Z","response_time":58,"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":["key-value-database","key-value-store"],"created_at":"2024-10-11T09:09:33.821Z","updated_at":"2026-04-22T04:31:30.785Z","avatar_url":"https://github.com/ChangJoo-Park.png","language":"JavaScript","readme":"# GitHub Key-Value Store\n\n[![npm version](https://badge.fury.io/js/github-kv.svg)](https://badge.fury.io/js/github-kv)\n\nGitHub as a Key Value store.\n\n[한국어 안내](https://medium.com/@changjoopark/github-%EC%A0%80%EC%9E%A5%EC%86%8C%EB%A5%BC-%ED%99%9C%EC%9A%A9%ED%95%9C-%EC%84%A4%EC%A0%95%EA%B4%80%EB%A6%AC-32c8228f4c33)\n\n## Installation\n\n```bash\nnpm install -g github-kv\n```\n\n## Caveat\n\n\nWhen [create new Personal Access Token](https://github.com/settings/tokens/new), You should check only repo.\n\n\n## Usage\n\n### Example key-value store\n\nplease show store.json in this repo.\n\n```json\n{\n    \"ACCESS_KEY\": \"HELLO\",\n    \"SECRET_KEY\": \"WORLD\"\n}\n```\n\n### Global CommandLine Interface\n\nin Terminal. extract is optional\n\n```bash\n# gh-kv --token \u003cGitHub Token\u003e \\\n#         --owner \u003cOwner or Organization\u003e \\\n#         --repo \u003cREPO_NAME\u003e \\\n#         --file \u003cTARGET_FILENAME\u003e \\\n#         --extract \u003cOUTPUT_FILENAME\u003e \\\n#         --webhook \u003cWEBHOOK_POST_URL\u003e\ngh-kv --token \u003cGitHub Token\u003e --owner changjoo-park --repo kv --file store.json --extract key.json\n```\n\n### Module in Node.js\n\nextract is optional same as global CLI\n\n```js\nconst getGitHubStore = require('github-kv')\n\n// Promise\ngetGitHubStore({ token, owner, repo, file, extract })\n    .then(store =\u003e {})\n    .catch(error =\u003e {})\n\n// async - await\nconst store = await getGitHubStore({ token, owner, repo, file, extract })\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchangjoo-park%2Fgithub-kv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchangjoo-park%2Fgithub-kv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchangjoo-park%2Fgithub-kv/lists"}