ygopro-cn-database-generator

所属分类:数值算法/人工智能
开发工具:TypeScript
文件大小:1006KB
下载次数:0
上传日期:2020-10-12 02:31:19
上 传 者sh-1993
说明:  从NW帖子生成YGOPro CN数据库
(Generates YGOPro CN databases from NW posts)

文件列表:
.dockerignore (1692, 2020-10-10)
Dockerfile (249, 2020-10-10)
LICENSE (35149, 2020-10-10)
config.example.yaml (150, 2020-10-10)
package-lock.json (41339, 2020-10-10)
package.json (790, 2020-10-10)
run.ts (422, 2020-10-10)
src (0, 2020-10-10)
src\base.ts (476, 2020-10-10)
src\config.ts (631, 2020-10-10)
src\dbreader.ts (7320, 2020-10-10)
src\deck.ts (2083, 2020-10-10)
src\fetcher.ts (2120, 2020-10-10)
src\utility.ts (344, 2020-10-10)
templates (0, 2020-10-10)
templates\lflist.conf.j2 (334, 2020-10-10)
test (0, 2020-10-10)
test\data (0, 2020-10-10)
test\data\cards.sql (5244698, 2020-10-10)
test\fetch.ts (460, 2020-10-10)
test\lflist.ts (392, 2020-10-10)
tsconfig.json (241, 2020-10-10)

# ygopro-cn-database-generator [![pipeline status](https://code.mycard.moe/mycard/ygopro-cn-database-generator/badges/master/pipeline.svg)](https://code.mycard.moe/mycard/ygopro-cn-database-generator/-/commits/master) Generates CN env database from NWBBS posts. ## How to use 1. `npm ci && npm run build` 2. `git clone https://code.mycard.moe/mycard/ygopro-database ygopro-database` 3. `npm run start` 4. Pick the output database from `output/cards.cdb` . ## Configurations By default, configurations are not needed for default settings. Configurations are done by env vars as follows. * `POST_DEPTH` How many pages it would read in the homepage of NWBBS. * `CN_DATABASE_PATH` `JP_DATABASE_PATH` Japanese and Chinese database path. * `OUTPUT_PATH` Output path.

近期下载者

相关文件


收藏者