{"id":37131262,"url":"https://github.com/teatak/pipe","last_synced_at":"2026-01-14T15:12:40.365Z","repository":{"id":58646884,"uuid":"347659074","full_name":"teatak/pipe","owner":"teatak","description":"a reverse proxy server","archived":false,"fork":false,"pushed_at":"2025-09-26T02:44:47.000Z","size":20165,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-26T04:27:44.942Z","etag":null,"topics":["reverse-proxy","server"],"latest_commit_sha":null,"homepage":"","language":"Go","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/teatak.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":"2021-03-14T14:27:16.000Z","updated_at":"2025-09-26T02:44:52.000Z","dependencies_parsed_at":"2024-06-21T01:44:47.046Z","dependency_job_id":"6f604805-a9d8-48fb-aa05-ec6ee7a95bcd","html_url":"https://github.com/teatak/pipe","commit_stats":{"total_commits":64,"total_committers":1,"mean_commits":64.0,"dds":0.0,"last_synced_commit":"3a9ff1b17dc3a773e4eb1d80bd34a49fa621acd7"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/teatak/pipe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teatak%2Fpipe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teatak%2Fpipe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teatak%2Fpipe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teatak%2Fpipe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/teatak","download_url":"https://codeload.github.com/teatak/pipe/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teatak%2Fpipe/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28424058,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T13:30:50.153Z","status":"ssl_error","status_checked_at":"2026-01-14T13:29:08.907Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["reverse-proxy","server"],"created_at":"2026-01-14T15:12:39.805Z","updated_at":"2026-01-14T15:12:40.352Z","avatar_url":"https://github.com/teatak.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pipe\n\na reverse proxy server\n\n```yaml\nbackend:\n  - name: test\n    mode: hash #random 随机 roundRobin 轮训 hash 哈希 consistentHash 一致性哈希\n    riff: test@riff://localhost:8630  #riff service\n  - name: riff\n    mode: hash\n    server:\n      - http://127.0.0.1:8610\n      - http://127.0.0.1:8610\n\nserver:\n  - listen: \"[::]:80\"\n    domain:\n      - name: _\n        location:\n            # return static folder [static path fallback_file_path]\n          - path: /static/\n            return: \"static /Users/yanggang/workspace/github.com/teatak/pipe/static/ /Users/yanggang/workspace/github.com/teatak/pipe/static/index.html\"\n            # return a file\n          - path: /favicon.ico\n            return: \"file /Users/yanggang/workspace/github.com/teatak/pipe/static/favicon.ico\"\n            # return string\n          - path: ~ ^/string$ # regex\n            return: \"string 200 hello string\"\n            # redirect\n          - path: /https\n            return: \"redirect 301 https://$host$request_uri\"\n            # redirect\n          - path: /redirect\n            return: \"redirect 301 /string\" \n            # multiple delimiters ; or ,\n          - path: /backend;/back,/end\n            return: \"backend test\"\n            # default\n          - path: /\n            return: \"string 200 default\"\n  - listen: \"[::]:443\"\n    ssl: true\n    domain:\n      - name: dev.x-t.top console.teatak.com\n        certFile: \"/Users/yanggang/workspace/cert/dev.x-t.top.pem\"\n        keyFile: \"/Users/yanggang/workspace/cert/dev.x-t.top.key\"\n        location: \n          - path: /\n            return: \"backend test\"\n          - path: /ws\n            return: \"backend riff\"\n          - path: /api\n            return: \"backend riff\"\n          - path: /console\n            return: \"backend riff\"\n          - path: /static/\n            return: \"backend riff\"\n          - path: /bad\n            return: \"backend bad\"\n          - path: /test\n            return: \"backend test\"\n      - name: teatak.com www.teatak.com\n        certFile: \"/Users/yanggang/workspace/cert/teatak.com.pem\"\n        keyFile: \"/Users/yanggang/workspace/cert/teatak.com.key\"\n        location: \n          - path: /\n            return: \"backend test\"\n      - name: _\n        certFile: \"/Users/yanggang/workspace/cert/teatak.com.pem\"\n        keyFile: \"/Users/yanggang/workspace/cert/teatak.com.key\"\n        location: \n          - path: /\n            return: \"string 200 index\"\n            header: \n              - \"Content-Type text/plain; charset=utf-8\"\n            # proxy: http://console\n    \n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteatak%2Fpipe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteatak%2Fpipe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteatak%2Fpipe/lists"}