{"id":15095959,"url":"https://github.com/thefeij/chat-hub","last_synced_at":"2026-01-07T05:03:49.285Z","repository":{"id":241958758,"uuid":"808207188","full_name":"TheFeij/Chat-Hub","owner":"TheFeij","description":"A Simple Chat Server","archived":false,"fork":false,"pushed_at":"2024-06-05T09:24:11.000Z","size":185,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-01T17:44:19.010Z","etag":null,"topics":["css","docker","gin-gonic","golang","gorilla-websocket","gorm","html","javascript","paseto-tokens","postgresql","unit-testing"],"latest_commit_sha":null,"homepage":"https://chat-hub.liara.run","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/TheFeij.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-05-30T15:38:56.000Z","updated_at":"2024-06-05T09:24:15.000Z","dependencies_parsed_at":"2024-06-04T18:35:09.615Z","dependency_job_id":"d21b4f54-394b-406e-8f63-8527c6decb1b","html_url":"https://github.com/TheFeij/Chat-Hub","commit_stats":{"total_commits":115,"total_committers":1,"mean_commits":115.0,"dds":0.0,"last_synced_commit":"e34c9b74933bd401c66c74696cf66fe0843fa852"},"previous_names":["thefeij/chat-server","thefeij/chat-hub"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheFeij%2FChat-Hub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheFeij%2FChat-Hub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheFeij%2FChat-Hub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheFeij%2FChat-Hub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheFeij","download_url":"https://codeload.github.com/TheFeij/Chat-Hub/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245852714,"owners_count":20683082,"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":["css","docker","gin-gonic","golang","gorilla-websocket","gorm","html","javascript","paseto-tokens","postgresql","unit-testing"],"created_at":"2024-09-25T15:44:18.287Z","updated_at":"2026-01-07T05:03:44.255Z","avatar_url":"https://github.com/TheFeij.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chat Hub\n\nA chat server developed with Golang.\n\nSignup and chat with other people in the hub!\n\n![Chat Page Screenshot](./screenshots/chat.png)\nWebsite: https://chat-hub.liara.run\n\n## Table of Contents\n\n- [Introduction](#introduction)\n- [Features](#features)\n- [Usage](#usage)\n- [API Endpoints](#api-endpoints)\n\n## Introduction\n\nThis project is a chat server developed with golang. Users can sign up\nin the server and join the chat server where they will be able to chat with \nother people in the hub. Chats are stored in the server so messages will remain\nin the chat and users are able to see previous messages\n\n## Features\n\nThis project uses\n\n- [Gin](https://github.com/gin-gonic/gin) as its HTTP web framework to develop REST APIs\n- [GORM](https://gorm.io/) as its ORM to interact with the database\n- [Postgresql](https://www.postgresql.org/) as the database\n- [Gorilla websocket](https://github.com/gorilla/websocket) package to handle websocket connections\n- [Docker](https://www.docker.com/) to create docker image of the app\n- [PASETO](https://paseto.io/) tokens to handle Authorization logic\n\n## Usage\n\n### Sign Up\nChoose a username and password and sign up!\n![Sign up Page Screenshot](./screenshots/singup.png)\n\n### Login\nIf you already have an account, enter your username and password and log in!\n![Login Page Screenshot](./screenshots/login.png)\n\n### Chat\nAfter a Successful login or signup now you can chat with other people in the hub!\n![Chat Page Screenshot](./screenshots/chat.png)\n\n## API Endpoints\n- POST /api/signup ---\u003e signup a new user.\n- POST /api/login ---\u003e login user.\n- POST /api/refresh ---\u003e refresh access token.\n- GET /api/chat ---\u003e start a websocket connection with the server","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthefeij%2Fchat-hub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthefeij%2Fchat-hub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthefeij%2Fchat-hub/lists"}