✅The corporate WeChat channel has been restored, and there are solutions for trusted domain names. Friends in need can join the group and contact the group owner.
? Updated in January 2023 to fix the bug of incorrect calculation of Lunar Day. Please update the code or replace all the code in the days.py file yourself.
? The first public paid customized DailyTip daily reminder is released, supporting the acquisition of pictures prepared by oneself, and supporting 21 types of Tianxing data. Please see the update log for details.
Enterprise WeChat channel, interface test account channel with graphic and text details page - only supports cloud server or Tencent Cloud Function Platform deployment.
Email channel, interface test number channel without graphic and text details page - supports deployment on any platform.
❗︎︎This project adopts the GPLv3 protocol and is only for personal study and use. It may not be used for other purposes. No commercialization or payment is authorized. By using the source code/tutorial of this project, you are deemed to have agreed to these terms. I reserve the right to take legal action against any violation of these terms.
? Currently, there is too much content supported, and it is easy to exceed the upper limit of the length of image and text links. Please arrange content related to multiple cities, multiple dates, etc. reasonably.
Scan the QR code at the end of the article, follow the WeChat public account Boran Dalu, and reply to the tutorial to get the latest deployment tutorial address.
? If you have any questions, you can scan the QR code at the end of the article to join the group to ask. If you have functional requirements, you can contact the group owner for customization.
environment variables | meaning |
---|---|
corpid | Enterprise WeChat Enterprise ID Required when sending corporate WeChat messages |
corpsecret | Enterprise WeChat application Secret Required when sending corporate WeChat messages |
agentid | Enterprise WeChat AgentId Required when sending corporate WeChat messages |
appid | Test number appID Required when you need to send a test number message |
appsecret | Test number appsecret Required when you need to send a test number message |
userid | The test account background user WeChat account is required when sending a test account message. Multiple users are separated by &&. For example: abc123&&def456 |
templateid | Test number template ID Required when you need to send a test number message |
emailfrom | The email address for sending emails is required when sending emails. |
emailtoken | The authorization code of the email address from which the email is sent is required when sending email. |
emailto | The email address for receiving emails is required when sending emails. Multiple addresses are separated by &&. For example: [email protected]&&[email protected] |
qweather | Zephyr Weather App Key Required when weather forecast is required |
city | When the weather forecast address requires weather forecast, the required format is: province/city-city/district/county, multiple cities are separated by &&. For example: Chengdu-Shuangliu&& Jiangsu-Jiangning |
beginname | Single-day event names only have days in a certain year, and multiple dates are separated by &&. For example: With XX && so-and-so was born |
beginday | Single day date in Gregorian calendar format 20XX-XX-XX, add n before the lunar year Multiple dates are separated by &&, please note that they correspond to the names. For example: n2020-08-11&&2060-08-26 |
targetname | Anniversary event names are dates that exist every year. Multiple dates are separated by &&. For example: so-and-so’s birthday && wedding anniversary. |
targetday | The Gregorian calendar format of the anniversary date is 20XX-XX-XX, with n before the lunar year. Multiple dates are separated by &&, please note that they correspond to the names. For example: n2020-08-11&&2021-08-26 |
msgtype | Image and text type, single image and text by default 1 is single image and text, 2 is multiple images and text. |
pic | The custom fixed header image link must start with http:// or https:// |
call | Customized title, for example: baby~ |
title | Customized title, for example: Today’s push is here! |
content | Customize the first paragraph of content, for example: Remember to drink water~ |
tian | Tianxing Data APIKEY Required when you need a rainbow fart |
pictype | Random header image type, default scenery options (interface requirements) meizi, dongman, fengjing, suiji, none They are girls, anime, scenery, random, single picture and text. Do not display multiple types of pictures separated by &&, for example: dongman&&fengjing |
yqcity | The name of the city that requires epidemic data is required when epidemic data is needed. It can only be multiple cities at the municipal level separated by &&, for example: Chengdu && Nanjing |
link | The URL of the picture and text details page needs to be filled in when you need to click on the card to enter the page. It must start with http:// or https:// |
Full version of deployment tutorial: Scan the QR code at the end of the article, follow the WeChat official account Boran Dalu , and reply to the tutorial to get the latest tutorial address
Cloud Function Deployment Tutorial Lite Version: Deployment Steps
For updated details, please check the tweets on the WeChat official account
For the update method, please reply to the WeChat official account for updates.
Thanks to Xiaohongshu user Zhumi is not a pig, entanglement (Github: rxrw), Kuan user limobb (Github: limoest) and other big guys for their creativity and partial code reference
Thank you to all users who support, use and reward. Please forgive me for any shortcomings.
Welcome Star, Fork, PR
Welcome to follow the WeChat public account Boran Dalu , and reply to the tutorial to get the latest tutorial address.
Welcome to join the group to exchange feedback. If you have functional requirements, you can also contact the group owner for customization.
Open source is not easy. If this project is helpful to you, you are welcome to buy me a cup of coffee. Thank you again.