Skip to content

zouxiaofei1/Carbon-Monoxide

Repository files navigation

Carbon-Monoxide

Status Language

[中文] | English


⚠️ 注意 / Note

[CN] 本项目为一年前的练手作品,目前已无限期停止更新。由于百度贴吧的前端结构或反爬策略可能已发生变更,代码可能无法直接运行,仅供学习参考。

[EN] This is a practice project from a year ago and is indefinitely discontinued. As the structure or anti-crawling policies of Baidu Tieba may have changed, the code might not work out-of-the-box. It is for educational/archival purposes only.


📖 项目简介 (Project Description)

Carbon-Monoxide 是一个结合了 Electron 界面与 Python 爬虫的桌面应用程序。 开发初衷是为了自动化监控百度贴吧(主要是电脑/硬件相关贴吧),通过算法识别潜在的“电脑故障求助”帖子,并辅助用户进行快速回复。

✨ 功能特性

  1. 定向爬取:后端 Python 脚本自动爬取指定电脑相关贴吧的内容。
  2. 智能识别:分析帖子标题和内容,筛选出疑似电脑故障、硬件报错的求助帖。
  3. 实时推送:将筛选出的帖子推送到 Electron 前端界面展示。
  4. 自动/快捷回复
    • 点击推送列表后,提供预设的故障排查回答(如重装驱动、检查内存等)。
    • 支持配置自动回复功能,实现无人值守帮助。

🛠️ 技术栈

  • Frontend (GUI): Electron (HTML/CSS/JS, Vue.js based)
  • Backend (Logic): Python (Requests/BeautifulSoup for crawling)
  • Database: MySQL (用于存储帖子历史、回复模板及日志)

📖 English Description

Carbon-Monoxide is a desktop application combining an Electron GUI with a Python crawler. It was developed to automate the monitoring of Baidu Tieba (specifically computer/hardware related forums), identify potential "computer troubleshooting" threads, and assist in generating quick responses.

✨ Features

  1. Targeted Crawling: Python backend scripts automatically crawl content from specific computer-related forums on Baidu Tieba.
  2. Content Recognition: Analyzes thread titles and content to identify posts asking for help with computer faults or hardware errors.
  3. Push Notifications: Pushes identified threads to the Electron frontend interface.
  4. Auto/Quick Reply:
    • Upon clicking a pushed item, preset troubleshooting answers are displayed.
    • Supports automatic reply configuration for unattended operation.

🛠️ Tech Stack

  • Frontend (GUI): Electron (HTML/CSS/JS, likely using Vue.js loader)
  • Backend (Logic): Python
  • Database: MySQL

📂 目录结构 (File Structure)

基于截图的目录结构说明 / Structure based on repository:

  • css/, image/, js/: 前端资源文件 / Frontend resources
  • python/: 爬虫与核心逻辑脚本 / Crawler and backend logic
  • index.html, main.js: Electron 入口文件 / Electron entry points
  • vue-loader.js, webpack.config.js: 构建配置 / Build configurations
  • run.bat: 启动脚本 / Startup script

⚖️ 免责声明 (Disclaimer)

本项目仅用于编程学习与交流。 使用本项目中的爬虫代码可能会违反目标网站的服务条款。开发者不对任何因使用本项目代码而导致的账号封禁或法律风险负责。

This project is for educational purposes only. Using the crawler code in this project may violate the Terms of Service of the target website. The developer is not responsible for any account bans or legal issues arising from the use of this code.

About

Electron app to monitori Baidu Tieba hardware related forums, assist in generating quick responses.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors