modulepackage
0.0.0-20250106111003-1cd6921befab
Repository: https://github.com/netr/haki.git
Documentation: pkg.go.dev
# README
Anki Card Creator
This tool uses the AnkiConnect API and AI APIs to create Anki cards efficiently. The motivation behind this tool is to make the process of creating Anki cards a lot easier and faster. When you're reading a book and want to create Anki cards for the new words you come across, you can use this tool to create the cards in a few seconds and continue reading.
Installation
go install github.com/netr/haki@latest
Features / Commands
Vocabulary Cards
haki vocab --word "cacophony"
- Automatically fetches the definition and example sentence.
- Creates a TTS of the word using OpenAI's tts-1 model.
- Automatically fetch the pronunciation of the word.
Development
Git Hooks
To set up the Git hooks for this project:
- Navigate to the project root.
- Run the following commands:
ln -s ./hooks/pre-commit .git/hooks/pre-commit
ln -s ./hooks/pre-push .git/hooks/pre-push
chmod +x .git/hooks/pre-commit .git/hooks/pre-push
# Variables
No description provided by the author
ErrInvalidLogFilename is returned when the log filename is invalid.
ErrUnsupportedPlatform is returned when the platform is not supported.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author