MindLeap is a high-performance, cross-platform flashcard application designed to supercharge your learning through Spaced Repetition (SRS). Built with C++ and Qt 6, it offers a lightweight and efficient way to memorize anything from language vocabulary to complex technical concepts.
- Smart Scheduling: Implements proven SRS algorithms including SM2 and the Leitner System to optimize your study time.
- Cross-Platform: Native performance on Windows, Linux, and macOS.
- Discord Integration: Show off your study progress with built-in Discord Rich Presence.
- Multimedia Support: Study with more than just text—includes support for sound and imagery.
- Statistics: Track your learning journey with detailed performance metrics.
The easiest way to run MindLeap on Windows is to download the latest version from the Releases page.
- Download
MindLeap-Windows.zip. - Extract the folder.
- Run
MindLeap.exe.
If you prefer to build the project yourself, follow the guide below.
Make sure the following tools are installed:
- C++ Compiler (e.g., GCC, Clang, MSVC)
- CMake (for managing the build process)
- Qt (version 6.8.1 or higher)
-
Install CMake:
- On Ubuntu/Debian:
sudo apt-get install cmake - On macOS:
brew install cmake - On Windows, download and install from CMake official site.
- On Ubuntu/Debian:
-
Install Qt:
- On Ubuntu/Debian:
sudo apt-get install qt6-qmake qtbase6-dev - On macOS:
brew install qt - On Windows, download and install Qt from Qt official site.
- On Ubuntu/Debian:
-
Install a C++ Compiler:
- Linux: GCC or Clang should be pre-installed or can be installed with sudo apt-get install build-essential (for GCC).
- macOS: Install Xcode command line tools by running xcode-select --install.
- Windows: You can install MSVC or MinGW.
Clone the repository or download the source files:
git clone https://github.com/TehPig/MindLeap.git
Alternatively, download the ZIP file of the repository and extract it.
-
Navigate to the project folder:
cd anki-project -
Create a build directory (This keeps the source and build files separate):
mkdir build cd build -
Generate build files using CMake: CMake will detect your system configuration and generate the appropriate build files (e.g., Makefiles for Linux/macOS or Visual Studio project files for Windows).
-
For Linux/macOS:
cmake .. -
For Windows (optional but recommended to specify your generator, e.g., Visual Studio):
cmake -G "Visual Studio 16 2019" ..
-
-
Build the Project:
-
For Linux/macOS:
make -
For Windows:
- Open the generated .sln file in Visual Studio and build the solution.
-
-
Build Debug/Release (optional): If you want to build in Debug or Release mode, you can specify this when running cmake:
- For Debug:
cmake -DCMAKE_BUILD_TYPE=Debug .. - For Release:
cmake -DCMAKE_BUILD_TYPE=Release ..
- For Debug:
After building, you can run the application.
-
Linux/macOS:
./MindLeap -
Windows: On PowerShell
./MindLeap.exeOn Command Prompt
MindLeap.exe
- Docker: Install Docker from https://www.docker.com/get-started.
- GUI Support: To run this GUI application from Docker, you need an X-Server (Linux), WSLg (Windows), or a remote desktop solution inside the container.
-
Clone the Repository
git clone https://github.com/TehPig/MindLeap.gitcd anki-project
-
Build the Docker Image
docker build -t MindLeap .
-
Run the Docker Container
docker run --rm -it MindLeap
-
Optional - Using Volume Mounts
docker run --rm -it -v $(pwd):/app MindLeap
-
Running the Application
- Follow the Docker container instructions to run the application.
-
Create a build directory:
mkdir build && cd build
-
Run CMake:
cmake ..
-
Compile the application:
make
-
Run the application:
./MindLeap
-
Qt not found: Make sure the qmake and Qt libraries are correctly installed. You may need to set the CMAKE_PREFIX_PATH to the Qt installation directory: cmake -DCMAKE_PREFIX_PATH=/path/to/qt ..
-
Missing dependencies: If your application requires additional libraries (e.g., SQLite), make sure they are installed, and check that CMakeLists.txt correctly links them.
- The minimum required Qt version for this project is Qt 6.8.1.
- It's recommended to use GCC 9.3 or newer to compile the project.