Skip to content

TonyCui35/wechat-article-saver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

微信公众号文章下载器

📚 一个简洁的微信公众号文章离线保存工具,支持图片和视频下载。

功能特点

  • ✅ 输入链接一键下载
  • ✅ 自动下载所有图片和视频
  • ✅ 生成干净的离线HTML
  • ✅ 查看下载历史
  • ✅ 一键下载ZIP打包
  • ✅ Docker一键部署

快速开始

方式一:Docker 部署(推荐)

# 克隆项目
git clone https://github.com/yourname/wechat-article-saver.git
cd wechat-article-saver

# 启动服务
docker-compose up -d

# 访问
open http://localhost:8080

方式二:本地运行

# 安装依赖
pip install -r requirements.txt
playwright install chromium

# 启动
python app.py

# 访问
open http://localhost:5000

项目结构

├── app.py              # Flask 应用
├── templates/
│   └── index.html      # 前端页面
├── data/               # 数据目录
│   ├── articles.db     # SQLite 数据库
│   └── articles/       # 下载的文章
├── Dockerfile
├── docker-compose.yml
└── requirements.txt

服务器部署

# 1. 上传代码到服务器
scp -r . user@server:/path/to/app

# 2. SSH 登录服务器
ssh user@server

# 3. 进入目录并启动
cd /path/to/app
docker-compose up -d

# 4. 查看日志
docker-compose logs -f

常用命令

# 启动服务
docker-compose up -d

# 停止服务
docker-compose down

# 重建镜像
docker-compose build --no-cache

# 查看日志
docker-compose logs -f

License

MIT

About

📚 微信公众号文章离线下载器 - 支持图片、视频下载,Docker 一键部署

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors