{"id":37996696,"url":"https://github.com/pariola/lb","last_synced_at":"2026-01-16T18:56:26.060Z","repository":{"id":95756853,"uuid":"407176649","full_name":"pariola/lb","owner":"pariola","description":"Simple Reverse Proxy Load Balancer","archived":false,"fork":false,"pushed_at":"2021-10-10T00:28:39.000Z","size":25,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-20T03:34:31.581Z","etag":null,"topics":["load-balancer","reverse-proxy","simple"],"latest_commit_sha":null,"homepage":"","language":"Go","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/pariola.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":"2021-09-16T13:31:17.000Z","updated_at":"2023-12-20T16:21:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"c6553ded-8441-4cf3-9401-4f40641f0387","html_url":"https://github.com/pariola/lb","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pariola/lb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pariola%2Flb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pariola%2Flb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pariola%2Flb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pariola%2Flb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pariola","download_url":"https://codeload.github.com/pariola/lb/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pariola%2Flb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28481303,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: 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":["load-balancer","reverse-proxy","simple"],"created_at":"2026-01-16T18:56:25.390Z","updated_at":"2026-01-16T18:56:26.045Z","avatar_url":"https://github.com/pariola.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lb\n\na reverse proxy load-balancing server, It implements the Weighted Round Robin Balancing algorithm referenced [here](https://github.com/phusion/nginx/commit/27e94984486058d73157038f7950a0a36ecc6e35).\n\n[Installing](#installing) | [How to Use](#how-to-use) | [Configuration](#configuration)\n\n## Installing\n\n### Using `go install`\nYou can use the command below to compile and install directly to your $GOPATH/bin\n```sh\ngo install github.com/pariola/lb@latest\n```\n\n## How to Use\nAfter installing, run the command below to start the server: \n```sh\nlb \u003cPATH TO CONFIG FILE\u003e\n``` \nNow the server proxies every request to downstream backends.\n\n## Configuration\nConfiguration format is `YAML` and path defaults to `lb.yml`.\n\n### Available Values\n| **Name**             | **Description**                                                               | **Default** |\n|----------------------|-------------------------------------------------------------------------------|:-----------:|\n| `port`               | Port the server will listen on                                                |    `3000`   |\n| `retries`            | Amount retries per request                                                    |     `1`     |\n| `health.path`        | URL path to listen to for liveness checks                                     |     `/`     |\n| `health.interval`    | Interval to perform the liveness checks                                       |    `30s`    |\n| `backends.[].host`   | Downstream Server URL to proxy requests to (ex. `localhost:4023`)             |     `-`     |\n| `backends.[].weight` | Weight to influence the amount of requests received by the downstream backend |     `1`     |\n\nExample Configuration:\n\n```yaml\nport: 5000\nretires: 5\nhealth:\n  path: /health\n  interval: 30s\nbackends:\n  - host: \"localhost:5000\"\n    weight: 2\n  - host: \"localhost:5001\"\n    weight: 1\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpariola%2Flb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpariola%2Flb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpariola%2Flb/lists"}