{"id":13421717,"url":"https://github.com/no13bus/redispapa","last_synced_at":"2025-04-05T14:08:09.250Z","repository":{"id":28201659,"uuid":"31704040","full_name":"no13bus/redispapa","owner":"no13bus","description":"another redis monitor by using flask, react, vite, socket.io","archived":false,"fork":false,"pushed_at":"2023-06-06T03:24:58.000Z","size":5528,"stargazers_count":396,"open_issues_count":5,"forks_count":78,"subscribers_count":28,"default_branch":"master","last_synced_at":"2025-03-29T13:09:29.336Z","etag":null,"topics":["angular","antd-design","highcharts","python","react","redis-server","socket","typscript","vitejs"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/no13bus.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2015-03-05T08:40:47.000Z","updated_at":"2025-02-12T08:30:26.000Z","dependencies_parsed_at":"2024-01-07T00:08:32.890Z","dependency_job_id":null,"html_url":"https://github.com/no13bus/redispapa","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/no13bus%2Fredispapa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/no13bus%2Fredispapa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/no13bus%2Fredispapa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/no13bus%2Fredispapa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/no13bus","download_url":"https://codeload.github.com/no13bus/redispapa/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247345853,"owners_count":20924102,"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":["angular","antd-design","highcharts","python","react","redis-server","socket","typscript","vitejs"],"created_at":"2024-07-30T23:00:28.857Z","updated_at":"2025-04-05T14:08:09.230Z","avatar_url":"https://github.com/no13bus.png","language":"TypeScript","readme":"# RedisPAPA\nwe use `redis info` to monitor the redis usage. PAPA means a father who is monitoring the redis.\n\u003e  accoding to the [redis doc](http://redis.io/commands/info), it is be recommanded to use `info` other than `monitor`.\n\n================\n\n\n[中文文档](https://github.com/no13bus/redispapa/blob/master/README_CN.md)\n\n## Let's start\n- `cd backend \u0026\u0026 pip3 install -r requirements.txt`\n- check out the file `config.py` and make your own configure accoding to your redis servers.\n- the REDIS_SERVER should be formated like this `['ip:port:password', 'ip:port', .....]`\n- type this command `python3 run.py`, then you can watch it in `http://127.0.0.1:5000`\n- we recommand use this command to deploy: `gunicorn --worker-class socketio.sgunicorn.GeventSocketIOWorker run:app -b 0.0.0.0:5000`\n- `cd frontend \u0026\u0026 yarn install`\n- `yarn dev`\n\n## The tech we use\n- [Python3](https://docs.python.org/3/)\n- [React](https://github.com/facebook/react)\n- [Flask](https://github.com/pallets/flask)\n- [Socket.io](http://socket.io/)\n- [Ant Design](https://ant.design/)\n- [Ant Design Charts](https://charts.ant.design/)\n- [Vite](https://vitejs.dev/)\n\n\n## Project Details\n- we do not use any database to store the redis information, we store the data in the memory.\n- we use flask to start serveral threads which is equal to your redis server amount，and then send infomation to the front-end at regular time by socket.io.\n- we use vite and react to render the front-end。React will get the data from socket.io and then render the templates with ant design charts.\n- when you change the redis server ip in the front-end select element, you will get a new redis data immediately.\n\n## Project Screen\n![1](https://raw.githubusercontent.com/no13bus/redispapa/master/screen/1.png)\n![2](https://raw.githubusercontent.com/no13bus/redispapa/master/screen/2.png)\n![3](https://raw.githubusercontent.com/no13bus/redispapa/master/screen/3.png)\n![4](https://raw.githubusercontent.com/no13bus/redispapa/master/screen/4.png)\n![5](https://raw.githubusercontent.com/no13bus/redispapa/master/screen/5.png)\n\n## Version 0.4\n- update the flask version to 2.x, socket-io version to 4.x, Python version to 3.x\n- use Vite and react to build the frontend. \n\n## Version 0.3\n- docker support: you can pull the [docker image of redispapa](https://registry.hub.docker.com/u/sinchb/redispapa/) from docker hub\n\n  ```\n  docker pull sinchb/redispapa\n  ```\n\n  to start a redispapa instance with default settings:\n\n  ```\n  docker run -p 5000:5000 sinchb/redispapa\n  ```\n\n  If you want to use your own config.py:\n\n  ```\n  docker run -p 5000:5000 -v /path/to/config.py:/root/redispapa/config.py sinchb/redispapa\n  ```\n\n  If you want to build your own docker image, please clone this repo, and run:\n\n  ```\n  cd /path/to/your/redispapa/\n  docker build -t=your-redispapa-tag .\n  ```\n\n## Version 0.2\n- new feature: exectute redis commands in the website.\n- In the website, you can type `set` in `command input box`, and type `a, papapa` in `args input box`\nor you can type `get` in `command input box`, and type `a` in `args input box. Then you can get the result\nfrom the redis server.\n\n## Version 0.1\nsupply kinds of information of redis server\n\n## The links\n- [redis stat](https://github.com/junegunn/redis-stat)\n","funding_links":[],"categories":["TypeScript","Python","介绍","Performance Monitoring","Built with Flask"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fno13bus%2Fredispapa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fno13bus%2Fredispapa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fno13bus%2Fredispapa/lists"}