search
Homeheadlines[Super simple in 5 minutes~Latest version] WeChat public account + Github free morning scheduled push with weather, anniversaries, birthdays, scheduled push, etc.

How much does the romance of programmers make you happy? This tutorial can help friends who don’t understand programming get started quickly. Considering that it costs money to build a server to perform scheduled tasks, the editor thought that this function can be used for free using Github Actions without spending a penny.

Without further ado, let’s get straight to the pictures and text. The girlfriend’s exclusive public account has a good morning push, which can automatically push weather conditions and reminder information every day, and can also remind her to bring an umbrella on rainy days.

1. First, you need to apply for a WeChat public platform test account

Application address: https://mp.weixin. qq.com/debug/cgi-bin/sandbox?t=sandbox/login

Click to log in and scan the WeChat code to log in.

[Super simple in 5 minutes~Latest version] WeChat public account + Github free morning scheduled push with weather, anniversaries, birthdays, scheduled push, etc.

# After successfully logging in, you will get a test account and the appID and appsecret of the test account, as shown below.

[Super simple in 5 minutes~Latest version] WeChat public account + Github free morning scheduled push with weather, anniversaries, birthdays, scheduled push, etc.

Continue to scroll down the current page and ask your girlfriend or boyfriend to scan the QR code to follow the test account. Then his nickname and USER_ID will appear in the user list, as follows picture.

[Super simple in 5 minutes~Latest version] WeChat public account + Github free morning scheduled push with weather, anniversaries, birthdays, scheduled push, etc.

Then click [Add Test Template]

[Super simple in 5 minutes~Latest version] WeChat public account + Github free morning scheduled push with weather, anniversaries, birthdays, scheduled push, etc.

[Super simple in 5 minutes~Latest version] WeChat public account + Github free morning scheduled push with weather, anniversaries, birthdays, scheduled push, etc.

Sample template:

Today’s weather: {{ weather.DATA }}

Humidity: {{ humidity.DATA }}

Current temperature: {{ temperature.DATA }}

We are already in love{{ love_days.DATA }} Oh my god

There are still days left until your birthday: {{ birthday_left.DATA }} days

{{ words.DATA }}

After submission You can get the unique template ID, as shown below.

[Super simple in 5 minutes~Latest version] WeChat public account + Github free morning scheduled push with weather, anniversaries, birthdays, scheduled push, etc.

2. Prepare github Action scheduled tasks

Open github and find 13812851221/-rxrw-daily_morning this The repository then forks into its own repository.

[Super simple in 5 minutes~Latest version] WeChat public account + Github free morning scheduled push with weather, anniversaries, birthdays, scheduled push, etc.

##Go back to your warehouse, set the variables, and create the red circled string on the WeChat public platform to GitHub according to the instructions -> Settings -> Secrets -> Actions.

[Super simple in 5 minutes~Latest version] WeChat public account + Github free morning scheduled push with weather, anniversaries, birthdays, scheduled push, etc.

Click 3 in the picture above to create a behavior variable.

[Super simple in 5 minutes~Latest version] WeChat public account + Github free morning scheduled push with weather, anniversaries, birthdays, scheduled push, etc.

Repeat the above operation and add the following behavioral variables in order, no one is missing, and the format cannot be wrong.

[Super simple in 5 minutes~Latest version] WeChat public account + Github free morning scheduled push with weather, anniversaries, birthdays, scheduled push, etc.

3. Enable Action under your own project!

Click Actions

[Super simple in 5 minutes~Latest version] WeChat public account + Github free morning scheduled push with weather, anniversaries, birthdays, scheduled push, etc.

[Super simple in 5 minutes~Latest version] WeChat public account + Github free morning scheduled push with weather, anniversaries, birthdays, scheduled push, etc.

[Super simple in 5 minutes~Latest version] WeChat public account + Github free morning scheduled push with weather, anniversaries, birthdays, scheduled push, etc.

[Super simple in 5 minutes~Latest version] WeChat public account + Github free morning scheduled push with weather, anniversaries, birthdays, scheduled push, etc.

[Super simple in 5 minutes~Latest version] WeChat public account + Github free morning scheduled push with weather, anniversaries, birthdays, scheduled push, etc.

[Super simple in 5 minutes~Latest version] WeChat public account + Github free morning scheduled push with weather, anniversaries, birthdays, scheduled push, etc.##The above error message is intentional by the editor LOL, 41004 is appsecret missing error, as follows Just remove the image and add it again.

