投流数据文章相关服务开发

luojunhui f7a4152f99 add get_off_videos task 13 hours ago
applications f7a4152f99 add get_off_videos task 13 hours ago
routes 2c67796b0a add task manager 16 hours ago
.gitignore 18a8b26662 2025-01-03 修改gitignore文件 6 months ago
Dockerfile 7bcfa572f0 init 4 days ago
LICENSE d3cfb36cda Initial commit 11 months ago
README.md e2e3732589 update-readme 16 hours ago
app_config.toml 03bea18794 add task manager 16 hours ago
docker-compose.yaml 7aa217a476 init 4 days ago
requirements.txt a8a9bbc54c 提交测试版本 11 months ago
task_app.py e9e2d1772b add async aliyun log service 19 hours ago

README.md

LongArticleTaskServer

description: a server for long_articles project experiments and tasks

启动服务

use hypercorn

hypercorn task_app:app --config app_config.toml

use docker

docker compose up -d

项目结构

.
├── Dockerfile
├── LICENSE
├── README.md
├── app_config.toml
├── applications
│   ├── __init__.py
│   ├── api
│   │   ├── __init__.py
│   │   └── async_feishu_api.py
│   ├── config
│   │   ├── __init__.py
│   │   ├── aliyun_log_config.py
│   │   └── mysql_config.py
│   ├── database
│   │   ├── __init__.py
│   │   └── mysql_pools.py
│   ├── service
│   │   ├── __init__.py
│   │   ├── get_cover.py
│   │   └── log_service.py
│   ├── tasks
│   │   ├── __init__.py
│   │   ├── monitor_tasks
│   │   │   ├── __init__.py
│   │   │   └── kimi_balance.py
│   │   └── task_scheduler.py
│   └── utils
│       ├── __init__.py
│       ├── async_http_client.py
│       ├── get_cover.py
│       └── response.py
├── dev
│   ├── dev.py
│   └── run_task_dev.py
├── docker-compose.yaml
├── requirements.txt
├── routes
│   ├── __init__.py
│   └── blueprint.py
└── task_app.py