{"id":48133294,"url":"https://github.com/xhdndmm/webcat","last_synced_at":"2026-04-04T16:41:30.221Z","repository":{"id":338197940,"uuid":"1155805458","full_name":"xhdndmm/webcat","owner":"xhdndmm","description":"一个网页聊天工具","archived":false,"fork":false,"pushed_at":"2026-02-13T10:54:39.000Z","size":86,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-13T17:26:50.193Z","etag":null,"topics":["chatapp","css","flask","html","javascript","js","python","python3","sqlite","webapp","website"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/xhdndmm.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-11T23:26:44.000Z","updated_at":"2026-02-13T09:24:18.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/xhdndmm/webcat","commit_stats":null,"previous_names":["xhdndmm/webcat"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/xhdndmm/webcat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xhdndmm%2Fwebcat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xhdndmm%2Fwebcat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xhdndmm%2Fwebcat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xhdndmm%2Fwebcat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xhdndmm","download_url":"https://codeload.github.com/xhdndmm/webcat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xhdndmm%2Fwebcat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31405715,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T10:20:44.708Z","status":"ssl_error","status_checked_at":"2026-04-04T10:20:06.846Z","response_time":60,"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","css","flask","html","javascript","js","python","python3","sqlite","webapp","website"],"created_at":"2026-04-04T16:41:27.666Z","updated_at":"2026-04-04T16:41:30.211Z","avatar_url":"https://github.com/xhdndmm.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n    \u003ch1\u003eWebCat --- 一个网页聊天工具\u003c/h1\u003e\n    \u003ca href=\"https://github.com/xhdndmm/webcat/stargazers\"\u003e\u003cimg src=\"https://img.shields.io/github/stars/xhdndmm/webcat\" alt=\"Stars\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/xhdndmm/webcat/blob/main/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-MIT-green\" alt=\"License\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://www.python.org/download\"\u003e\u003cimg src=\"https://img.shields.io/badge/python-3.8%2B-blue\" alt=\"Python Version\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/xhdndmm/webcat/releases\"\u003e\u003cimg src=\"https://img.shields.io/github/downloads/xhdndmm/webcat/total\" alt=\"Downloads\"\u003e\u003c/a\u003e\n    \u003cbr\u003e\n    \u003cimg src=\"https://skillicons.dev/icons?i=py,flask,sqlite,html,js,css\" loading=\"lazy\"/\u003e\n    \u003cbr\u003e\n    \u003cimg src=\"./doc/img/屏幕截图_20260213_164404.jpg\" width=\"600\"\u003e\u003cimg\u003e\n\u003c/div\u003e\n\n## 项目源码结构\n```\n.\n├── app.py\n├── static\n│   ├── css\n│   │   ├── index.css\n│   │   └── register.css\n│   └── js\n│       ├── index.js\n│       └── register.js\n└── templates\n    ├── index.html\n    └── register.html\n\n5 directories, 7 files\n```\n\n## 使用说明\n### 1.先决条件\n首先你需要准备好[python3](https://www.python.org/downloads/)环境，然后下载[源代码](https://github.com/xhdndmm/webcat/releases)并解压。\n- 建议使用linux系统运行。\n### 2.准备运行环境\n#### 2.1创建python虚拟环境\n```shell\ncd /path/to/webcat\npython -m venv .venv\n```\n#### 2.2 安装依赖包\n```shell\n.venv/bin/pip install -r requirements.txt\n```\n### 3.运行程序\n```shell\ncd src/\n.venv/bin/python app.py\n```\n运行后会生成默认配置。\n```json\n{\n  \"log_path\": \"wc_log.log\",\n  \"db_path\": \"wc_db.db\",\n  \"secret_key\": \"123\"\n}\n```\n其中\n- `log_path`是日志路径\n- `db_path`是数据库路径\n- `secret_key`是socket安全密钥\n\n请按需修改配置文件，修改后即可使用`gunicorn`运行。\n```shell\n.venv/bin/pip install gunicorn eventlet\n.venv/bin/gunicorn --bind 0.0.0.0:5000 --worker-class eventlet -w 1 app:app\n```\n\n## 技术说明\n目前采用python+flask的后端，使用sqlite数据库存储用户信息与历史消息。前后端使用websocket保持连接来确保信息按时收发，分页加载历史消息。\n\n### 程序参数说明\n- `--debug`：调试模式，可在开发测试时使用\n\n## 问题反馈\n如果在使用中遇到问题，请在[Issues](https://github.com/xhdndmm/webcat/issues)页面反馈。\n\n## 贡献\n我们非常欢迎你来贡献代码等，但是请遵守以下几点：\n- 1.请将pr提交到dev分支。\n- 2.不要提交没有意义的代码及相关内容。\n- 3.不要提交未经测试的代码。\n\n## 协议\n本程序使用[MIT](./LICENSE)许可证。","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxhdndmm%2Fwebcat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxhdndmm%2Fwebcat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxhdndmm%2Fwebcat/lists"}