An AI-powered tarot reading application built with Qt that combines traditional tarot wisdom with modern artificial intelligence.
- Multiple Tarot Decks Support: Includes the classic Rider-Waite deck with support for adding your own custom decks
- Various Spread Types: Choose from multiple layouts including:
- 1-card draw
- 3-card spread
- Celtic Cross spread
- Horseshoe spread
- More spreads coming soon!
- AI-Generated Readings: Powered by Mistral AI for insightful and personalized card interpretations
- Traditional Card Meanings: Built-in traditional interpretations for all cards
- Show Full Deck Feature: Browse and explore the entire deck of cards
- Enhanced Randomization: Shuffle button gathers system entropy for truly random card selection
- Save/Load Functionality: Save your readings to revisit them later
- Intuitive Interface: Clean, user-friendly design suitable for both beginners and experienced readers
flatpak install io.github.alamahant.TarotCastergit clone https://github.com/alamahant/TarotCaster.git
cd TarotCaster
mkdir build && cd build
cmake ..
makeTarotCaster uses Mistral AI to generate personalized card interpretations. To use this feature:
- Register for a free Mistral AI API key at https://mistral.ai/
- Enter your API key in the application settings
- Select "Get Reading" when viewing spread
The free tier of Mistral AI provides sufficient requests for personal tarot reading use.
You can add your own tarot decks to TarotCaster:
- Create a folder with your deck name in the
decksdirectory - Name your card images according to the following convention: -->Detailed instructions for custom deck creation will be provided in the wiki.
- Restart the application to see your new deck
No additional dependencies required - everything is included in the Flatpak package.
- Qt 6.2 or higher
- CMake 3.16 or higher
- Standard build tools (gcc/g++, make, ninja, etc)
# Install build tools and dependencies
sudo apt install build-essential cmake ninja-build pkg-config
# Install Qt6 (Ubuntu 22.04+)
sudo apt install qt6-base-devFor older Ubuntu versions that don't have Qt6 in their repositories:
# Add Qt repository
sudo add-apt-repository ppa:okirby/qt6-backports
sudo apt update
sudo apt install qt6-base-dev# Install build tools
sudo dnf install cmake gcc-c++ ninja-build pkg-config
# Install Qt6
sudo dnf install qt6-qtbase-devel# Install build tools
sudo pacman -S base-devel cmake ninja pkg-config
# Install Qt6
sudo pacman -S qt6-baseThe application requires Qt 6.2 libraries or higher to be installed on your system. Most modern Linux distributions will have the other required dependencies already installed.
TarotCaster integrates with Mistral AI to provide personalized interpretations of your tarot spreads. Follow these steps to enable and use this feature:
-
Obtain a Mistral API Key:
- Create an account at Mistral AI
- Navigate to your account dashboard
- Generate a new API key
-
Add Your API Key to TarotCaster:
- Open TarotCaster
- Go to the Edit menu
- Select Mistral API Key
- Paste your API key in the dialog box
- Click "OK" to save
Once your API key is set up:
- Cast the Tarot cards using any of the available spreads
- After the cards are displayed, click the Get Reading button
- TarotCaster will connect to Mistral AI and generate a personalized interpretation
- The AI reading will appear, offering insights based on the specific cards in your spread
- Readings are generated based on traditional card meanings and their relationships
- Each reading is unique and tailored to your specific card combination
Note: Using the AI feature requires an internet connection and consumes Mistral API credits. The free tier of Mistral AI typically provides sufficient credits for personal use.
TarotCaster offers a unique way to "shuffle" the cards that creates a personal energetic connection between you and your reading through digital entropy generation.
-
Activate Shuffle Mode:
- Click the Shuffle button in the interface
- Your cursor will change to a crosshair (+) symbol
- This indicates that entropy collection is active
-
Generate Entropy:
- Move your mouse cursor around the screen in any pattern
- Your mouse movements create unique entropy that feeds into TarotCaster's quantum random number generator
- This process creates a personalized randomization for your reading
-
Recommended Shuffling Technique:
- For a deeper connection, click the Display Full Deck button
- Move your cursor over the displayed cards, following your intuition
- Take your time with this process - the longer you move, the more unique your shuffle
- When you feel ready, click the Display Full Deck button again to return to the main interface
-
Complete the Process:
- After shuffling, click the Deal button to lay out your spread
- The cards will be selected based on the entropy you generated during shuffling
This shuffling method creates a more meaningful connection between you and your reading by:
- Incorporating your physical movements into the card selection process
- Creating truly random card selections based on quantum principles
- Allowing your intuition to guide the shuffling process
- Establishing a ritual similar to physical card shuffling
Even if you don't display the full deck, simply moving your cursor around in shuffle mode will generate the entropy needed for a personalized reading.
TarotCaster allows you to add your own custom tarot decks. Follow these instructions to prepare and install your deck images.
-
Obtain digital images of your preferred tarot deck
- Ensure you have rights to use these images
- PNG, JPG, and JPEG formats are supported
- Consistent image dimensions are recommended
-
Rename the files according to TarotCaster's required format:
Major Arcana (22 cards):
- Name files from
00.pngto21.png(or .jpg/.jpeg) - Follow the standard order: Fool (00), Magician (01), High Priestess (02), etc.
Minor Arcana (56 cards):
- Organize by suit in this order: Wands, Cups, Swords, Pentacles
- Within each suit, use this naming convention:
- Wands:
22.pngto35.png - Cups:
36.pngto49.png - Swords:
50.pngto63.png - Pentacles:
64.pngto77.png
- Wands:
Card sequence within each suit:
- Ace (1), 2, 3, 4, 5, 6, 7, 8, 9, 10, Page, Knight, Queen, King
- Example: Ace of Wands =
22.png, King of Pentacles =77.png
Card Back:
- Include a card back image named
back.png(or .jpg/.jpeg)
- Name files from
-
Create a folder for your deck with a descriptive name
- Example:
MyCustomDeckorArtisticTarot - Place all renamed card images in this folder
- Example:
The location of the decks directory depends on how you installed TarotCaster:
-
Linux:
- If installed from source: Look for a
decksfolder in the same directory as the TarotCaster executable
- Windows:
- The
decksfolder is located in the TarotCaster installation directory
- If installed from source: Look for a
-
macOS:
- The
decksfolder is inside the application package - Right-click on TarotCaster.app and select "Show Package Contents"
- Navigate to
Contents/Resources/decks/
- The
-
Copy your prepared deck folder into the appropriate
decksdirectory -
Restart TarotCaster - your deck will appear in the deck selection menu
Flatpak apps run in a sandbox with limited access to the system. To add custom decks:
-
Create a
decksdirectory in the Flatpak data folder:mkdir -p ~/.var/app/io.github.alamahant.TarotCaster/data/decks -
Copy your prepared deck folder into this location:
cp -r /path/to/MyCustomDeck ~/.var/app/io.github.alamahant.TarotCaster/data/decks/ -
Restart TarotCaster - your deck will be automatically detected and available in the deck selection menu
- If your deck doesn't appear, check that all files are named correctly
- Ensure you have all 78 cards plus the back image
- Verify that the deck folder is in the correct location
- Check file permissions if using Linux or macOS
- For Flatpak, ensure the data directory path is correct
- Original Rider-Waite Tarot deck artwork by Pamela Colman Smith under the direction of Arthur Edward Waite
- Images sourced from Wikimedia Commons
- These images are in the public domain in the United States, the EU and globally because their copyright has expired
- Traditional Tarot de Marseille deck, a historical tarot pattern originating from southern France
- Images sourced from Wikimedia Commons
- These images are in the public domain due to their age and historical nature
- Traditional card meanings adapted from Corpora Project
- AI interpretations powered by Mistral AI
GPL-3.0 - See the LICENSE file for details
Contributions are welcome! Please feel free to submit a Pull Request.
