{"id":21296944,"url":"https://github.com/reddec/envredis","last_synced_at":"2026-05-19T11:06:52.763Z","repository":{"id":81702486,"uuid":"114277560","full_name":"reddec/envredis","owner":"reddec","description":"Map environment to/from redis","archived":false,"fork":false,"pushed_at":"2020-10-26T10:10:22.000Z","size":6,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-09T00:06:39.075Z","etag":null,"topics":["interceptor","redis","syscall-hook"],"latest_commit_sha":null,"homepage":null,"language":"C","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/reddec.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-14T17:19:29.000Z","updated_at":"2024-04-13T08:53:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"a138e844-8e92-4b26-a211-43246bd7977f","html_url":"https://github.com/reddec/envredis","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/reddec%2Fenvredis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reddec%2Fenvredis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reddec%2Fenvredis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reddec%2Fenvredis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reddec","download_url":"https://codeload.github.com/reddec/envredis/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243765054,"owners_count":20344526,"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":["interceptor","redis","syscall-hook"],"created_at":"2024-11-21T14:31:15.087Z","updated_at":"2026-05-19T11:06:52.712Z","avatar_url":"https://github.com/reddec.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EnvRedis\n\n![envredis](https://user-images.githubusercontent.com/6597086/97159849-6c190d80-17b6-11eb-9831-70eebb649322.png)\n\nWrap syscall for get/set/clean and e.t.c environment and map values to/from Redis\n\n\n# Requirements\n\n- libhiredis (tested on 0.13)\n- C11\n\n# Environment variable\n\n* **ENVREDIS_IP** - ip of redis server. Default: `127.0.0.1`\n* **ENVREDIS_PORT** - port of redis server. Default: `6379`\n* **ENVREDIS_PREFIX** - prefix for each keys. Default: nothing\n* **ENVREDIS_PANIC** - fail if redis operations failed. Disabled by default\n\n# Sample usage\n\n## Local\n\n    export LD_PRELOAD=/path/to/libenvredis.so\n\n    python -c 'import os; os.environ[\"MY_SAMPLE_VAR\"]=\"111\"'\n    python -c 'import os; print os.environ[\"MY_SAMPLE_VAR\"]'\n\n## Remote\n\n    export LD_PRELOAD=/path/to/libenvredis.so\n    export ENVREDIS_IP='xx.yy.zz.cc'\n\n    python -c 'import os; os.environ[\"MY_SAMPLE_VAR\"]=\"111\"'\n    python -c 'import os; print os.environ[\"MY_SAMPLE_VAR\"]'\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freddec%2Fenvredis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freddec%2Fenvredis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freddec%2Fenvredis/lists"}