i-ching icon indicating copy to clipboard operation
i-ching copied to clipboard

[Feature-Request] Add more data, maybe add new functionality around new data

Open jtrv opened this issue 3 years ago • 2 comments

There is more data in this set that we can probably add to iching's output or access through different sub-commands or flags etc.

The most interesting items are probably the [hex].wilhelm_symbolic property for each hexagram and the .comments property that tags alongside every text to further explain the context lost in translation / time.

The [hex].wilhelm_above, and [hex].wilhelm_below objects and their .chinese, .symbolic, and .alchemical properties would also be nice additions for more context on the trigrams.

PS: Thanks for making this little project! I use it in a greeting script I made to spice up my mornings, and I've used it for about 2 years or so now.

jtrv avatar Feb 16 '23 05:02 jtrv

So far I used the data above to update the hexagrams.json file like so: https://github.com/JacobTravers/i-ching/blob/new-data/src/hexagrams.json

I also made a second branch using number keys instead of arrays like the data-set did: https://github.com/JacobTravers/i-ching/blob/new-data-new-shape/src/hexagrams.json

I thought it was a good idea and might make accessing those values nicer, although I'm new to rust and haven't looked at the rest of the code much, so I'm not sure if it is actually worth doing.

jtrv avatar Feb 16 '23 08:02 jtrv

I'm quite busy these days and don't spend much time on this specific project. However, that file you linked does look nice.

Next time I'm hacking on this project, I'll try it out.

Velfi avatar Jun 13 '23 11:06 Velfi