1 unstable release
0.1.10 | Apr 16, 2023 |
---|
#44 in #cards
79KB
1.5K
SLoC
Mystic
This crate can be used either as a CLI, see examples/cli
, or as a library. It uses ChatGPT for interpretation, but this is not required. If you are using that then you'll need a .env
containing your CHATGPT_KEY
, ie:
#.env at root
CHATGPT_KEY=foo
Supported Categories
Tarot
let mut deck = TarotDeck::new();
deck.shuffle();
let spread = spread::PastPresentFuture::new(&mut deck);
let gpt = ChatGptInstance::new()?;
println!("interpreting your spread...\n{}", spread.print());
let result = spread.interpret(&gpt).await?;
Dependencies
~8–20MB
~271K SLoC