https://github.com/flaribbit/bakadict
离线的命令行日语词典
https://github.com/flaribbit/bakadict
dictionary offline sqlite tool
Last synced: about 2 months ago
JSON representation
离线的命令行日语词典
- Host: GitHub
- URL: https://github.com/flaribbit/bakadict
- Owner: flaribbit
- Created: 2023-01-08T14:45:01.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-04-01T12:44:22.000Z (about 2 years ago)
- Last Synced: 2025-03-18T13:32:56.555Z (2 months ago)
- Topics: dictionary, offline, sqlite, tool
- Language: Rust
- Homepage:
- Size: 23.4 KB
- Stars: 44
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bakadict
离线的命令行日语词典

## 安装
### Windows
#### 方法 1:手动安装
从 [Release 页面](https://github.com/flaribbit/bakadict/releases) 下载压缩包,解压到你喜欢的位置,然后添加路径到环境变量的 `PATH` 中。#### 方法 2:使用 scoop 安装(推荐)
```
scoop install https://raw.githubusercontent.com/flaribbit/bakadict/master/bakadict.json
```[scoop 是什么?](https://scoop.sh/)
### Linux, MacOS
#### Aur
```bash
paru -S bakadict-git
```#### 编译安装
- 准备 rust 环境
- 克隆本仓库
- 编译并安装本程序:
```bash
cargo build --release
cargo install --path .
```
- 下载数据库:
```bash
mkdir -p ~/.config/bakadict/databases
cd ~/.config/bakadict/databases
wget https://github.com/flaribbit/bakadict/releases/download/databases/jp.db
```## 使用方法
- `dict 割合`
- `dict わりあい`
支持使用汉字或假名查询
- `dict wariai`
来回切换输入法很蛋疼,因此本程序还支持使用罗马音查询!
- `dict wariai -`
习惯上完全匹配的结果在最前面,终端输出后默认视图在底部,可以末尾添加 `-` 来反向输出查询结果。