[Super simple in 5 minutes~Latest version] WeChat public account + Github free morning scheduled push with weather, anniversaries, birthdays, scheduled push, etc.#Then run the workflow again, as shown below.

[Super simple in 5 minutes~Latest version] WeChat public account + Github free morning scheduled push with weather, anniversaries, birthdays, scheduled push, etc.

[Super simple in 5 minutes~Latest version] WeChat public account + Github free morning scheduled push with weather, anniversaries, birthdays, scheduled push, etc.

[Super simple in 5 minutes~Latest version] WeChat public account + Github free morning scheduled push with weather, anniversaries, birthdays, scheduled push, etc.Wait for 2s, as shown in the picture above, it means success.

Check to see if your girlfriend’s phone has received the push notification! This scheduled task is pushed every morning at 9 o'clock. If you can program, you can customize some things by yourself~

[Super simple in 5 minutes~Latest version] WeChat public account + Github free morning scheduled push with weather, anniversaries, birthdays, scheduled push, etc.

The above operations, except for the different English strings, templates The Chinese in the message is different, and everything else should be the same, otherwise the program will not work~

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
GitHub项目分享:10款点开就能玩的开源在线游戏GitHub项目分享:10款点开就能玩的开源在线游戏Mar 24, 2023 pm 07:15 PM

本篇文章在GitHub上给大家整理总结10 款开源的在线游戏,点开就能玩的那种,大部分游戏支持手机端玩耍,简直不要太爽!

github是什么github是什么Mar 24, 2023 pm 05:46 PM

​GitHub是一个面向开源及私有软件项目的托管平台,可以让开发者们在这里托管自己的代码,并进行版本控制。GitHub主打的是开源项目与协作,通过这个平台上的开源项目,开发者们可以查看其他开发者的项目源代码,并进行交流和学习。

【总结】一些可能导致GitHub不能打开的原因和解决方法【总结】一些可能导致GitHub不能打开的原因和解决方法Mar 27, 2023 am 11:33 AM

GitHub是一个非常受欢迎的版本控制和代码托管平台。然而,有时候我们可能会遭遇到无法访问GitHub的问题。这是因为GitHub是一个全球性的平台,受到地理位置、网络状况、网站设置等因素的影响。本文将介绍一些可能导致GitHub不能打开的原因,以及解决这些问题的方法。

聊聊github中怎么上传项目和文本文档聊聊github中怎么上传项目和文本文档Mar 27, 2023 am 10:53 AM

GitHub是一个基于Git的代码托管平台,被广泛用于开源社区和企业内部代码管理。在GitHub上可以上传项目和文本文档,但是它所支持的格式和上传方式略有不同。

【整理分享】7个有趣又实用的开源GitHub项目【整理分享】7个有趣又实用的开源GitHub项目Nov 30, 2022 pm 06:18 PM

本篇文章给大家整理分享7个有趣又实用的开源项目,这些项目都已经收录到GitHub上的,希望对大家有所帮助!

github中怎么只下载一个文件夹中的内容github中怎么只下载一个文件夹中的内容Mar 27, 2023 am 10:53 AM

GitHub是一个流行的代码托管平台,用于开发人员协作和版本控制。作为开发人员,您可能需要从其他开发人员的GitHub存储库中只下载特定文件夹的内容。在本文中,我们将演示如何在不下载整个存储库的情况下只下载GitHub存储库中的一个文件夹。

详解将Github项目部署到服务器上的步骤详解将Github项目部署到服务器上的步骤Mar 27, 2023 am 10:53 AM

Github是目前全球最大的开源社区,很多程序员都会将自己的代码托管在Github上,借助其方便的版本控制和协作功能。然而,Github上的项目仅仅是代码,要把它部署到服务器上运行,需要一些额外的工作。本文将为大家介绍具体的操作步骤。

聊聊如何删除GitHub库中的一个文件夹聊聊如何删除GitHub库中的一个文件夹Mar 27, 2023 am 11:33 AM

GitHub是一个非常受欢迎的版本控制系统,它允许用户在互联网上存储和共享自己的代码库。它是程序员的必备工具之一。但是,有时候我们可能需要删除GitHub库中的一个文件夹。本篇文章将介绍如何删除GitHub库中的一个文件夹。

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)