{"id":34829992,"url":"https://github.com/probitas-test/echo-servers","last_synced_at":"2026-01-05T18:03:31.708Z","repository":{"id":327146906,"uuid":"1106925137","full_name":"probitas-test/echo-servers","owner":"probitas-test","description":"Docker images for testing Probitas clients.","archived":false,"fork":false,"pushed_at":"2025-12-25T16:25:45.000Z","size":209,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-27T01:00:01.788Z","etag":null,"topics":["graphql","grpc","http","test-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/probitas-test.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-30T08:20:14.000Z","updated_at":"2025-12-26T02:24:49.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/probitas-test/echo-servers","commit_stats":null,"previous_names":["jsr-probitas/dockerfiles","probitas-test/echo-servers"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/probitas-test/echo-servers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/probitas-test%2Fecho-servers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/probitas-test%2Fecho-servers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/probitas-test%2Fecho-servers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/probitas-test%2Fecho-servers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/probitas-test","download_url":"https://codeload.github.com/probitas-test/echo-servers/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/probitas-test%2Fecho-servers/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28217883,"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","status":"online","status_checked_at":"2026-01-05T02:00:06.358Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["graphql","grpc","http","test-server"],"created_at":"2025-12-25T15:47:13.764Z","updated_at":"2026-01-05T18:03:31.702Z","avatar_url":"https://github.com/probitas-test.png","language":"Go","readme":"# Echo Servers\n\n[![Build echo-http](https://github.com/probitas-test/echo-servers/actions/workflows/build.echo-http.yml/badge.svg)](https://github.com/probitas-test/echo-servers/actions/workflows/build.echo-http.yml)\n[![Build echo-grpc](https://github.com/probitas-test/echo-servers/actions/workflows/build.echo-grpc.yml/badge.svg)](https://github.com/probitas-test/echo-servers/actions/workflows/build.echo-grpc.yml)\n[![Build echo-graphql](https://github.com/probitas-test/echo-servers/actions/workflows/build.echo-graphql.yml/badge.svg)](https://github.com/probitas-test/echo-servers/actions/workflows/build.echo-graphql.yml)\n[![Build echo-connectrpc](https://github.com/probitas-test/echo-servers/actions/workflows/build.echo-connectrpc.yml/badge.svg)](https://github.com/probitas-test/echo-servers/actions/workflows/build.echo-connectrpc.yml)\n\nEcho servers for testing HTTP, gRPC, GraphQL, and Connect RPC clients. Built for\ntesting [Probitas](https://github.com/probitas-test/probitas) and other client\nimplementations.\n\n## Images\n\n| Image                                   | Protocol                      | Default Port | Status                                                                                                                                                                                                        |\n| --------------------------------------- | ----------------------------- | ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `ghcr.io/probitas-test/echo-http`       | HTTP                          | 80           | [![Docker](https://github.com/probitas-test/echo-servers/actions/workflows/docker.echo-http.yml/badge.svg)](https://github.com/probitas-test/echo-servers/actions/workflows/docker.echo-http.yml)             |\n| `ghcr.io/probitas-test/echo-grpc`       | gRPC                          | 50051        | [![Docker](https://github.com/probitas-test/echo-servers/actions/workflows/docker.echo-grpc.yml/badge.svg)](https://github.com/probitas-test/echo-servers/actions/workflows/docker.echo-grpc.yml)             |\n| `ghcr.io/probitas-test/echo-graphql`    | GraphQL                       | 8080         | [![Docker](https://github.com/probitas-test/echo-servers/actions/workflows/docker.echo-graphql.yml/badge.svg)](https://github.com/probitas-test/echo-servers/actions/workflows/docker.echo-graphql.yml)       |\n| `ghcr.io/probitas-test/echo-connectrpc` | Connect RPC / gRPC / gRPC-Web | 8080         | [![Docker](https://github.com/probitas-test/echo-servers/actions/workflows/docker.echo-connectrpc.yml/badge.svg)](https://github.com/probitas-test/echo-servers/actions/workflows/docker.echo-connectrpc.yml) |\n\n## Quick Start\n\n```bash\n# Start all servers\ndocker compose up -d\n\n# Test HTTP\ncurl \"http://localhost:18080/get?hello=world\"\n\n# Test gRPC\ngrpcurl -plaintext -d '{\"message\":\"hello\"}' localhost:50051 echo.v1.Echo/Echo\n\n# Test GraphQL\ncurl -X POST http://localhost:14000/graphql \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"query\":\"{ echo(message: \\\"hello\\\") }\"}'\n\n# Test Connect RPC (JSON)\ncurl -X POST http://localhost:18081/echo.v1.Echo/Echo \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"message\":\"hello\"}'\n\n# Test Connect RPC (gRPC protocol)\ngrpcurl -plaintext -d '{\"message\":\"hello\"}' localhost:18081 echo.v1.Echo/Echo\n\n# Stop all servers\ndocker compose down\n```\n\n## Environment Variables\n\nAll servers support the following environment variables:\n\n| Variable | Description                             |\n| -------- | --------------------------------------- |\n| `HOST`   | Bind address (default: `0.0.0.0`)       |\n| `PORT`   | Listen port (default: varies by server) |\n\nServers also support `.env` file for configuration.\n\n## Features\n\nAll servers are designed for testing purposes:\n\n- **No rate limits** - Test high-throughput scenarios\n- **Configurable delays** - Test timeout handling\n- **Error injection** - Test error handling\n- **Streaming support** - Test streaming clients (gRPC, GraphQL subscriptions)\n- **Minimal images** - Built on scratch, ~10-20MB each\n\n## Documentation\n\n- [echo-http](./echo-http/README.md) - HTTP echo server\n- [echo-grpc](./echo-grpc/README.md) - gRPC echo server\n- [echo-graphql](./echo-graphql/README.md) - GraphQL echo server\n- [echo-connectrpc](./echo-connectrpc/README.md) - Connect RPC echo server (supports Connect RPC, gRPC, and gRPC-Web)\n\n## Development\n\n### Prerequisites\n\nUses [Nix Flakes](https://nixos.wiki/wiki/Flakes) for development environment\nmanagement.\n\n```bash\n# Enter development environment\nnix develop\n\n# Or use direnv for automatic activation\necho \"use flake\" \u003e .envrc\ndirenv allow\n```\n\n### Commands\n\nRequires [just](https://github.com/casey/just) command runner (included in Nix\nenvironment).\n\n```bash\n# Show available commands\njust\n\n# Run linter on all packages\njust lint\n\n# Run tests on all packages\njust test\n\n# Build all packages\njust build\n\n# Format all code (Go + Markdown/JSON/YAML)\njust fmt\n\n# Build and run Docker images\ndocker compose up --build\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprobitas-test%2Fecho-servers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprobitas-test%2Fecho-servers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprobitas-test%2Fecho-servers/lists"}