{"id":13555362,"url":"https://github.com/hackers4peace/o-cli-service","last_synced_at":"2026-01-28T03:59:05.428Z","repository":{"id":73075932,"uuid":"49158428","full_name":"hackers4peace/o-cli-service","owner":"hackers4peace","description":null,"archived":false,"fork":false,"pushed_at":"2016-02-05T02:06:07.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-04T04:31:36.477Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hackers4peace.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":"2016-01-06T20:03:17.000Z","updated_at":"2016-01-22T00:55:32.000Z","dependencies_parsed_at":"2023-04-27T11:17:37.549Z","dependency_job_id":null,"html_url":"https://github.com/hackers4peace/o-cli-service","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackers4peace%2Fo-cli-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackers4peace%2Fo-cli-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackers4peace%2Fo-cli-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackers4peace%2Fo-cli-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hackers4peace","download_url":"https://codeload.github.com/hackers4peace/o-cli-service/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246965519,"owners_count":20861883,"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","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-08-01T12:03:10.266Z","updated_at":"2026-01-28T03:59:05.387Z","avatar_url":"https://github.com/hackers4peace.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","others"],"sub_categories":[],"readme":"# o-cli-service\n\n## features\n\n### storage\n* put resource ( to fork db )\n * [x] as normalized RDF\n* get resource ( from fork db )\n * [x] as expanded JSON-LD\n* [x] import data ( to fork db from JSON-LD with graph names )\n* [ ] export data ( from fork db - the whole account to JSON-LD with graph names )\n\n### identity\n* [x] create idp account ( with default container rel: \"sec:publicKey\" )\n * /(:uuid)#id - identity\n * /(:uuid)/ - dataset, void:uriSpace, ws:uriPrefix\n * /(:uuid)/(:uuid) - Resources/Containers in dataset\n* [x] add profile (in a workspace) for identity\n\n### workspace\n* [x] create workspace account ( with containers, including one for activities rev: \"as:actor\" )\n * /(:uuid)/ - dataset, void:uriSpace, ws:uriPrefix\n * /(:uuid)/(:uuid) - Resources/Containers in dataset\n\n### misc\n* [ ] create a new container in an existing dataset\n* [ ] verify signature\n\n## usage\n\n### db:get\n\n```\ngulp db:get --config /path/to/service/config.json --uri https://foo.example\n```\n\n### db:put\n\n```\ngulp db:put --config /path/to/service/config.json --uri https://foo.example --path /path/to/file.jsonld\n```\n\n### db:import\n\n```\ngulp db:import --config /path/to/service/config.json --path /path/to/file.jsonld\n```\n\n### idp:new\n\n```\ngulp idp:new --config /path/to/service/config.json --name 'Justine Testing'\n```\n\n### idp:add:key\n\n```\ngulp idp:add:key --config /path/to/service/config.json --identity https://idp.example/ba7afc12-99fe-4f19-bbc1-4b18914f2cf9#id --pem /path/to/pubkey.pem\n```\n\n### idp:add:profile\n\n```\ngulp idp:add:profile --config /path/to/service/config.json --identity https://idp.example/ba7afc12-99fe-4f19-bbc1-4b18914f2cf9#id --profile https://ws.example/82301ed4-fe79-4372-8b04-e5a9d45101be/9bfa1cae-a330-4686-b930-daa3d1f2c428\n```\n\n### ws:new\n\n```\ngulp ws:new --config /path/to/service/config.json --identity https://idp.example/ba7afc12-99fe-4f19-bbc1-4b18914f2cf9#id\n```\n\n## dependencies\n\n### o-*\n\n* o-utils-dataset\n* o-storage-forkdb\n* o-api-client\n\n### common\n* gulp\n* yargs\n* lodash\n* uuid\n* jsonld\n* jsonld-signatures\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhackers4peace%2Fo-cli-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhackers4peace%2Fo-cli-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhackers4peace%2Fo-cli-service/lists"}