[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-10718":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":25,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":36,"readmeContent":37,"aiSummary":38,"trendingCount":16,"starSnapshotCount":16,"syncStatus":18,"lastSyncTime":39,"discoverSource":40},10718,"goflylivechat","taoshihan1991\u002Fgoflylivechat","taoshihan1991","开源在线客服系统GO语言开发GO-FLY,免费在线客服系统\u002FGOFLY LIVE CHAT: open source self-hosted private cloud customer support live chat software by golang","http:\u002F\u002Fgofly.uniqchat.com",null,"HTML",2540,721,46,35,0,1,2,13,3,64.88,"Apache License 2.0",false,"master",true,[27,28,29,30,31,32,33,34,35],"chat","chatbot","customer-service","customer-support","golang","livechat","private-cloud","self-hosted","web-chat","2026-06-12 04:00:52","## GOFLY LIVE CHAT\nOpen-source live chat support system, built for modern customer service\n\n​​Real-time messaging​​ - Instant connection between customers and support teams\n\nLightning-fast performance​​ - Powered by Golang for high-concurrency handling\n\n### Technical Architecture​\n\nA modern stack built for performance and scalability​\n \n- Backend: `gin`, `jwt-go`, `websocket`, `go.uuid`, `gorm`, `cobra`  \n- Frontend: `VueJS`, `ElementUI`  \n- Database: `MySQL`  \n\n---\n\n### Installation & Usage  \n\n#### 1. Set Up MySQL Database  \n- Install and run MySQL (version ≥ 5.5).  \n- Create a database:  \n```sql\n  CREATE DATABASE goflychat CHARSET utf8mb4;\n ```  \n*  Configure Database Connection\n   Edit mysql.json in the config directory:\n```php\n{\n\t\"Server\":\"127.0.0.1\",\n\t\"Port\":\"3306\",\n\t\"Database\":\"goflychat\",\n\t\"Username\":\"goflychat\",\n\t\"Password\":\"goflychat\"\n}\n```\n* Install and Configure Golang\n  Run the following commands:\n```php\nwget https:\u002F\u002Fstudygolang.com\u002Fdl\u002Fgolang\u002Fgo1.20.2.linux-amd64.tar.gz\ntar -C \u002Fusr\u002Flocal -xvf go1.20.2.linux-amd64.tar.gz\nmv go1.20.2.linux-amd64.tar.gz \u002Ftmp\necho \"PATH=\\$PATH:\u002Fusr\u002Flocal\u002Fgo\u002Fbin\" >> \u002Fetc\u002Fprofile\necho \"PATH=\\$PATH:\u002Fusr\u002Flocal\u002Fgo\u002Fbin\" >> ~\u002F.bashrc\nsource \u002Fetc\u002Fprofile\ngo version\ngo env -w GO111MODULE=on\ngo env -w GOPROXY=https:\u002F\u002Fgoproxy.cn,direct\n```\n* Download the Source Code\n\n  Clone the repository in any directory:\n```php\ngit clone https:\u002F\u002Fgithub.com\u002Ftaoshihan1991\u002Fgoflylivechat.git\ncd goflylivechat  \n ```  \n* Initialize the Database\n ```php\n go run main.go install\n ```  \n* Run the Application\n```php\n go run main.go server\n ```\n* ​​Build executable\n```php\n go build -o gochat\n```\n* ​​Run binary​​:\n```php\n  Linux: .\u002Fgochat server (optional flags: -p 8082 -d)\n  \n  Windows: gochat.exe server (optional flags: -p 8082 -d)\n```  \n* Terminate the Process\n```php\n   killall gochat\n``` \n\nOnce running, the service listens on port 8081. Access via http:\u002F\u002F[your-ip]:8081.\n\nFor domain access, configure a reverse proxy to port 8081 to hide the port number.\n### Customer Service Integration\nChat Link\n\nhttp:\u002F\u002F127.0.0.1:8081\u002Flivechat?user_id=agent\n\nPopup Integration\n\n```\n\u003Cscript>\n    (function(global, document, scriptUrl, callback) {\n        const head = document.getElementsByTagName('head')[0];\n        const script = document.createElement('script');\n        script.type = 'text\u002Fjavascript';\n        script.src = scriptUrl + \"\u002Fstatic\u002Fjs\u002Fchat-widget.js\";\n        script.onload = script.onreadystatechange = function () {\n            if (!this.readyState || this.readyState === \"loaded\" || this.readyState === \"complete\") {\n                callback(scriptUrl);\n            }\n        };\n        head.appendChild(script);\n    })(window, document, \"http:\u002F\u002F127.0.0.1:8081\", function(baseUrl) {\n        CHAT_WIDGET.initialize({\n            API_URL: baseUrl,\n            AGENT_ID: \"agent\",\n        });\n    });\n\u003C\u002Fscript>\n```\n### Important Notice  \nThe use of this project for illegal or non-compliant purposes, including but not limited to viruses, trojans, pornography, gambling, fraud, prohibited items, counterfeit products, false information, cryptocurrencies, and financial violations, is strictly prohibited.  \n\nThis project is intended solely for personal learning and testing purposes. Any commercial use or illegal activities are explicitly forbidden!!!  \n\n\n\n### Copyright Notice\nThis project provides full-featured code but is intended ​​only for personal demonstration and testing​​. Commercial use is strictly prohibited.\n\nBy using this software, you agree to comply with all applicable local laws and regulations. ​​You are solely responsible for any legal consequences arising from misuse.​","goflylivechat 是一个用 Go 语言开发的开源在线客服系统，旨在为现代客户服务提供实时聊天支持。其核心功能包括即时消息传递，确保客户与支持团队之间能够快速建立联系；得益于 Go 语言的高效并发处理能力，该系统在性能上表现出色。技术架构方面，后端采用 gin、jwt-go 等库实现安全认证及WebSocket通信，前端则基于 VueJS 和 ElementUI 构建用户界面，数据库使用 MySQL 存储数据。适用于需要自托管私有云环境下的企业级客户支持场景，如电子商务网站、在线服务平台等，便于集成到现有Web应用中以增强用户体验。","2026-06-11 03:29:53","top_topic"]