{"id":18053328,"url":"https://github.com/luzifer/restis","last_synced_at":"2025-09-12T23:42:46.731Z","repository":{"id":66477860,"uuid":"582718776","full_name":"Luzifer/restis","owner":"Luzifer","description":"\"restis\", composed from \"REST\" and \"Redis\", is a simple HTTP API to get / set / delete Redis keys","archived":false,"fork":false,"pushed_at":"2022-12-28T13:36:47.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-01T00:30:22.375Z","etag":null,"topics":["api","http","redis","rest"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Luzifer.png","metadata":{"files":{"readme":"README.md","changelog":"History.md","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},"funding":{"custom":["https://www.paypal.me/luzifer"],"github":["Luzifer"],"ko_fi":"luziferus"}},"created_at":"2022-12-27T17:13:01.000Z","updated_at":"2022-12-27T17:38:40.000Z","dependencies_parsed_at":"2023-06-01T12:15:24.164Z","dependency_job_id":null,"html_url":"https://github.com/Luzifer/restis","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Luzifer/restis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luzifer%2Frestis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luzifer%2Frestis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luzifer%2Frestis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luzifer%2Frestis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Luzifer","download_url":"https://codeload.github.com/Luzifer/restis/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luzifer%2Frestis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272839664,"owners_count":25001862,"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-08-30T02:00:09.474Z","response_time":77,"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":["api","http","redis","rest"],"created_at":"2024-10-30T23:16:50.014Z","updated_at":"2025-08-30T10:40:17.689Z","avatar_url":"https://github.com/Luzifer.png","language":"Go","readme":"# Luzifer / restis\n\n`restis`, composed from `REST` and `Redis`, is a simple HTTP API to get / set / delete Redis keys.\n\n## Q\u0026A\n\n- **Why?**  \n  Previously I used a kyototycoon to store simple key-value-data through a REST interface but needed something not using a proprietary database format below it to have it running statelessly in a cluster. Searching for some alternative I gave up and invested 20 minutes in putting together this.\n- **Is there any security built in?**  \n  No. And it never will be. Don't expose it without securing it for example using [nginx-sso](https://github.com/Luzifer/nginx-sso) or Gatekeeper or whatever. This is just a simple API, you're responsible for the rest.\n\n## Usage\n\n```console\n# restis --help\nUsage of ./restis:\n      --disable-cors               Disable setting CORS headers for all requests\n      --listen string              Port/IP to listen on (default \":3000\")\n      --log-level string           Log level (debug, info, warn, error, fatal) (default \"info\")\n      --redis-conn-string string   Connection string for redis (default \"redis://localhost:6379/0\")\n      --redis-key-prefix string    Prefix to prepend to keys (will be prepended without delimiter!)\n      --version                    Prints current version and exits\n```\n\n```console\n# curl -fX GET localhost:3000/mykey\ncurl: (22) The requested URL returned error: 404\n\n# echo \"mycontent\" | curl -fX PUT --data-binary @- localhost:3000/mykey\n\n# curl -fX GET localhost:3000/mykey\nmycontent\n\n# curl -fX DELETE localhost:3000/mykey\n\n# curl -fX GET localhost:3000/mykey\ncurl: (22) The requested URL returned error: 404\n\n# echo \"mycontent\" | curl -fX PUT --data-binary @- localhost:3000/mykey\\?expire=30s\n\n# curl -fX GET localhost:3000/mykey\nmycontent\n\n# sleep 30; curl -fX GET localhost:3000/mykey\ncurl: (22) The requested URL returned error: 404\n```\n","funding_links":["https://www.paypal.me/luzifer","https://github.com/sponsors/Luzifer","https://ko-fi.com/luziferus"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluzifer%2Frestis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluzifer%2Frestis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluzifer%2Frestis/lists"}