{"id":20895438,"url":"https://github.com/nutsdb/nutshttp","last_synced_at":"2025-07-24T09:38:46.954Z","repository":{"id":37013945,"uuid":"481967899","full_name":"nutsdb/nutshttp","owner":"nutsdb","description":"A http server for nutsdb","archived":false,"fork":false,"pushed_at":"2023-03-11T14:42:32.000Z","size":242,"stargazers_count":8,"open_issues_count":2,"forks_count":8,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-01T13:37:18.842Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nutsdb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-04-15T13:30:36.000Z","updated_at":"2025-02-13T15:38:19.000Z","dependencies_parsed_at":"2023-02-10T10:25:13.710Z","dependency_job_id":null,"html_url":"https://github.com/nutsdb/nutshttp","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/nutsdb%2Fnutshttp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nutsdb%2Fnutshttp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nutsdb%2Fnutshttp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nutsdb%2Fnutshttp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nutsdb","download_url":"https://codeload.github.com/nutsdb/nutshttp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253840576,"owners_count":21972509,"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-11-18T10:28:51.895Z","updated_at":"2025-05-12T23:31:48.194Z","avatar_url":"https://github.com/nutsdb.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nutshttp\n\nA http server for nutsdb\n\n## Example\n\nRun http server and listen ON \":8080\".\n\n```bash\ngo run examples/hello.go\n```\n\n**Check example data**\n\n```bash\n# Get all members in set\ncurl http://localhost:8080/set/bucket001/foo\n\n\n# List all list\ncurl http://localhost:8080/list/bucket001/key1?start=0\u0026end=10\n```\n\n**modify example data**\n\nYou can modify the tests in the sample program by modifying the file \"example/init.yaml\".\n\nThe file format is as follows:\n\n```yaml\n# kv data\nkv:\n  bucket-a:  # bucket name\n    key-1:  # key\n      str: value-1  # value\n    key-2:  # key\n      base64: dW50c2Ri  # data in base64 format\n# list data\nlist:\n  bucket-b:  # bucket name\n    key-1:\n      - str: value-1\n      - str: value-2\n# set data\nset:\n  bucket-c:  # bucket name\n    key-1:\n      - str: value-1\n      - str: value-2\n# sorted-set data\nzset:\n  bucket-d:  # bucket name\n    key-1:\n      - score: 1660575966082\n        str: value\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnutsdb%2Fnutshttp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnutsdb%2Fnutshttp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnutsdb%2Fnutshttp/lists"}