{"id":16788578,"url":"https://github.com/mna/upstashdis","last_synced_at":"2025-07-29T12:40:55.487Z","repository":{"id":57703901,"uuid":"488799229","full_name":"mna/upstashdis","owner":"mna","description":"A Go client and a compatible server for local testing for the Upstash Redis REST API interface.","archived":false,"fork":false,"pushed_at":"2023-01-28T09:29:34.000Z","size":79,"stargazers_count":23,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-10T23:14:27.859Z","etag":null,"topics":["redis","upstash"],"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/mna.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["mna"],"custom":["https://www.buymeacoffee.com/mna"]}},"created_at":"2022-05-05T01:54:46.000Z","updated_at":"2025-04-02T12:25:13.000Z","dependencies_parsed_at":"2023-02-15T15:31:34.876Z","dependency_job_id":null,"html_url":"https://github.com/mna/upstashdis","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/mna%2Fupstashdis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mna%2Fupstashdis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mna%2Fupstashdis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mna%2Fupstashdis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mna","download_url":"https://codeload.github.com/mna/upstashdis/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248312135,"owners_count":21082638,"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":["redis","upstash"],"created_at":"2024-10-13T08:18:20.753Z","updated_at":"2025-04-10T23:14:52.992Z","avatar_url":"https://github.com/mna.png","language":"Go","funding_links":["https://github.com/sponsors/mna","https://www.buymeacoffee.com/mna"],"categories":[],"sub_categories":[],"readme":"[![Go Reference](https://pkg.go.dev/badge/github.com/mna/upstashdis.svg)](https://pkg.go.dev/github.com/mna/upstashdis)\n[![Build Status](https://github.com/mna/upstashdis/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/mna/upstashdis/actions)\n\n# upstashdis\n\nPackage `upstashdis` provides a Go client for the [Upstash Redis REST API](https://docs.upstash.com/redis/features/restapi) interface. Note that this package is *not* affiliated with Upstash. It also provides a `restserver` Go package and an `upstash-redis-rest-server` executable command to run a local web server that serves an Upstash-compatible REST API in front of an actual Redis database instance, for testing purposes.\n\n## Installation\n\nGo1.18+ is required. To install the packages for use in a Go project:\n\n```Go\n$ go get github.com/mna/upstashdis\n```\n\nTo install only the REST server command:\n\n```Go\n$ go install github.com/mna/upstashdis/cmd/upstash-redis-rest-server@latest\n```\n\n## Documentation\n\nThe [code documentation](https://pkg.go.dev/github.com/mna/upstashdis) is the canonical source for the Go packages documentation.\n\nThe `upstash-redis-rest-server` command documentation is available by running the command with the `--help` flag and is shown here as a convenience:\n\n```\nusage: upstash-redis-rest-server --addr \u003cADDR\u003e --redis-addr \u003cADDR\u003e [--api-token \u003cTOKEN\u003e]\n       upstash-redis-rest-server --help\n\nRun a web server that serves an Upstash-compatible Redis REST API and\nconnects to a running Redis instance to execute commands.\n\nValid flag options are:\n       -a --addr ADDR            Address for the web server to listen on.\n       -h --help                 Show this help.\n       -r --redis-addr ADDR      Use the Redis instance running at this\n                                 ADDR to execute commands.\n       -t --api-token TOKEN      API token to accept as authorized. Can\n                                 also be set via the environment variable\n                                 UPSTASH_REDIS_REST_SERVER_API_TOKEN.\n\nThe redis instance should be version 6 and above for better\ncompatibility.\n\nAs a special case, 'memory' can be used as --redis-addr and a miniredis\ninstance will be used. Note that not all commands are supported by\nminiredis - in particular, ACL commands are not supported. See the\nminiredis repository and documentation for more information:\n       https://github.com/alicebob/miniredis.\n\nMore information on the upstashdis repository:\n       https://github.com/mna/upstashdis\n```\n\n## License\n\nThe [BSD 3-Clause license](http://opensource.org/licenses/BSD-3-Clause).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmna%2Fupstashdis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmna%2Fupstashdis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmna%2Fupstashdis/lists"}