{"id":22526839,"url":"https://github.com/yinheli/feishu-cb","last_synced_at":"2025-03-28T04:19:49.010Z","repository":{"id":144595326,"uuid":"605011210","full_name":"yinheli/feishu-cb","owner":"yinheli","description":"feishu-cb used to API develop, dump requests and send to feishu via bot.","archived":false,"fork":false,"pushed_at":"2023-04-01T22:02:25.000Z","size":100,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-02T05:24:36.285Z","etag":null,"topics":["bot","diagnostic-tool"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yinheli.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-22T08:55:49.000Z","updated_at":"2023-02-22T09:06:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"b1625a99-fc2c-47b1-9a80-4da293003244","html_url":"https://github.com/yinheli/feishu-cb","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/yinheli%2Ffeishu-cb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yinheli%2Ffeishu-cb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yinheli%2Ffeishu-cb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yinheli%2Ffeishu-cb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yinheli","download_url":"https://codeload.github.com/yinheli/feishu-cb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245967127,"owners_count":20701787,"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":["bot","diagnostic-tool"],"created_at":"2024-12-07T06:18:56.055Z","updated_at":"2025-03-28T04:19:49.003Z","avatar_url":"https://github.com/yinheli.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# feishu-cb\n\n[![build](https://github.com/yinheli/feishu-cb/actions/workflows/build.yml/badge.svg)](https://github.com/yinheli/feishu-cb/actions/workflows/build.yml)\n\nfeishu-cb used to API develop, dump requests and send to feishu via bot.\n\n## Usage\n\n```bash\ncurl -X POST 127.0.0.1:8080/cb/test?p=x -d 'hello'\n```\n\nThen you feishu bot will send you following like this:\n\n```text\nfeishu-cb dump: 127.0.0.1:38782\nPOST /cb/test?p=x HTTP/1.1\nhost: 127.0.0.1:8080\nuser-agent: curl/7.74.0\naccept: */*\ncontent-type: application/x-www-form-urlencoded\ncontent-length: 5\n\nhello\n```\n\n## Deploy\n\nYou can use `helm` to quickly deploy an instance to quickly diagnostic request payload.\n\n```bash\nhelm upgrade --install feishu-cb ./charts/feishu-cb \\\n  --set config.webhook=xxx \\\n  --set ingress.enabled=true \\\n  --set ingress.hosts[0].host=fs-192-168-4-67.nip.io  \\\n  --set ingress.hosts[0].paths[0].path=/ \\\n  --set ingress.hosts[0].paths[0].pathType=Prefix\n```\n\nor build from source\n\n```bash\ncargo build --release\n```\n\n## Limitations\n\ndump body only support `UTF-8` string, binaries are not supported.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyinheli%2Ffeishu-cb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyinheli%2Ffeishu-cb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyinheli%2Ffeishu-cb/lists"}