Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
the1812 committed Aug 5, 2023
1 parent b0387bb commit 720e0b7
Show file tree
Hide file tree
Showing 7 changed files with 42 additions and 16 deletions.
26 changes: 10 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# Touhou Tagger

<div align="center">
<img src="./logo.svg" height="300" />
</div>

[THBWiki](http://thwiki.cc/首页) 自动填写东方 Project CD 曲目信息.

支持的曲目信息包括:
Expand All @@ -17,6 +22,10 @@
- 发布年份
- 封面图片

<div align="center">
<img src="./example.jpg" width="1200" />
</div>

## 安装 / 更新
需要事先装有 [Node.js](https://nodejs.org/en/)[pnpm](https://pnpm.io/installation), 然后使用以下命令来安装此工具:
```powershell
Expand All @@ -34,21 +43,6 @@ thtag

如果最后输入的名称没有**精确匹配**的专辑(**精确匹配**在 THBWiki 中表现为输入到搜索框回车能直接跳转到词条), 则会列出以此名称在 THBWiki 中的搜索结果, 可以继续选择一项作为专辑信息. (有精确匹配的话会直接开始下载专辑信息)

<details><summary><strong>图片示例</strong></summary>
<div>
<img src="./before-files.jpg" alt="example" width="800">
</div>
<div>
<img src="./before.jpg" alt="example" width="400">
</div>
<div>
<img src="./after-files.jpg" alt="example" width="800">
</div>
<div>
<img src="./after.jpg" alt="example" width="400">
</div>
</details>

## 选项
### 保存封面为单独的文件
文件名为 `cover`, 类型取决于 THBWiki 上的资源
Expand Down Expand Up @@ -378,7 +372,7 @@ thtag dump
`thtag dump` 也可以和部分选项结合使用:
- `--cover`: 同时提取封面图片
- `--debug`: 额外保存一个 `metadata.debug.json` 文件, 记录原始的数据结构
- `--batch`: (未完成) 批量进行提取
- `--batch`: 批量进行提取


## 特别感谢
Expand Down
Binary file removed after-files.jpg
Binary file not shown.
Binary file removed after.jpg
Binary file not shown.
Binary file removed before-files.jpg
Binary file not shown.
Binary file removed before.jpg
Binary file not shown.
Binary file added example.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 32 additions & 0 deletions logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 720e0b7

Please sign in to comment.