Skip to content

ProsperBao/restraint-almanac

Repository files navigation


Netlify Status

English | 简体中文 | 日本語

What is this for?

Similar to an isolation recipe book, the recommended ingredients are based on the Chinese almanac, which may not be available in your refrigerator or accessible to you. It is purely for entertainment purposes.

Is there any logic?

According to the real-time changes in the Chinese almanac, the system matches keywords from the data.

Each ingredient is associated with the keywords from the Chinese almanac that can be associated with it. For example:

  • Sacrifice -> ingredients represented by the sacrifice
  • Marriage -> wedding ingredients + wedding customs
  • Travel -> animal migration habits

and so on.

I also want to put it in my profile.

<img src="https://almanac.baii.icu/api/almanac/picture?lang=en" />

or

![https://almanac.baii.icu](https://almanac.baii.icu/api/almanac/picture?lang=en)

https://almanac.baii.icu

Just add the corresponding parameters in the query parameter of the URL.

Parameter Description Default Value Optional Values
lang string zh-CN ['jp', 'en']
width number 460 Varies by language View

Not recommended to adjust:

Parameter Description Default Value Optional Values
fontSize number 16 -
padding number 15 -
fontPadding number 8 -
startX number 76 -
startY number 23 -
margin number 8 -
border number 1 -
radius number 4 -

Best served with.

best served with

It can be used with IOS automation to send a perfunctory weight-loss tip to your girlfriend every day, as well as daily weight-loss encouragement.
The interface used in the picture.

https://almanac.baii.icu/api/almanac/str

There are not many keywords, and updates will be made as appropriate.

About

自律人今天不懂吃啥?看看食材黄历吧!

Resources

License

Stars

Watchers

Forks