Commit Graph

622 Commits

Author SHA1 Message Date
666ghj 14a164a260 Completed requirements.txt, fixed the Dockerfile, and updated the README. Significantly refactored the sentiment analyzer to be more robust against missing machine learning dependencies and controllable via a toggle. 2025-10-31 01:30:20 +08:00
Doiiars 1d714d443e 改为使用uv安装,更加快速,且修复torch和transformers未安装的问题
改为使用uv安装,更加快速,且修复torch和transformers未安装的问题
2025-10-31 01:23:57 +08:00
666ghj 7eec3a104b Update Trend List. 2025-10-30 16:18:34 +08:00
666ghj a9893ea3f3 Update remote deployment guide. 2025-10-30 14:45:36 +08:00
Mingxiangyu f6d52b90f0 修复:使用动态主机地址支持局域网内后端服务访问
Updated iframe source URLs to use the window's hostname instead of localhost.本次提交解决了局域网内其他设备无法正常访问后端服务的问题。此前前端代码中硬编码了localhost作为后端服务的主机地址,导致其他设备访问时,localhost会指向设备自身而非实际运行服务的主机,从而无法连接后端。
主要修改内容:
将前端中硬编码的localhost替换为window.location.hostname,动态获取当前页面的主机 IP(即运行服务的电脑局域网 IP)。
涉及修改的关键位置:
preloadIframes函数:预加载 iframe 时,使用动态主机地址生成后端服务 URL(如http://${window.location.hostname}:8501)。
performSearch函数:发送搜索请求时,同样使用动态主机地址构建请求 URL,确保后端接口调用正确指向服务主机。
注意事项:
为确保局域网访问正常,后端服务(运行在 8501、8502、8503 等端口)需配置为绑定到0.0.0.0(而非默认的localhost),以允许来自局域网的连接。例如,Python 服务可通过app.run(host='0.0.0.0', port=8501)启动。
效果:
修改后,局域网内其他设备通过服务主机的局域网 IP(如192.168.1.100)访问前端页面时,可自动正确连接到后端服务,实现跨设备正常使用。
2025-10-30 12:09:42 +08:00
BaiFu b1ec4762cb Update README-EN.md 2025-10-16 18:33:42 +08:00
BaiFu c94f43d5b4 Update README.md 2025-10-16 18:30:15 +08:00
BaiFu 3afa16b6bc Add note on news API failure and solution. 2025-10-15 21:32:32 +08:00
BaiFu 35084eb41f Update custom sponsorship URL in FUNDING.yml 2025-10-11 12:33:08 +08:00
BaiFu bee8bb0630 Add sponsor image. 2025-10-11 12:30:44 +08:00
BaiFu 4ce82736ed Update README.md 2025-10-10 22:25:01 +08:00
666ghj 065b9878c5 Update cloud database service information and compliance notice in config and README files. 2025-10-09 21:15:49 +08:00
666ghj 04f18dfadb Add initial Docker configuration. 2025-10-09 16:28:37 +08:00
戒酒的李白 6ceb0070a3 Update README.md 2025-10-09 14:51:42 +08:00
666ghj 9b16ff60f6 Update README. 2025-10-09 14:50:44 +08:00
666ghj a3f6aa4ff7 Merge branch 'main' of https://github.com/666ghj/Weibo_PublicOpinion_AnalysisSystem 2025-10-09 13:45:43 +08:00
666ghj 154b29c0d7 Completely refactor the LLM integration method to easily replace the LLM used by each module and optimize the retransmission mechanism. 2025-10-09 13:45:39 +08:00
戒酒的李白 daea4f2cf3 Update README.md 2025-10-09 13:08:07 +08:00
戒酒的李白 bf79e518c9 Update README.md 2025-10-09 13:06:49 +08:00
666ghj ce74f00137 Update logo. 2025-10-09 12:52:42 +08:00
666ghj 49d4893780 Standardize LLM clients and expose configurable base URLs. 2025-10-09 02:23:08 +08:00
666ghj 960608cee9 Migrate Forum Host and Keyword Optimizer to use OpenAI client. 2025-10-08 23:01:23 +08:00
戒酒的李白 45bffb3832 Update README.md 2025-10-08 01:49:19 +08:00
666ghj e70fceb3f3 Optimize sentiment analysis module fault tolerance and keyword optimizer prompts. 2025-10-08 01:40:19 +08:00
666ghj 52eca47ce3 Add Logo. 2025-10-08 01:26:54 +08:00
666ghj 7fc84b42ca Merge branch 'main' of https://github.com/666ghj/Weibo_PublicOpinion_AnalysisSystem 2025-10-08 01:20:12 +08:00
666ghj 847eeb606c Add Logo. 2025-10-08 01:20:08 +08:00
戒酒的李白 9f8b571877 Update README.md 2025-10-07 22:35:02 +08:00
666ghj 55c8051fb8 Merge branch 'main' of https://github.com/666ghj/Weibo_PublicOpinion_AnalysisSystem 2025-10-07 21:52:41 +08:00
666ghj 85b3769718 Front-end title modification. 2025-10-07 21:52:38 +08:00
戒酒的李白 ce77cc3475 Update README.md 2025-10-07 21:48:14 +08:00
戒酒的李白 7d9be85f77 Update README.md 2025-10-07 20:26:28 +08:00
戒酒的李白 4a206c2bc8 Update README.md 2025-10-07 20:23:55 +08:00
戒酒的李白 81548a75d1 Update README.md 2025-10-07 19:48:03 +08:00
666ghj 1f5522be09 Enhance prompts for fact-checking and professional analysis. 2025-10-05 20:46:34 +08:00
戒酒的李白 8442865685 Update README.md 2025-10-05 11:46:54 +08:00
666ghj 3191a19b2f Update README. 2025-10-03 20:02:33 +08:00
戒酒的李白 7b5da08aac Update README to include reference. 2025-09-20 16:17:22 +08:00
666ghj 1af404473b Add deployment guidance to the documentation. 2025-09-17 00:04:11 +08:00
666ghj cec8ed3826 Improve forum communication mechanism between agents. 2025-09-16 22:09:19 +08:00
666ghj ba48e77c38 Remove forum host asynchronous strategy and simplify the process. 2025-09-16 20:47:02 +08:00
666ghj 38dca27d81 Update the README file and add documentation for the Forum Moderator LLM module. 2025-09-16 01:22:19 +08:00
戒酒的李白 6181e19f55 Updated README files, added disclaimer section, clarifying project usage limitations and legal responsibilities. 2025-09-10 23:03:58 +08:00
戒酒的李白 860cdb2f25 Fix simple word spelling errors. 2025-09-10 17:12:43 +08:00
YYL469 05a0eeb323 Updating LLM-host for ForumEngine 2025-09-10 16:33:27 +08:00
戒酒的李白 348de85901 Update readme. 2025-09-02 00:41:22 +08:00
戒酒的李白 1812c47a96 Update readme. 2025-09-02 00:39:32 +08:00
戒酒的李白 b5e6b3ac11 Update readme. 2025-09-02 00:37:07 +08:00
戒酒的李白 cd9fd97df2 Upload the framework diagram. 2025-09-02 00:09:22 +08:00
戒酒的李白 6c11781501 Update project overview header icon 2025-08-31 14:38:46 +08:00