mystic

Crates.iomystic
lib.rsmystic
version0.1.10
sourcesrc
created_at2023-04-16 09:08:34.291013
updated_at2023-04-16 09:08:34.291013
descriptionA set of tools for interpertation of tarot, astrology etc.
homepage
repositoryhttps://github.com/mrchantey/forky
max_upload_size
id840443
size64,188
Peter Hayman (mrchantey)

documentation

https://github.com/mrchantey/forky

README

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?;
Commit count: 886

cargo fmt