{"id":22828433,"url":"https://github.com/go-joe/redis-memory","last_synced_at":"2026-05-03T06:37:22.613Z","repository":{"id":57486255,"uuid":"173565727","full_name":"go-joe/redis-memory","owner":"go-joe","description":"Redis integration for the Joe bot library","archived":false,"fork":false,"pushed_at":"2020-07-25T16:04:18.000Z","size":35,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-13T21:30:38.757Z","etag":null,"topics":["bot","chat","chatbot-framework","joe","slack"],"latest_commit_sha":null,"homepage":"https://github.com/go-joe/joe","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/go-joe.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-03T11:25:45.000Z","updated_at":"2020-02-29T18:25:03.000Z","dependencies_parsed_at":"2022-09-01T21:02:06.550Z","dependency_job_id":null,"html_url":"https://github.com/go-joe/redis-memory","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/go-joe/redis-memory","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-joe%2Fredis-memory","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-joe%2Fredis-memory/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-joe%2Fredis-memory/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-joe%2Fredis-memory/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/go-joe","download_url":"https://codeload.github.com/go-joe/redis-memory/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-joe%2Fredis-memory/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32560901,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bot","chat","chatbot-framework","joe","slack"],"created_at":"2024-12-12T19:09:35.734Z","updated_at":"2026-05-03T06:37:22.597Z","avatar_url":"https://github.com/go-joe.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eJoe Bot - Redis Memory\u003c/h1\u003e\n\u003cp align=\"center\"\u003eIntegrating Joe with Redis. https://github.com/go-joe/joe\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n\t\u003ca href=\"https://github.com/go-joe/redis-memory/releases\"\u003e\u003cimg src=\"https://img.shields.io/github/tag/go-joe/redis-memory.svg?label=version\u0026color=brightgreen\"\u003e\u003c/a\u003e\n\t\u003ca href=\"https://circleci.com/gh/go-joe/redis-memory/tree/master\"\u003e\u003cimg src=\"https://circleci.com/gh/go-joe/redis-memory/tree/master.svg?style=shield\"\u003e\u003c/a\u003e\n\t\u003ca href=\"https://goreportcard.com/report/github.com/go-joe/redis-memory\"\u003e\u003cimg src=\"https://goreportcard.com/badge/github.com/go-joe/redis-memory\"\u003e\u003c/a\u003e\n\t\u003ca href=\"https://codecov.io/gh/go-joe/redis-memory\"\u003e\u003cimg src=\"https://codecov.io/gh/go-joe/redis-memory/branch/master/graph/badge.svg\"/\u003e\u003c/a\u003e\n\t\u003ca href=\"https://pkg.go.dev/github.com/go-joe/redis-memory?tab=doc\"\u003e\u003cimg src=\"https://img.shields.io/badge/godoc-reference-blue.svg?color=blue\"\u003e\u003c/a\u003e\n\t\u003ca href=\"https://github.com/go-joe/redis-memory/blob/master/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-BSD--3--Clause-blue.svg\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\nThis repository contains a module for the [Joe Bot library][joe].\n\n## Getting Started\n\nThis library is packaged as [Go module][go-modules]. You can get it via:\n\n```\ngo get github.com/go-joe/redis-memory\n```\n\n### Example usage\n\nIn order to connect your bot to Redis you can simply pass it as module when\ncreating a new bot:\n\n[embedmd]:# (_examples/main.go)\n```go\npackage main\n\nimport (\n\t\"github.com/go-joe/joe\"\n\t\"github.com/go-joe/redis-memory\"\n\t\"github.com/pkg/errors\"\n)\n\ntype ExampleBot struct {\n\t*joe.Bot\n}\n\nfunc main() {\n\tb := \u0026ExampleBot{\n\t\tBot: joe.New(\"example\",\n\t\t\tredis.Memory(\"localhost:6379\"),\n\t\t),\n\t}\n\n\tb.Respond(\"remember (.+) is (.+)\", b.Remember)\n\tb.Respond(\"what is (.+)\", b.WhatIs)\n\tb.Respond(\"show keys\", b.ShowKeys)\n\n\terr := b.Run()\n\tif err != nil {\n\t\tb.Logger.Fatal(err.Error())\n\t}\n}\n\nfunc (b *ExampleBot) Remember(msg joe.Message) error {\n\tkey, value := msg.Matches[0], msg.Matches[1]\n\tmsg.Respond(\"OK, I'll remember %s is %s\", key, value)\n\treturn b.Store.Set(key, value)\n}\n\nfunc (b *ExampleBot) WhatIs(msg joe.Message) error {\n\tkey := msg.Matches[0]\n\tvar value string\n\tok, err := b.Store.Get(key, \u0026value)\n\tif err != nil {\n\t\treturn errors.Wrapf(err, \"failed to retrieve key %q from brain\", key)\n\t}\n\n\tif ok {\n\t\tmsg.Respond(\"%s is %s\", key, value)\n\t} else {\n\t\tmsg.Respond(\"I do not remember %q\", key)\n\t}\n\n\treturn nil\n}\n\nfunc (b *ExampleBot) ShowKeys(msg joe.Message) error {\n\tkeys, err := b.Store.Keys()\n\tif err != nil {\n\t\treturn err\n\t}\n\n\tmsg.Respond(\"I got %d keys:\", len(keys))\n\tfor i, k := range keys {\n\t\tmsg.Respond(\"%d) %q\", i+1, k)\n\t}\n\treturn nil\n}\n```\n\n## Built With\n\n* [go-redis](https://github.com/go-redis/redis) - redis client in Go\n* [redimock](https://github.com/fzerorubigd/redimock) - redis mock library in tcp level\n* [testify](https://github.com/stretchr/testify) - A simple unit test library\n* [zap](https://github.com/uber-go/zap) - Blazing fast, structured, leveled logging in Go\n\n## Contributing\n\nIf you want to hack on this repository, please read the short [CONTRIBUTING.md](CONTRIBUTING.md)\nguide first.\n\n## Versioning\n\nWe use [SemVer](http://semver.org/) for versioning. For the versions available,\nsee the [tags on this repository][tags]. \n\n## Authors\n\n- **Friedrich Große** - *Initial work* - [fgrosse](https://github.com/fgrosse)\n\nSee also the list of [contributors][contributors] who participated in this project.\n\n## License\n\nThis project is licensed under the BSD-3-Clause License - see the [LICENSE](LICENSE) file for details.\n\n## Acknowledgments\n\n- [embedmd][embedmd] for a cool tool to embed source code in markdown files\n\n[joe]: https://github.com/go-joe/joe\n[go-modules]: https://github.com/golang/go/wiki/Modules\n[tags]: https://github.com/go-joe/redis-memory/tags\n[contributors]: https://github.com/go-joe/redis-memory/contributors\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgo-joe%2Fredis-memory","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgo-joe%2Fredis-memory","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgo-joe%2Fredis-memory/lists"}