{"id":18273208,"url":"https://github.com/goodcoder666/oi-dictionary","last_synced_at":"2025-04-05T02:31:12.625Z","repository":{"id":181806284,"uuid":"610262346","full_name":"GoodCoder666/OI-Dictionary","owner":"GoodCoder666","description":"OIer 专属词典","archived":false,"fork":false,"pushed_at":"2024-06-24T06:40:27.000Z","size":53,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-20T21:19:00.905Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GoodCoder666.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-06T12:27:12.000Z","updated_at":"2024-09-19T07:27:30.000Z","dependencies_parsed_at":"2024-06-24T07:49:38.953Z","dependency_job_id":null,"html_url":"https://github.com/GoodCoder666/OI-Dictionary","commit_stats":null,"previous_names":["goodcoder666/oi-dictionary"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoodCoder666%2FOI-Dictionary","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoodCoder666%2FOI-Dictionary/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoodCoder666%2FOI-Dictionary/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoodCoder666%2FOI-Dictionary/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GoodCoder666","download_url":"https://codeload.github.com/GoodCoder666/OI-Dictionary/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247279395,"owners_count":20912877,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-05T12:05:36.302Z","updated_at":"2025-04-05T02:31:12.188Z","avatar_url":"https://github.com/GoodCoder666.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OI-Dictionary\n\nOIer 专属词典\n\n## 快速上手\n\n### 从打包版本运行（Windows 10及以上）\n\n前往[Releases](https://github.com/GoodCoder666/OI-Dictionary/releases)页面，下载最新版，解压后运行`OI Dictionary.exe`即可。\n\n后续会使用 GitHub Actions 进行编译（同时会提供 Mac OS 的打包版本），目前为人工本地构建。\n\n### 从源代码运行（全系统适用）\n\n1. 克隆存储库：\n\n   ```shell\n   $ git clone https://github.com/GoodCoder666/OI-Dictionary.git\n   $ cd OI-Dictionary\n   ```\n\n2. 安装依赖项：\n\n   ```shell\n   $ pip install -r requirements.txt\n   ```\n\n3. 运行主程序：\n\n   ```shell\n   $ python3 main.py\n   ```\n\n   Windows 下请使用：\n\n   ```shell\n   py main.py\n   ```\n\n## FAQs\n\nQ: 为什么要开发这个项目？\n\nA: 方便广大 OIer 在遇到不懂的词汇时快速找到释义。\n\nQ: 本项目与 [OI-wiki](https://github.com/OI-wiki/OI-wiki) 有什么区别？\n\nA: 主要有三点：\n\n1. 本项目收集了一些非正式用语（比如 BDFS），而 OI Wiki 没有。\n2. OI Wiki 上会对每种算法进行详细的解释，而本项目仅提供粗略的概念解释。\n3. 本项目是一个本地应用程序，不依赖任何网络资源；OI Wiki 是一个网站，不能离线使用。\n\n## Contributing\n\n- 如果你想修改前端代码，随意开 PR。\n- 如果你想添加/修改词典，请务必做到如下几点：\n  1. 在添加/修改后使用主程序测试能否正常使用。\n  2. 注意遵循 YAML 格式要求，详见下方。\n  3. 在 PR 标题中简要解释你做了什么，以方便 review。\n\n## 关于词典格式\n\n无论你是从源代码还是打包版本运行，词典文件均在`data`目录下。\n\n`data`目录包含：\n\n- `dict_info.yml`：词典描述文件，格式如下：\n\n  ```yaml\n  - name: 通用 # 指词典名称\n    path: dict/common.yml # 词典路径\n    description: OI专有名词，各方面通用。 # 词典解释\n  - name: 算法 # 同上\n    path: dict/algorithm.yml\n    description: 各类算法的名称缩写等。\n  # ...\n  ```\n\n- `dict`文件夹：各词典放置的文件夹，其中有`dict_info.yml`指定的各词典文件（YAML 格式），以`common.yml`（通用）为例：\n\n  ```yaml\n  - name: AC # 词汇名称\n    short_description: Accepted # 简要概括，搜索时展示\n    description: Accepted（通过）评测状态的缩写。 # 完整解释，打开释义框时才显示\n    sources: # 来源，可以有多个\n    - https://www.cnblogs.com/sasuke-/p/5516236.html\n    - https://atcoder.jp/contests/abc001/glossary\n    - https://help.luogu.com.cn/manual/luogu/problem/judging\n    - https://www.luogu.com/article/lwr2bdre\n  - name: CE\n    short_description: Compile Error\n    description: Compile Error（编译错误）评测状态的缩写。\n    sources: # 单个来源的例子\n    - https://atcoder.jp/contests/abc001/glossary\n  ```\n\n## 版权\n\n本项目使用 [GPLv3 版权许可](./LICENSE)。特别鸣谢：\n\n- [洛谷词典](https://www.luogu.com/article/lwr2bdre)：大部分洛谷/生活词汇的出处\n- [OI Wiki](https://oi-wiki.org/)：大部分算法词汇的出处","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoodcoder666%2Foi-dictionary","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoodcoder666%2Foi-dictionary","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoodcoder666%2Foi-dictionary/lists"}