{"id":22447164,"url":"https://github.com/arwos/loopy","last_synced_at":"2025-10-09T05:41:13.016Z","repository":{"id":203860696,"uuid":"701797583","full_name":"arwos/loopy","owner":"arwos","description":"Service Discovery and KeyValue Storage","archived":false,"fork":false,"pushed_at":"2024-03-11T10:18:38.000Z","size":76,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-04T16:21:33.231Z","etag":null,"topics":["key-storage","service-discovery"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arwos.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-10-07T15:31:12.000Z","updated_at":"2023-12-25T02:16:45.000Z","dependencies_parsed_at":"2023-12-25T02:42:25.711Z","dependency_job_id":"c4bdd336-49fc-45fa-b376-8b014004bf9f","html_url":"https://github.com/arwos/loopy","commit_stats":null,"previous_names":["arwos/loopy","osspkg/loop"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/arwos/loopy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arwos%2Floopy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arwos%2Floopy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arwos%2Floopy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arwos%2Floopy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arwos","download_url":"https://codeload.github.com/arwos/loopy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arwos%2Floopy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000741,"owners_count":26082932,"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-10-09T02:00:07.460Z","response_time":59,"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-storage","service-discovery"],"created_at":"2024-12-06T04:14:33.474Z","updated_at":"2025-10-09T05:41:13.000Z","avatar_url":"https://github.com/arwos.png","language":"Go","readme":"# Loopy\n\nLoopy is designed to store and manage keys and values that are used by various services and applications. It provides a reliable system for tracking changes and updating text templates in real time.\n\n## Install with go\n\n```shell\ngo install go.arwos.org/loopy/...@latest\n```\n\n## Server\n\nRun server:\n\n```shell\nloppy --config=./config.yaml\n```\n\n## Console client\n\n### Work with template\n\n```shell\nloopycli --server=127.0.0.1:9500 template \\\n    test_data/template.tmpl:test_data/template.out \\\n    test_data/template2.tmpl:test_data/template2.out\n```\n\n#### Template functions:\n\n* __key__ - returns the key value or an empty string\n```json\n{{key \"key/name\"}}\n```\n* __key_or_default__ - returns the key value or default value\n```json\n{{key_or_default \"key/name\" \"default value\"}}\n```\n* __tree__ - returns a list of keys and value by prefix\n```json\n{{range $index, $data := tree \"key/\"}}\nindex: {{$index}} key: {{$data.Key}} val: {{$data.Value}}\n{{end}}\n```\n\n### Work with keys\n\n* Set key\n```shell\nloopycli --server=127.0.0.1:9500 kv set \"key/name\" \"key_value\"\n```\n* Get key\n```shell\nloopycli --server=127.0.0.1:9500 kv get \"key/name\"\n```\n* Delete key\n```shell\nloopycli --server=127.0.0.1:9500 kv del \"key/name\"\n```\n* List key by prefix (with empty value)\n```shell\nloopycli --server=127.0.0.1:9500 kv list \"key/\"\n```\n* Search key by prefix (without empty value)\n```shell\nloopycli --server=127.0.0.1:9500 kv search \"key/\"\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farwos%2Floopy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farwos%2Floopy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farwos%2Floopy/lists"}