{"id":15059372,"url":"https://github.com/sumanjitsg/redistil","last_synced_at":"2026-02-04T02:04:43.146Z","repository":{"id":234165752,"uuid":"755867783","full_name":"sumanjitsg/redistil","owner":"sumanjitsg","description":"A minimalist Redis re-implementation in Elm, bringing the power of functional programming to Redis interactions.","archived":false,"fork":false,"pushed_at":"2025-01-23T13:32:42.000Z","size":159,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-14T03:04:26.288Z","etag":null,"topics":["database","elm","functional-programming","redis"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@sumanjitsg/redistil","language":"Elm","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sumanjitsg.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.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}},"created_at":"2024-02-11T10:26:34.000Z","updated_at":"2024-05-01T18:28:17.000Z","dependencies_parsed_at":"2025-02-10T12:41:40.909Z","dependency_job_id":"b946717a-83ba-405f-9a70-7e01c604e33b","html_url":"https://github.com/sumanjitsg/redistil","commit_stats":null,"previous_names":["sumanjitsg/elm-redis","sumanjitsg/redistil-elm","sumanjitsg/redistil"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/sumanjitsg/redistil","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumanjitsg%2Fredistil","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumanjitsg%2Fredistil/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumanjitsg%2Fredistil/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumanjitsg%2Fredistil/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sumanjitsg","download_url":"https://codeload.github.com/sumanjitsg/redistil/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumanjitsg%2Fredistil/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264321048,"owners_count":23590575,"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":["database","elm","functional-programming","redis"],"created_at":"2024-09-24T22:42:23.363Z","updated_at":"2026-02-04T02:04:38.120Z","avatar_url":"https://github.com/sumanjitsg.png","language":"Elm","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Redistil\n\nA minimalist Redis re-implementation in Elm, bringing the power of functional programming to Redis interactions.\n\n## Why Redistil with Elm?\n\n- **Functional Purity**: Elm's guarantees of immutable data and no side effects promote predictable code, making it easier to reason about Redis interactions and maintain the database's state.\n- **Type Safety**: Elm's robust type system helps catch potential Redis protocol errors at compile time, preventing a range of runtime issues.\n- **Elegant Command Handling**: Elm functions naturally model Redis commands, enhancing code readability and composability.\n- **Learning Experience**: This project offers a unique way to understand the synergy between functional programming and database design principles.\n\n## Features\n\n- **RESP Parsing**: Accurate decoding and encoding of the Redis Serialization Protocol.\n- **Command Processing**: Handles Redis commands, currently supporting PING with more to come.\n- **Error Handling**: Handles RESP protocol errors returned by Redis (e.g., responses for unknown commands or invalid arguments).\n- **Concurrent Connections**: Supports managing multiple Redis connections simultaneously.\n\n## Quick Start\n\n### Prerequisites\n\n- Linux based environment\n- Node.js v20 or later\n- [Redis CLI](https://redis.io/docs/latest/develop/connect/cli/) (`sudo apt install redis-tools`)\n\n### Install and Run\n\nInstall from npm:\n\n```bash\nnpm install @sumanjitsg/redistil\n```\n\nRun server:\n\n```bash\nredistil-server\n```\n\nConnect to the server from another terminal and run supported commands (currently `PING`):\n\n```bash\nredis-cli -p 5379\n127.0.0.1:5379\u003e ping\nPONG\n127.0.0.1:5379\u003e png hello\n(error) ERR unknown command 'png', with args beginning with: 'hello'\n127.0.0.1:5379\u003e ping hello\n\"hello\"\n127.0.0.1:5379\u003e ping hello redistil\n(error) ERR wrong number of arguments for 'ping' command\n127.0.0.1:5379\u003e ping 'hello redistil'\n\"hello redistil\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsumanjitsg%2Fredistil","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsumanjitsg%2Fredistil","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsumanjitsg%2Fredistil/lists"}