Documentation
¶
Index ¶
Constants ¶
View Source
const Version = "0.8.0"
Variables ¶
This section is empty.
Functions ¶
func GenerateCardID ¶ added in v0.5.0
GenerateCardID creates a unique ID for a card based on timestamp and Bulgarian word Format: epochMillis_md5(word)[:8]
func SanitizeFilename ¶ added in v0.5.0
SanitizeFilename creates a safe filename from a string
func SaveCardType ¶ added in v0.8.0
SaveCardType saves the card type to a file in the card directory
Types ¶
type CardType ¶ added in v0.8.0
type CardType string
CardType represents the type of flashcard
func LoadCardType ¶ added in v0.8.0
LoadCardType loads the card type from a card directory Returns CardTypeEnBg as default for backwards compatibility
func (CardType) DisplayName ¶ added in v0.8.0
DisplayName returns a human-readable name for the card type
Directories
¶
| Path | Synopsis |
|---|---|
|
Package anki provides functionality to generate Anki-compatible flashcard formats from Bulgarian words, audio, and images.
|
Package anki provides functionality to generate Anki-compatible flashcard formats from Bulgarian words, audio, and images. |
|
Package archive handles archiving of the cards directory with timestamps.
|
Package archive handles archiving of the cards directory with timestamps. |
|
Package audio provides audio generation functionality using OpenAI TTS for Bulgarian text-to-speech conversion.
|
Package audio provides audio generation functionality using OpenAI TTS for Bulgarian text-to-speech conversion. |
|
Package batch handles batch processing of Bulgarian words from files.
|
Package batch handles batch processing of Bulgarian words from files. |
|
Package cli provides command-line interface setup and configuration for the totalrecall application.
|
Package cli provides command-line interface setup and configuration for the totalrecall application. |
|
Package config provides configuration management for the totalrecall application using viper for flexible configuration options.
|
Package config provides configuration management for the totalrecall application using viper for flexible configuration options. |
|
Package image provides image search functionality to find representative images for Bulgarian words from various APIs.
|
Package image provides image search functionality to find representative images for Bulgarian words from various APIs. |
|
Package models provides functionality for listing and categorizing available OpenAI models.
|
Package models provides functionality for listing and categorizing available OpenAI models. |
|
Package phonetic provides functionality for fetching detailed phonetic information about Bulgarian words using OpenAI's GPT models.
|
Package phonetic provides functionality for fetching detailed phonetic information about Bulgarian words using OpenAI's GPT models. |
|
Package processor contains the core business logic for processing Bulgarian words.
|
Package processor contains the core business logic for processing Bulgarian words. |
|
Package translation provides Bulgarian to English translation services using the OpenAI API.
|
Package translation provides Bulgarian to English translation services using the OpenAI API. |
Click to show internal directories.
Click to hide internal directories.