{"id":28210313,"url":"https://github.com/stellarproject/radiant","last_synced_at":"2026-01-12T05:29:55.409Z","repository":{"id":57482742,"uuid":"148722398","full_name":"stellarproject/radiant","owner":"stellarproject","description":"Programmable layer 7 proxy service built on GRPC and powered by Caddy","archived":false,"fork":false,"pushed_at":"2018-12-05T03:24:57.000Z","size":12394,"stargazers_count":91,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-10T23:38:42.530Z","etag":null,"topics":[],"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/stellarproject.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}},"created_at":"2018-09-14T02:07:08.000Z","updated_at":"2024-10-26T23:18:07.000Z","dependencies_parsed_at":"2022-09-02T06:21:24.866Z","dependency_job_id":null,"html_url":"https://github.com/stellarproject/radiant","commit_stats":null,"previous_names":["ehazlett/blackbird"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stellarproject/radiant","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stellarproject%2Fradiant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stellarproject%2Fradiant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stellarproject%2Fradiant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stellarproject%2Fradiant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stellarproject","download_url":"https://codeload.github.com/stellarproject/radiant/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stellarproject%2Fradiant/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28335198,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T00:36:25.062Z","status":"online","status_checked_at":"2026-01-12T02:00:08.677Z","response_time":98,"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":[],"created_at":"2025-05-17T17:09:47.311Z","updated_at":"2026-01-12T05:29:55.405Z","avatar_url":"https://github.com/stellarproject.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Radiant](radiant.jpg)\n\n[Photo by Jakub Novacek on Pexels](https://www.pexels.com/photo/time-lapse-photo-of-stars-on-night-924824/)\n\n# Radiant\nRadiant is a GRPC proxy service using [Caddy](https://caddyserver.com).\n\nRadiant uses a datastore to store server info.  By default, there is a simple in-memory datastore.  You can implement whatever you want to integrate with external systems.\n\n# Building\nUses [dep](https://github.com/golang/dep) for dependencies.\n\n- `make`\n\nTo just build binaries:\n\n- `make binaries`\n\n# Usage\nTo start the server, run:\n\n```\n$\u003e radiant\n```\n\nOr via code:\n\n```go\n// create config\ncfg := \u0026radiant.Config{\n\tGRPCAddr:  \"unix:///run/radiant.sock\",\n\tHTTPPort:  80,\n\tHTTPSPort: 443,\n\tDebug:     true,\n}\n// instantiate a datastore\nmemDs := memory.NewMemory()\n\n// create the server\nsrv, _ := server.NewServer(cfg, memDs)\n\n// run the server\n_ = srv.Run()\n```\n\nThis will start both the proxy and GRPC servers.\n\nThere is a Go client available to assist in usage:\n\n```go\nclient, _ := radiant.NewClient(\"unix:///run/radiant.sock\")\n\ntimeout := time.Second * 30\nupstreams := []string{\n    \"http://1.2.3.4\",\n    \"http://5.6.7.8\",\n}\nopts := []radiant.AddOpts{\n    radiant.WithUpstreams(upstreams...),\n    radiant.WithTimeouts(timeout),\n    radiant.WithTLS,\n}\n\n// add the server\n_ = client.AddServer(host, opts...)\n\n// reload the proxy to take effect\n_ = client.Reload()\n\n// remove the server\n_ = client.RemoveServer(host)\n\n// reload to take effect\n_ = client.Reload()\n```\nIt is safe to reload as often as you wish.  There is zero downtime for the reload operation.\n\nThere is also a CLI that can be used directly or as reference.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstellarproject%2Fradiant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstellarproject%2Fradiant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstellarproject%2Fradiant/lists"}