{"id":21714813,"url":"https://github.com/redraw/microchat","last_synced_at":"2025-03-20T19:24:34.126Z","repository":{"id":243963869,"uuid":"809459574","full_name":"redraw/microchat","owner":"redraw","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-08T22:02:01.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-25T17:33:18.362Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/redraw.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":"2024-06-02T18:43:22.000Z","updated_at":"2024-06-12T00:18:14.000Z","dependencies_parsed_at":"2024-06-16T11:33:50.471Z","dependency_job_id":null,"html_url":"https://github.com/redraw/microchat","commit_stats":null,"previous_names":["redraw/microchat"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redraw%2Fmicrochat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redraw%2Fmicrochat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redraw%2Fmicrochat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redraw%2Fmicrochat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/redraw","download_url":"https://codeload.github.com/redraw/microchat/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244676454,"owners_count":20491828,"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","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":"2024-11-26T00:38:57.027Z","updated_at":"2025-03-20T19:24:34.120Z","avatar_url":"https://github.com/redraw.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# chat\n\nTCP chat started from [plutov/packagemain](https://github.com/plutov/packagemain)\n\n## Install\n\n```sh\ngo install github.com/redraw/microchat\n```\n\nor you can download a compiled binary from [Releases](https://github.com/redraw/microchat/releases/latest)\n\n## Usage\n\n```sh\nUsage of ./dist/microchat:\n  -addr string\n        port to run the server on (default \":8888\")\n  -autojoin string\n        channel to join\n  -cert string\n        TLS certificate file (default \"server.crt\")\n  -key string\n        TLS key file (default \"server.key\")\n  -mode string\n        mode to run the app (server or client) (default \"client\")\n  -nick string\n        nickname to use in chat\n  -skip-verify\n        skip TLS certificate verification on client\n  -tls\n        enable TLS\n```\n\n### Server\n\n```sh\nmicrochat -mode=server -addr :4321\n```\n\nYou can add TLS by passing your cert .crt and .key files,\n\n```sh\nmicrochat -mode=server -addr :4321 -tls -cert=server.crt -key=server.key\n```\n\nHere's a handy command to generate a self-signed cert,\n```sh\nopenssl req -x509 -nodes -newkey rsa:4096 -keyout server.key -out server.crt -days 365 -subj \"/CN=localhost\"\n```\n\n\n### Client\n\n```sh\nmicrochat -addr :4321\n```\n\nYou can also connect using TLS,\n\n```sh\nmicrochat -addr :4321 -tls\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredraw%2Fmicrochat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredraw%2Fmicrochat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredraw%2Fmicrochat/lists"}