Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from RealKai42:master #5

Open
wants to merge 150 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
150 commits
Select commit Hold shift + click to select a range
d8d4a1f
feat: add 外研新起点
RealKai42 Mar 25, 2024
5186eed
feat: gre 词以类记
RealKai42 Mar 25, 2024
7d92c13
日语词典,英文改成中文翻译 (#765)
suzulang Mar 27, 2024
3561d61
更换 link 为 audio 防止触发下载事件 (#769)
grey6966 Mar 28, 2024
bc3b9d8
fix: 解决输入空格导致下拉框启用的问题
May 22, 2024
3426282
@feat (add dict): 新东方 100个句子记完7000个雅思单词 (#795)
sinjinshi Jun 11, 2024
da9313f
fix: 解决输入空格导致下拉框启用的问题 (#793)
rainnoon Jun 11, 2024
33d1f36
【优化】简单优化了一下StartButton按钮的逻辑 (#788)
JayChou404 Jun 11, 2024
89b4492
chore(config): Update settings.json (#786)
huchase Jun 11, 2024
b0a147a
chore: docker compose deployment (#771)
luojiyin1987 Jun 11, 2024
2ad76e7
feat: support kazakh language with hapin (#772)
HerbertHe Jun 11, 2024
ab21d61
New dic "GRE 1500" (#802)
Pupa-at-large Jun 24, 2024
c726aae
feat: add dict
RealKai42 Jul 10, 2024
008a367
fix: lint typo
RealKai42 Jul 10, 2024
4d32f2c
fix: typo
RealKai42 Jul 10, 2024
fafb553
fix: 修复新概念英语-1里的一些错误单词 (#811)
sankeyangshu Jul 11, 2024
c7a87a3
fix: update qr code
RealKai42 Aug 12, 2024
45f8ffa
Adds beijing junior high school English dictionary. (#810)
YingbingGit Aug 14, 2024
1089f97
fix: remove invalid entries and correct spelling in dictionary files …
HashCookie Aug 14, 2024
bd16853
bugfix: fix PEP_SL_XiaoXue1_2_t.json load error (#821)
winglechen Aug 14, 2024
c43068a
docs: add Japanese README (#822)
eltociear Aug 14, 2024
30291ef
fix(error_book): correct WordPronunciationIcon props for pronunciatio…
baekilda Aug 14, 2024
ca8ad5c
feat: update dicts
RealKai42 Aug 21, 2024
ca09084
docs: lint
RealKai42 Aug 21, 2024
c7ac210
Update raz-AA.json (#830)
wlbksy Aug 21, 2024
3fd8cc2
Arduino编程 (#831)
fmeng Aug 21, 2024
119c505
Update IELTS-oral-900.json (#834)
hippieZhou Aug 21, 2024
ac2dc28
Merge branch 'RealKai42:master' into master
rainnoon Aug 28, 2024
3b878ee
fix(public-dicts): 修正app和application的定义 (#836)
Onion-L Aug 30, 2024
33a9289
feat: Added deletion functionality for the homepage and vocabulary er…
rainnoon Aug 30, 2024
eb091d3
Merge branch 'RealKai42:master' into master
rainnoon Aug 30, 2024
0fb69f8
feat: Centered in Error notebook (#841)
rainnoon Sep 4, 2024
359cc3c
fix: chapter error notebook label (#842)
rainnoon Sep 4, 2024
7d64f90
Update IELTS_WANG_11.json (#843)
hippieZhou Sep 4, 2024
c399dc8
Update IELTS-oral-900.json (#844)
hippieZhou Sep 4, 2024
1016b49
Merge branch 'RealKai42:master' into master
rainnoon Sep 6, 2024
bc5bfab
feat: "add svg bg"
rainnoon Sep 6, 2024
60483df
feat: "add title"
rainnoon Sep 6, 2024
3233ca2
feat: "add carousel"
rainnoon Sep 6, 2024
55c0080
feat: "add subtitle"
rainnoon Sep 6, 2024
2329794
feat: "add bottom"
rainnoon Sep 6, 2024
a81e342
fix: "Extra Class"
rainnoon Sep 6, 2024
78cac4d
Add Indonesian Dictionary (#845)
zhuaiyi Sep 9, 2024
2c52f95
添加雅思听力18天听力单词库 (#849)
104496727 Sep 9, 2024
afcbf5b
修复单词缺失的问题
chenting1 Sep 9, 2024
895f18b
feat: polish detail
RealKai42 Sep 9, 2024
20ff292
Merge pull request #847 from rainnoon/feat/mobile
RealKai42 Sep 9, 2024
e00401d
Merge pull request #850 from 104496727/master
RealKai42 Sep 9, 2024
9225776
feat: update IELTS9988wangyong dict
RealKai42 Sep 9, 2024
5b9062d
feat: update IELTS9988wangyong dict
RealKai42 Sep 9, 2024
cccccf7
docs: update readme
RealKai42 Sep 12, 2024
92620a7
docs: update readme
RealKai42 Sep 12, 2024
ab66664
专升本3000词
usemain Sep 19, 2024
5993095
feat: add 2025kaoyaohongbaoshu
hubingkang Sep 20, 2024
4c91afa
feat: 2025kaoyanhongbaoshu
hubingkang Sep 20, 2024
826bb48
Create Newwaiyan7-1
angrykg Sep 27, 2024
0731589
feat: add OI/XCPC dict
shiquda Oct 7, 2024
b8b8605
fix: error
RealKai42 Oct 8, 2024
7d0823a
Merge pull request #852 from SixRrs/add-dictionary
RealKai42 Oct 8, 2024
93df1f7
fix: error
RealKai42 Oct 8, 2024
c97ec46
专升本3000词
usemain Sep 19, 2024
10edaa4
fix: error
RealKai42 Oct 8, 2024
0e8966a
专升本3000词
usemain Sep 19, 2024
ed1912e
fix: error
RealKai42 Oct 8, 2024
3272327
Merge branch 'master' into add_2025kaoyanhongbaoshu
RealKai42 Oct 8, 2024
81fcdb3
Merge pull request #854 from hubingkang/add_2025kaoyanhongbaoshu
RealKai42 Oct 8, 2024
d957b2b
feat: add 2025kaoyaohongbaoshu
hubingkang Sep 20, 2024
14c0d42
feat: 2025kaoyanhongbaoshu
hubingkang Sep 20, 2024
0471571
fix: error
RealKai42 Oct 8, 2024
8948d91
专升本3000词
usemain Sep 19, 2024
f8e0bd1
fix: error
RealKai42 Oct 8, 2024
df9684d
专升本3000词
usemain Sep 19, 2024
86ad89c
fix: error
RealKai42 Oct 8, 2024
f975ec9
专升本3000词
usemain Sep 19, 2024
44a798c
fix: error
RealKai42 Oct 8, 2024
07cebc1
Add new dictionary resource for "新外研七年级上册"
RealKai42 Oct 8, 2024
2f65c43
Merge pull request #855 from angrykg/patch-4
RealKai42 Oct 8, 2024
cbbe562
feat: 更新OI/XCPC字典的长度为195
RealKai42 Oct 8, 2024
935e56f
Merge pull request #857 from shiquda/master
RealKai42 Oct 8, 2024
53bf67d
feat: Export the wrong question book
ljt990218 Oct 9, 2024
cdcec97
feat: Export `xlsx` ErrorBookData
ljt990218 Oct 10, 2024
be7f7ba
chore(DropdownExport): Optimize the Export function
ljt990218 Oct 10, 2024
7454a45
fix: Revoke unnecessary modifications
ljt990218 Oct 10, 2024
f017898
fix: fix `eslint`
ljt990218 Oct 10, 2024
e9dd9e4
添加2025版考研词汇闪过高中低频词汇
patient-fyd Oct 19, 2024
7787ffe
Update Jap_High-Frequency_N4N5.json
0xAlbertChen Oct 24, 2024
a46c0de
chore: update qr code
RealKai42 Oct 31, 2024
6061c4b
feat: add friden links
RealKai42 Nov 1, 2024
02ac8df
fix: image error
RealKai42 Nov 8, 2024
9370375
fix: image error
RealKai42 Nov 8, 2024
5de7e7c
fix:dark mode text color issue in friendlink page
zhenghaoyang24 Nov 19, 2024
61553d4
fix: fixed 2025kaoyanhongbaoshu
Nov 28, 2024
ae5a623
feat: Add the Roget's Word dict
Wenrh2004 Dec 10, 2024
078f1a9
fix wrong words
xiaobinqt Dec 17, 2024
3caaa8c
docs: update badage
RealKai42 Dec 25, 2024
b54b61f
Add files via upload
479dypeiyao Jan 8, 2025
7e8a5b4
Delete public/926.json
479dypeiyao Jan 8, 2025
8bc341c
Add files via upload
479dypeiyao Jan 8, 2025
b9a01bb
Update dictionary.ts
479dypeiyao Jan 8, 2025
cca2e20
feat: add pet-2024
RealKai42 Jan 10, 2025
821b9c1
feat: add some rust api docs
tendguo Jan 13, 2025
65967eb
style: remove trailing whitespace in README.md
ElvisClaros Jan 14, 2025
4e592eb
添加新东方雅思听力直通车19天单词
chenting1 Jan 15, 2025
2da80e3
添加violate词意
wangruirui909 Jan 16, 2025
71efbf8
chore: polish detail
RealKai42 Jan 16, 2025
104491b
Merge pull request #907 from 104496727/master
RealKai42 Jan 16, 2025
e22a030
Merge branch 'RealKai42:master' into master
ruirui-wang-study Jan 16, 2025
80321d0
添加超频单词词库(en)
Jan 19, 2025
892a8b0
docs: add GitSponsors
RealKai42 Jan 20, 2025
2070915
docs: update
RealKai42 Jan 20, 2025
faaca6b
Merge pull request #866 from 0xAlbertChen/patch-1
RealKai42 Jan 21, 2025
d9ea8b5
chore: polish detail
RealKai42 Jan 21, 2025
fc954be
Merge pull request #863 from patient-fyd/feature/add-dictionary
RealKai42 Jan 21, 2025
57ea35b
Merge pull request #878 from zhenghaoyang24/master
RealKai42 Jan 21, 2025
e437d12
Merge pull request #882 from hubingkang/fix-2025hongbaoshu
RealKai42 Jan 21, 2025
91aa709
Merge pull request #887 from Wenrh2004/master
RealKai42 Jan 21, 2025
573211c
Merge pull request #906 from ElvisClaros/dev
RealKai42 Jan 21, 2025
317b68e
Merge pull request #899 from 479dypeiyao/master
RealKai42 Jan 21, 2025
69c039c
Merge pull request #888 from xiaobinqt/dev
RealKai42 Jan 21, 2025
fa98e14
Merge pull request #914 from ruirui-wang-study/master
RealKai42 Jan 21, 2025
6d5a3b7
chore: polish detail
RealKai42 Jan 21, 2025
217997a
docs: add GitSponsors
RealKai42 Jan 20, 2025
2039caf
docs: update
RealKai42 Jan 20, 2025
2802c7c
Update Jap_High-Frequency_N4N5.json
0xAlbertChen Oct 24, 2024
a1a360d
添加2025版考研词汇闪过高中低频词汇
patient-fyd Oct 19, 2024
b06d2a2
chore: polish detail
RealKai42 Jan 21, 2025
a336764
fix:dark mode text color issue in friendlink page
zhenghaoyang24 Nov 19, 2024
2861c06
fix: fixed 2025kaoyanhongbaoshu
Nov 28, 2024
bf7cd41
fix: typo
RealKai42 Jan 21, 2025
d7ab4f1
style: remove trailing whitespace in README.md
ElvisClaros Jan 14, 2025
fd8d072
Add files via upload
479dypeiyao Jan 8, 2025
a1b93d4
Delete public/926.json
479dypeiyao Jan 8, 2025
455e2ed
Add files via upload
479dypeiyao Jan 8, 2025
3697f97
Update dictionary.ts
479dypeiyao Jan 8, 2025
7815a71
fix wrong words
xiaobinqt Dec 17, 2024
082e7fa
添加violate词意
wangruirui909 Jan 16, 2025
af9ddde
chore: polish detail
RealKai42 Jan 21, 2025
bd43faf
Merge branch 'master' into feature_add_vocabulary
RealKai42 Jan 21, 2025
15bd9ed
Merge pull request #921 from Clownlys/feature_add_vocabulary
RealKai42 Jan 21, 2025
0c16dbe
docs(readme): Enhance README and add environment check scripts
Wenrh2004 Jan 21, 2025
38df7f6
Merge pull request #923 from Wenrh2004/master
RealKai42 Jan 21, 2025
d083461
Newwaiyan7-2
angrykg Jan 21, 2025
cdb9972
Merge pull request #902 from tendguo/colin-master
RealKai42 Jan 21, 2025
9964aca
chore: polish detail
RealKai42 Jan 21, 2025
7afe0f7
feat: add pte
RealKai42 Jan 22, 2025
ea0185c
Merge pull request #925 from angrykg/patch-5
RealKai42 Jan 23, 2025
a30d0a4
chore: polish detail
RealKai42 Jan 23, 2025
06fbe59
Merge pull request #869 from ljt990218/exportin-error-books
RealKai42 Jan 23, 2025
74e9dcd
fix some typos in ielts-807
5dplay Jan 26, 2025
26fffb2
Merge pull request #932 from 5dplay/fix-807
RealKai42 Feb 4, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,7 @@
},
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
}
},
"typescript.tsdk": "node_modules/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true
}
9 changes: 3 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
FROM node:18 AS build
FROM node:20 AS build

# 设置工作目录
WORKDIR /app

COPY package*.json ./

RUN npm install

COPY . .

RUN npm config set registry https://registry.npmmirror.com
RUN npm install
RUN npm run build

# 将构建好的 React 应用复制到 Nginx 容器的默认站点目录
Expand Down
57 changes: 47 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,23 @@

<p align="center">
<a href="./docs/README_EN.md">English</a>
<a href="./docs/README_JP.md">日本語</a>
</p>

<p align="center">
为键盘工作者设计的单词记忆与英语肌肉记忆锻炼软件
</p>

<p align="center">
<p align="center" style="display: flex; justify-content: center; gap: 10px;">
<a href="https://github.com/Realkai42/qwerty-learner/blob/master/LICENSE"><img src="https://img.shields.io/github/license/Realkai42/qwerty-learner" alt="License"></a>
<a><img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg"/></a>
<a><img src="https://img.shields.io/badge/Powered%20by-React-blue"/></a>
<a><img src="https://img.shields.io/github/stars/RealKai42/qwerty-learner"/></a>
<a><img src="https://img.shields.io/github/forks/RealKai42/qwerty-learner"/></a>
<a href="https://gitcode.com/RealKai42/qwerty-learner/overview"><img src="https://gitcode.com/RealKai42/qwerty-learner/star/badge.svg"/></a>
<a href="https://api.gitsponsors.com/api/badge/link?p=4DNHTkFshpqUNxrflL7n6ChVhCijBEN9zvnj50mFETUw2frmOXfrHW37m71uOnlp+eo/Vm8a0w94m0JeT4UAYxOAQwzuFiJS0UYIQ8H3km39ZcUnZ7wHNE05WpqBzTVcgZM26FijLiYv9m2p7mxx1w==">
<img src="https://api.gitsponsors.com/api/badge/img?id=331603334" height="20" alt="GitSponsors">
</a>
</p>

<div align=center>
Expand All @@ -26,11 +33,12 @@

## 📸 在线访问

Vercel: <https://qwerty.kaiyi.cool/> , <https://qwerty-learner.vercel.app/>
**首选部署**: <https://qwerty.kaiyi.cool/>
GitHub Pages: <https://realkai42.github.io/qwerty-learner/>
Gitee Pages: <https://kaiyiwing.gitee.io/qwerty-learner/>

国内用户建议使用 Gitee 访问
镜像仓库:
[GitCode: RealKai42/qwerty-learner](https://gitcode.com/RealKai42/qwerty-learner/overview)
[Gitee: KaiyiWing/qwerty-learner](https://gitee.com/KaiyiWing/qwerty-learner)
<br/>
<br/>

Expand Down Expand Up @@ -127,13 +135,40 @@ Gitee Pages: <https://kaiyiwing.gitee.io/qwerty-learner/>

本项目是基于`React`开发的,需要 node 环境来运行。

### 环境准备

1. NodeJS
2. Git
3. Yarn

> **验证是否已经拥有相关环境**
>
> 1. 手动验证
> 请在命令行下执行以下命令,查看是否有对应版本输出
>
> ```sh
> node --version
> git --version
> yarn --version
> ```
>
> 2. 脚本验证
> 使用我们提供的脚本对所需环境进行验证,如果确实依赖项会自动安装
> - Windows 用户可以直接执行 [pre-check.ps1](scripts/pre-check.ps1) 脚本
> - MacOS 用户可以直接执行 [pre-check.sh](scripts/pre-check.sh) 脚本

如果有对应环境缺失,我们可以参考下列官方文档进行安装

> - [NodeJS](https://nodejs.org/en/download)
> - [Git](https://git-scm.com/downloads)
> - [yarn](https://classic.yarnpkg.com/lang/en/docs/install)

### 手动安装

1. 安装 NodeJS,参考[官方文档](https://nodejs.org/en/download)
2. 使用 `git clone` 下载项目到本地, 不使用 git 可能因为缺少依赖而无法运行
3. 打开命令行,在项目根目录下,运行`yarn install`来下载依赖。
4. 执行`yarn start`来启动项目,项目默认地址为`http://localhost:5173/`
5. 在浏览器中打开`http://localhost:5173/`来访问项目。
1. 在命令行中执行 `git clone https://github.com/RealKai42/qwerty-learner.git` 将项目拉取到本地, 如果不使用 git 可能因为缺少依赖而无法运行
2. 在命令行中执行 `cd qwerty-learner`,进入项目根目录,执行`yarn install`来下载依赖。
3. 执行`yarn start`来启动项目,项目默认地址为`http://localhost:5173/`
4. 在浏览器中打开`http://localhost:5173/`来访问项目。

### 脚本执行

Expand All @@ -160,7 +195,8 @@ Gitee Pages: <https://kaiyiwing.gitee.io/qwerty-learner/>
- V2EX 全站热搜项目
- Gitee 全站推荐项目
- [少数派首页推荐](https://sspai.com/post/67535)
- Gitee 最有价值开源项目([GVP](https://gitee.com/gvp))
- GitCode 开源摘星计划-毕业项目([G-Star 计划](https://gitcode.com/g-star))
- Gitee 最有价值开源项目([GVP](https://gitee.com/gvp))

## 📕 词库列表

Expand All @@ -182,6 +218,7 @@ Gitee Pages: <https://kaiyiwing.gitee.io/qwerty-learner/>
- 人教版英语 3-9 年级
- 王陆雅思王听力语料库 [@Saigyouji_WKKun](https://github.com/ggehuliang)
- 日语常见词、N1 ~ N5 [@xiaojia](https://github.com/wetery)
- 哈萨克语基础 3000 词(哈拼版) 来源于 [@Elgar](https://github.com/Elgar17) 由 [@Herbert He](https://github.com/HerbertHe) 通过 [哈拼](https://ha-pin.js.org) 技术支持

如果您需要背诵其他词库,欢迎在 Issue 中提出

Expand Down
30 changes: 5 additions & 25 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,8 @@ version: '3'

services:
qwertylearner:
image: 'node:16'
user: 'root'
working_dir: '/app/qwerty-learner'
ports: [8990:5173]
volumes:
- $PWD/:/app/qwerty-learner
command:
- /bin/sh
- -c
- |
echo 'run the bash command..'
npm -v
npm config set registry https://registry.npm.taobao.org
npm install -g yarn
cd /app/qwerty-learner
yarn install
yarn build
nohup yarn start --host=0.0.0.0 &
echo 'success.. start..'
pwd
echo '查看输出:...'
cat nohup.out
tail -f /dev/null
tty: true
stdin_open: true
build:
context: .
dockerfile: Dockerfile
ports:
- '8990:5173'
Loading