{"id":22336959,"url":"https://github.com/ahmadhabibi14/vftalk","last_synced_at":"2026-03-10T13:05:04.402Z","repository":{"id":196498899,"uuid":"695801870","full_name":"ahmadhabibi14/vftalk","owner":"ahmadhabibi14","description":"AAAAAAAAAAAAAAAAAAAAAAAAAA","archived":false,"fork":false,"pushed_at":"2024-03-01T16:22:24.000Z","size":28825,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-27T11:50:25.042Z","etag":null,"topics":["chatapp","fiber-go","golang","handlebars","mysql","tailwindcss","websocket","zerolog"],"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/ahmadhabibi14.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-09-24T09:15:07.000Z","updated_at":"2024-10-12T03:20:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"ad7a1290-e3de-497f-9ef7-e669c5bfe2fa","html_url":"https://github.com/ahmadhabibi14/vftalk","commit_stats":null,"previous_names":["ahmadhabibi14/chat-app","ahmadhabibi14/vftalk"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ahmadhabibi14/vftalk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmadhabibi14%2Fvftalk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmadhabibi14%2Fvftalk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmadhabibi14%2Fvftalk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmadhabibi14%2Fvftalk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ahmadhabibi14","download_url":"https://codeload.github.com/ahmadhabibi14/vftalk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmadhabibi14%2Fvftalk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30334412,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T12:41:07.687Z","status":"ssl_error","status_checked_at":"2026-03-10T12:41:06.728Z","response_time":106,"last_error":"SSL_read: 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":["chatapp","fiber-go","golang","handlebars","mysql","tailwindcss","websocket","zerolog"],"created_at":"2024-12-04T06:08:26.160Z","updated_at":"2026-03-10T13:05:04.384Z","avatar_url":"https://github.com/ahmadhabibi14.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VFtalk - Chat App\n\n## Tech stack:\n- Programming Language: [Go-Lang](https://go.dev), [JavaScript](https://www.javascript.com/)\n- Http Router: [Go Fiber](https://gofiber.io)\n- Frontend Library: [Astro](https://astro.build/), [Svelte](https://svelte.dev)\n- UI Library: [TailwindCSS](https://tailwindcss.com/), [Svelte Icon Pack](https://leshak.github.io/svelte-icons-pack/)\n- DBMS: [MariaDB](https://mariadb.org/)\n- Container: [Docker](https://www.docker.com/)\n- CI/CD: [Github Action](https://docs.github.com/en/actions)\n- Web Server: [NGINX](https://www.nginx.com/)\n- SMTP: [Docker-mailserver](https://github.com/docker-mailserver/docker-mailserver), [Mailhog](https://github.com/mailhog/MailHog)\n\n### How to start development:\n\n```shell\n##### Install dependencies\ngo mod tidy\n\ncd views/pages\npnpm install\n\n##### Set up docker\ndocker-compose up -d\ndocker network create vftalk-network\n\n##### Start App\ngo run main.go web\n# or\nair web\n\n##### Start nodejs for build javascript or css stuff\ncd views/pages\npnpm watch\n```\n\n### MariaDB\n\n```shell\n##### Login to MariaDB CLI\ndocker exec -it vftalk-db mariadb -u root -p\n\n##### Database migration\n### Install golang-migrate\ngo install -tags \"postgres,mysql\" github.com/golang-migrate/migrate/v4/cmd/migrate@latest\n\n### Create Migration\nmigrate create -ext sql -dir database/migration migration_state\n## or\nmake migrate state=migration_state\n\n### Run migration\nmake migrate-up\nmake migrate-down\n## or\ngo run main.go migrate-up\ngo run main.go migrate-down\n\n```\n\n### Docker\n```shell\n# Remove all containers\ndocker rm -f $(docker ps -aq)\n\n# Remove containers\ndocker-compose down\n```\n\n### Deploy\n```shell\ncd deploy\n##### Execute deploy script, it will automatically do their magic\n./deploy.sh\n\n#### or\n## Configure github action script for CI/CD\n## add github secrets, make sure which variable to store as defined at .github/workflows/deploy.yaml\n```\n\n### TODO:\n- [x] User edit progile\n- [ ] Limit online users to only 20\n- [x] Login handler\n- [x] API rate limit\n- [x] Login page\n- [x] Fix layout to not overflow\n- [x] Responsive to mobile device\n- [ ] Turn to Progressive Web App (PWA)\n- [x] Add Database to store user data\n- [ ] Add Database to store chats\n- [x] User Info\n- [ ] Add Tenor API for stickers and GIFs\n- [ ] Upload picture in chats, and stickers from Tenor API\n- [x] Use mailhog for SMTP in development, add to docker\n- [x] Deploy to server (must use linux)\n- [x] Add MariaDB to docker-compose\n- [ ] Use docker-mailserver for SMTP in production\n- [x] User can edit profile picture\n- [ ] Image editor when update profile picture, specify for 1:1 ratio\n- [ ] Compress image after user uploaded it\n- [ ] Direct message\n- [ ] Notification (server sent event)\n- [ ] Active user list (for direct message)\n- [x] Database migration\n- [x] Add column for Google ID (OAuth) in MySQL\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmadhabibi14%2Fvftalk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahmadhabibi14%2Fvftalk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmadhabibi14%2Fvftalk/lists"}