{"id":19922448,"url":"https://github.com/gremble0/gochat","last_synced_at":"2026-06-05T22:31:44.678Z","repository":{"id":205040052,"uuid":"713221320","full_name":"gremble0/gochat","owner":"gremble0","description":"Go multi user TCP chat server. Sister project of cchat - the client for gochat","archived":false,"fork":false,"pushed_at":"2024-01-09T05:30:45.000Z","size":45,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-12T00:11:47.418Z","etag":null,"topics":["go","gochannels","golang","network","networking","tcp","tcp-server"],"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/gremble0.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}},"created_at":"2023-11-02T04:34:58.000Z","updated_at":"2023-12-10T21:29:59.000Z","dependencies_parsed_at":"2024-01-09T06:33:35.051Z","dependency_job_id":"0f29b461-98e3-4c28-91c4-d0f87f5b2f16","html_url":"https://github.com/gremble0/gochat","commit_stats":null,"previous_names":["gremble0/gochat"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gremble0%2Fgochat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gremble0%2Fgochat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gremble0%2Fgochat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gremble0%2Fgochat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gremble0","download_url":"https://codeload.github.com/gremble0/gochat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241348358,"owners_count":19948164,"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":["go","gochannels","golang","network","networking","tcp","tcp-server"],"created_at":"2024-11-12T22:11:01.963Z","updated_at":"2026-06-05T22:31:44.641Z","avatar_url":"https://github.com/gremble0.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-chat\nThis is a simple multi user chat program written in go. It has a sister project [cchat](https://github.com/gremble0/cchat) for connecting to the server.\n\n## Quick start\n### Initializing database\ngo-chat uses a postgresql to store data. This database needs to be initialized before you can run the server. To run the database locally simply connect to the postgres service on your machine, and run the file `init_db.sql`:\n```shell\n$ psql -U \u003cusername\u003e\n$ \\i init_db.sql\n```\nThis should create the database on your local machine and you are now ready to host the server.\n\n### Hosting the server\nTo host the server with the preconfigured defaults you can run the following command:\n```shell\nmake run\n```\nIf you would like to change the configuration for the server you can run the following command:\n```shell\nmake build\n```\nand add any desired command line arguments to the executable. For more information on how to configure the server:\n```shell\n./gochat --help\n```\n\n### Connecting to the server\nTo connect as a client you can do so with any program that allows tcp connections such as netcat, telnet or the designated [cchat](https://github.com/gremble0/cchat) client. The program is by default hosted on port 8080, so if you use netcat you could connect like this assuming the server is hosted locally:\n```shell\nnc 127.0.0.1 8080\n```\nTo connect to a remote hosted gochat server simply replace the local ip address with the remote one and everything should work like normal. For instructions on how to connect with the cchat client, see the documentation on that page.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgremble0%2Fgochat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgremble0%2Fgochat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgremble0%2Fgochat/lists"}