{"id":36922386,"url":"https://github.com/suapapa/relay-webchat","last_synced_at":"2026-01-12T16:23:16.300Z","repository":{"id":291430676,"uuid":"977598417","full_name":"suapapa/relay-webchat","owner":"suapapa","description":"Relay web-chat between browser and local server.","archived":false,"fork":false,"pushed_at":"2025-06-06T14:54:08.000Z","size":53995,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2025-06-06T15:42:45.166Z","etag":null,"topics":["go","react","webchat","websoket","widget"],"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/suapapa.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,"zenodo":null}},"created_at":"2025-05-04T15:16:30.000Z","updated_at":"2025-06-06T14:54:10.000Z","dependencies_parsed_at":"2025-05-05T03:39:28.076Z","dependency_job_id":null,"html_url":"https://github.com/suapapa/relay-webchat","commit_stats":null,"previous_names":["suapapa/webchat","suapapa/relay-webchat"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/suapapa/relay-webchat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suapapa%2Frelay-webchat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suapapa%2Frelay-webchat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suapapa%2Frelay-webchat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suapapa%2Frelay-webchat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/suapapa","download_url":"https://codeload.github.com/suapapa/relay-webchat/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suapapa%2Frelay-webchat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28342405,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T16:14:38.383Z","status":"ssl_error","status_checked_at":"2026-01-12T16:14:34.289Z","response_time":98,"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":["go","react","webchat","websoket","widget"],"created_at":"2026-01-12T16:23:15.647Z","updated_at":"2026-01-12T16:23:16.295Z","avatar_url":"https://github.com/suapapa.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Relay-WebChat\n\n![relay-webchat logo](_asset/relay-webchat_logo.webp)\n\n이 프로젝트는 개인 사이트, homin.dev 의 웹쳇 위젯을 로컬 서버에서 호스팅 하기 위해\n세 개의 컴포넌트로 구성되어 있습니다.\n\n```\n┌─────────────────┐        ┌─────────────┐      ┌─────────────┐\n│  WebChat Widget │◀─rest─▶│    Relay    │◀─ws─▶│  Processor  │\n│    (client)     │        │   (cloud)   │      │  (local AI) │\n└─────────────────┘        └─────────────┘      └─────────────┘\n```\n\n## WebChat Widget\n\nReact로 작성되어 있는 웹쳇 위젯.\n\nBuild:\n```sh\ncd webchat-widget\nnpm install\nnpm run build\n```\n\n웹페이지에 추가하기:\n1. `dist/webchat-widget.umd.js`를 적당한 곳에 호스팅.\n2. `dist/index.html` 파일을 참고해 웹쳇 위젯을 추가할 페이지에 다음의 예제와 같이 추가.\n\n```html\n\u003c/body\u003e\n  ...\n  \u003cscript src=\"https://example.com/asset/script/webchat-widget.umd.js\"\u003e\u003c/script\u003e\n\u003c/body\u003e\n```\n\n## Relay\n\n퍼블릭 클라우드에서 호스팅 중인, Go로 작성된 채팅 릴레이 서버.\n\n웹쳇 위젯으로 부터 받은 메세지를 웹소켓으로 연결되어 있는 프로세서 서버에 전달하여 처리 결과를 응답.\n\n## Processor\n\n로컬 서버에서 호스팅 하는, Go로 작성된 대화 처리 서버.\n\nOllama 등의 로컬 AI를 연결하여. 추가 서비스비용 없이 대화형 챗봇을 구현 가능.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuapapa%2Frelay-webchat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuapapa%2Frelay-webchat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuapapa%2Frelay-webchat/lists"}