{"id":17017277,"url":"https://github.com/kidneyweakx/fakenews_server","last_synced_at":"2026-04-15T18:31:03.285Z","repository":{"id":158940167,"uuid":"281398442","full_name":"kidneyweakx/fakenews_server","owner":"kidneyweakx","description":"A chinese fakenews detected server","archived":false,"fork":false,"pushed_at":"2020-11-21T17:57:20.000Z","size":2271,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-22T15:36:31.262Z","etag":null,"topics":["flask","python","tesseract"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kidneyweakx.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2020-07-21T12:58:10.000Z","updated_at":"2022-01-29T12:33:06.000Z","dependencies_parsed_at":"2023-05-31T23:45:50.787Z","dependency_job_id":null,"html_url":"https://github.com/kidneyweakx/fakenews_server","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/kidneyweakx/fakenews_server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kidneyweakx%2Ffakenews_server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kidneyweakx%2Ffakenews_server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kidneyweakx%2Ffakenews_server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kidneyweakx%2Ffakenews_server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kidneyweakx","download_url":"https://codeload.github.com/kidneyweakx/fakenews_server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kidneyweakx%2Ffakenews_server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31854592,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"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":["flask","python","tesseract"],"created_at":"2024-10-14T06:36:14.554Z","updated_at":"2026-04-15T18:31:03.250Z","avatar_url":"https://github.com/kidneyweakx.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fakenews OCR Detect \n*使用前請先閱讀該文件!!!!!*\n\n### 📎 基本說明\n可使用圖片轉文字來偵測假新聞的伺服器實作。\n\n[範例網站](http://kidneyweakx.nctu.me/)\n\n### 🛠 開發環境\n- **IDE**: Visual Studio 2019 or VScode\n- **Python**: Python 3.7.6 :: Anaconda, Inc on Win32\n- **如果你是Linux環境**: 執行該檔案完成環境建置 [aptrequired.sh](./aptrequired.sh)\n```[shell]\n# 在終端機中執行該行指令\nbash aptrequired.sh\n```\n\n### 📜 功能列表\n- Flask Server\n    - [x] [主畫面](./templates/index.html)\n    - [x] [上傳圖片](./templates/upload.html)\n    - [x] 圖形介面\n    - [x] CSS美化\n    - [x] 返回假新聞回饋功能 \n- Tesseract\n    - [x] [圖片轉文字(OCR)功能](./utils/tesseract.py)\n- Texts Compare\n    - [x] [\u003cdel\u003eFlairs Model\u003c/del\u003e](./archives/ispam.py)\n    - [x]  SpaCy 相似度比對\n        - [x] [假新聞比對](./utils/similar.py)\n        - [x] 真新聞比對\n        - [x] 比對加速\n    - [x] 與資料庫中資料做對比\n        - [x] 詞性情感比對\n    - [x] (備案) 假新聞辨識模型 (無中文版)\n- Crawl\n    - [x] 爬取新聞資料\n    - [x] 自動爬取新增資料\n    - [x] 將爬取資料匯入資料庫\n- Deploy\n    - [x] [UWSGI 部屬](./uwsgi.ini)\n    - [x] [Nginx 反向代理](./nginxsetting.txt)\n    - [x] AWS EC2 上線\n    - [x] HTTPS 安全性\n    - [ ] 穩定度測試 \n\n\n\n### 🔔 環境執行前注意\n- 需先下載 tesseract軟體 [Windows載點](https://tesseract-ocr.github.io/tessdoc/4.0-with-LSTM.html)\n- [`tesseract.py`](./utils/tesseract.py) 根據你的tesseract應用程式下載位置更改 Line 7 值 \n``` [python]\n# 先執行該行程式將所有依賴套件下載好\npip install -r requirement.txt\n```\n[Requirement.txt](./requirement.txt)\nNOTE:*UWSGI可視情況不下載*\n- [`spacy`](https://spacy.io/usage) download chinese(zh_core_web_sm)\n``` [python]\n# 語言包需額外下載\npython -m spacy download zh_core_web_sm\n```\n\n\n### 💻 執行\n將爬取的CSV檔放入[data](./utils/data)資料夾便可執行\n```[python]\n# 執行該段後即可透過 localhost:port來瀏覽\npython app.py\n```\n\n### 🔧 依賴套件\n*主要運用這些套件*\n- [伺服器Flask](https://flask.palletsprojects.com/)\n- [NLP套件SpaCy](https://spacy.io/)\n- [OCR套件Tesseract](https://github.com/tesseract-ocr/tesseract/wiki)\n- [資料處理Pandas](https://pandas.pydata.org/)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkidneyweakx%2Ffakenews_server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkidneyweakx%2Ffakenews_server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkidneyweakx%2Ffakenews_server/lists"}