aegyo is a cross-platform GUI app for learning Korean Hangul.
When I was learning Japanese kana, I liked the idea of drilling the characters into my memory through pure brute-force repetition. I found an iOS app called Kana School that did exactly that. Unfortunately, no similar app existed for Korean Hangul, so I decided to create one myself.
- Written in modern C++ (C++17).
- Verified for accuracy by a Korean language teacher.
- Comprehensive documentation with doxygen-style comments.
- Automatic third-party dependency management using CMake's FetchContent.
- No missing STL headers thanks to header-warden.
- Upgrade to SFML v3.0.
- Wait for v3.0.x release for potential bug fixes.
- Research why normal exit on macOS causes
libc++abi: terminating due to uncaught exception of type std::__1::system_error: mutex lock failed: Invalid argument
.[ ] Possibly open an issue on SFML's GitHub.- Refactor font loading code to make it less ugly.
- Move the ugly categories' code from
app.cpp
to theui
directory. - Create a hint button in the middle of the answer buttons that displays hint on click or on space press.
- Find out how to properly package macOS binaries instead of copying icons and resources via
add_custom_command
. - Add version information to Windows binary.
This project has been tested on the following systems:
- macOS 15.2 (Sequoia)
- Manjaro 24.0 (Wynsdey)
- Windows 11 23H2
Automated testing is also performed on the latest versions of macOS, GNU/Linux, and Windows using GitHub Actions.
Pre-built binaries are available for macOS (ARM64), GNU/Linux (x86_64), and Windows (x86_64). You can download the latest version from the Releases page.
To remove macOS quarantine, use the following commands:
xattr -d com.apple.quarantine aegyo-macos-arm64.app
chmod +x aegyo-macos-arm64.app
On Windows, the OS might complain about the binary being unsigned. You can bypass this by clicking on "More info" and then "Run anyway".
To build and run this project, you'll need:
- C++17 or higher
- CMake
Follow these steps to build the project:
-
Clone the repository:
git clone https://github.com/ryouze/aegyo.git
```
2. **Generate the build system**:
```sh
cd aegyo
mkdir build && cd build
cmake ..
```
Optionally, you can disable compile warnings by setting `ENABLE_COMPILE_FLAGS` to `OFF`:
```sh
cmake .. -DENABLE_COMPILE_FLAGS=OFF
```
3. **Compile the project**:
To compile the project, use the following command:
```sh
cmake --build . --parallel
```
After successful compilation, you can run the program using `./aegyo` (`open aegyo.app` on macOS). However, it is highly recommended to install the program, so that it can be run from any directory. Refer to the [Install](#install) section below.
> [!TIP]
> The mode is set to `Release` by default. To build in `Debug` mode, use `cmake .. -DCMAKE_BUILD_TYPE=Debug`.
## Install
If not already built, follow the steps in the [Build](#build) section and ensure that you are in the `build` directory.
To install the program, use the following command:
```sh
sudo cmake --install .
On macOS, this will install the program to /Applications
. You can then run aegyo.app
from the Launchpad, Spotlight, or by double-clicking the app in Finder.
To start the program, simply run the aegyo
executable (aegyo.app
on macOS, open /Applications/aegyo.app
to run from the terminal).
You can select the correct answer by clicking on it or by pressing the corresponding number key on your keyboard (1, 2, 3, 4).
The buttons in the top right corner toggle the vocabulary category:
Vow
for Basic VowelsCon
for Basic ConsonantsDCon
for Double ConsonantsCompV
for Compound Vowels
All categories are enabled by default. You can disable a category by clicking on the corresponding button.
Tip
If you're a beginner, start with the Vow
categories and gradually enable the other categories as you continue to learn.
Tests are included in the project but are not built by default.
To enable and build the tests manually, run the following commands from the build
directory:
cmake .. -DBUILD_TESTS=ON
cmake --build . --parallel
ctest --output-on-failure
All contributions are welcome.
This project is licensed under the MIT License.