v2: project cleanup, Desktop paths fixed, README updated, serve daemon added, mohe-xxm protocol documented

This commit is contained in:
hmo
2026-05-20 03:51:59 +08:00
parent 9e4c50a8a7
commit 3425ded733
10 changed files with 1090 additions and 163 deletions
+28
View File
@@ -0,0 +1,28 @@
@echo off
title WeChat History API
cd /d "%~dp0.."
set PYTHON=python
echo ========================================
echo WeChat History REST API Server
echo Port: 19001
echo ========================================
echo.
echo Starting history API server...
echo Endpoints:
echo GET http://localhost:19001/
echo GET http://localhost:19001/health
echo GET http://localhost:19001/api/contacts
echo GET http://localhost:19001/api/recent
echo GET http://localhost:19001/api/history?wxid=wxid_xxx^&count=20
echo POST http://localhost:19001/api/history
echo ========================================
echo.
set PYTHONHOME=
%PYTHON% api\history_api.py --port 19001
if %errorlevel% neq 0 (
pause
)