{"id":28931095,"url":"https://github.com/davidliedle/erlangswitchboard","last_synced_at":"2025-07-25T17:11:30.174Z","repository":{"id":294973149,"uuid":"988676541","full_name":"DavidLiedle/ErlangSwitchboard","owner":"DavidLiedle","description":"An aggressive use of Codex from OpenAI to see what is possible with Erlang.","archived":false,"fork":false,"pushed_at":"2025-05-22T23:18:14.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-22T16:08:37.665Z","etag":null,"topics":["erlang"],"latest_commit_sha":null,"homepage":"","language":"Erlang","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/DavidLiedle.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}},"created_at":"2025-05-22T22:58:15.000Z","updated_at":"2025-05-22T23:25:17.000Z","dependencies_parsed_at":"2025-05-26T05:31:30.917Z","dependency_job_id":null,"html_url":"https://github.com/DavidLiedle/ErlangSwitchboard","commit_stats":null,"previous_names":["davidliedle/erlangswitchboard"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DavidLiedle/ErlangSwitchboard","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidLiedle%2FErlangSwitchboard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidLiedle%2FErlangSwitchboard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidLiedle%2FErlangSwitchboard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidLiedle%2FErlangSwitchboard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DavidLiedle","download_url":"https://codeload.github.com/DavidLiedle/ErlangSwitchboard/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidLiedle%2FErlangSwitchboard/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267037575,"owners_count":24025606,"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":"2025-07-25T02:00:09.625Z","response_time":70,"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":["erlang"],"created_at":"2025-06-22T16:01:20.640Z","updated_at":"2025-07-25T17:11:30.163Z","avatar_url":"https://github.com/DavidLiedle.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ErlangSwitchboard\nAn aggressive use of Codex from OpenAI to see what is possible.\n\n## Switchboard Application\n\nThis project provides a minimal Erlang application that can relay output from one AI provider to another. The core API is `switchboard:relay/3` which accepts an input string and two provider modules.\n\nExample usage (in an Erlang shell):\n\n```\n1\u003e switchboard:relay(\u003c\u003c\"Hello\"\u003e\u003e, ai_chatgpt, ai_gemini).\n```\n\nProvider modules implement the `ai_base` behaviour. The included modules `ai_chatgpt` and `ai_gemini` are placeholders that simply echo the input.\n\n## Running Tests\n\nThe project uses `rebar3` and includes eunit tests. Run them with:\n\n```\nrebar3 eunit\n```\n\n## Docker\n\nA simple `Dockerfile` is provided for running the application in a container:\n\n```\ndocker build -t erlang-switchboard .\ndocker run -it erlang-switchboard\n```\n\n## Continuous Integration\n\nGitHub Actions are configured to compile and test the application automatically on pushes and pull requests to the `main` branch.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidliedle%2Ferlangswitchboard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidliedle%2Ferlangswitchboard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidliedle%2Ferlangswitchboard/lists"}