Go to file
cheney 1c07b417ce
All checks were successful
Docker Build and Push / build-image (push) Successful in 5m27s
暂时还是内网部署
2026-04-26 17:03:43 +08:00
.gitea/workflows retry 2026-04-06 13:56:27 +08:00
components 增加数据-人民币汇率 2026-04-25 19:48:19 +08:00
content/articles 添加文字 2026-04-10 22:25:14 +08:00
generated/prisma 第一个爬虫,但是感觉是不能用的。 2026-04-17 20:37:44 +08:00
lib 增加数据库 2026-04-09 22:07:23 +08:00
pages 对比图完成 2026-04-26 11:41:39 +08:00
prisma 第一个爬虫,但是感觉是不能用的。 2026-04-17 20:37:44 +08:00
scripts 对比图完成 2026-04-26 11:41:39 +08:00
styles 增加数据-人民币汇率 2026-04-25 19:48:19 +08:00
utils 丰富内容 2026-04-06 09:11:22 +08:00
.env 添加汇率数据 2026-04-25 19:22:57 +08:00
.gitignore 初始化 2026-04-03 22:00:00 +08:00
Dockerfile 暂时还是内网部署 2026-04-26 17:03:43 +08:00
package-lock.json 添加汇率数据 2026-04-25 19:22:57 +08:00
package.json 添加汇率数据 2026-04-25 19:22:57 +08:00
prisma.config.ts 增加数据库 2026-04-09 22:07:23 +08:00
readme 添加汇率 scraper 2026-04-25 12:16:41 +08:00

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# iBoard
用于收集和整理经济数据,但是以策略为主体重新组织。
- 首页主要是放经济文章
- 数据主要是放各种经济数据和图表。
- 策略是放按照经济理论组织的相关数据和图表的对比。


## 爬虫
- 基于 bun 的定时任务
- 统一获取接口
- 统一爬取接口
```
async function fetch(startDate = null, endDate = null)
async function trigger(startDate = null, endDate = null)
```
不传递startDate和endDate默认默认获取最近30天的数据。

fecher 负责从目标网站获取原始数据
scraper 负责检查数据库中的数据是否完整,调用 fecher 将数据存储到数据库。