Home headlines [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.

Sep 19, 2022 pm 04:50 PM
WeChat public account github

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 of this Website
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

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)
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Chat Commands and How to Use Them
1 months ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Scrapy implements crawling and analysis of WeChat public account articles Scrapy implements crawling and analysis of WeChat public account articles Jun 22, 2023 am 09:41 AM

Scrapy implements article crawling and analysis of WeChat public accounts. WeChat is a popular social media application in recent years, and the public accounts operated in it also play a very important role. As we all know, WeChat public accounts are an ocean of information and knowledge, because each public account can publish articles, graphic messages and other information. This information can be widely used in many fields, such as media reports, academic research, etc. So, this article will introduce how to use the Scrapy framework to crawl and analyze WeChat public account articles. Scr

How to install GitHub Copilot on Windows 11/10 How to install GitHub Copilot on Windows 11/10 Oct 21, 2023 pm 11:13 PM

GitHubCopilot is the next level for coders, with an AI-based model that successfully predicts and autocompletes your code. However, you might be wondering how to get this AI genius on your device so that your coding becomes even easier! However, using GitHub isn't exactly easy, and the initial setup process is a tricky one. Therefore, we created this step-by-step tutorial on how to install and implement GitHub Copilot in VSCode on Windows 11, 10. How to install GitHubCopilot on Windows There are several steps to this process. So, follow the steps below now. Step 1 – You must have the latest version of Visual Studio installed on your computer

What are the differences between WeChat official account certification and non-certification? What are the differences between WeChat official account certification and non-certification? Sep 19, 2023 pm 02:15 PM

The difference between WeChat public account authentication and non-authentication lies in the authentication logo, function permissions, push frequency, interface permissions and user trust. Detailed introduction: 1. Certification logo. Certified public accounts will obtain the official certification logo, which is the blue V logo. This logo can increase the credibility and authority of the public account and make it easier for users to identify the real official public account; 2. Function permissions. Certified public accounts have more functions and permissions than uncertified public accounts. For example, certified public accounts can apply to activate the WeChat payment function to achieve online payment and commercial operations, etc.

Git installation process on Ubuntu Git installation process on Ubuntu Mar 20, 2024 pm 04:51 PM

Git is a fast, reliable, and adaptable distributed version control system. It is designed to support distributed, non-linear workflows, making it ideal for software development teams of all sizes. Each Git working directory is an independent repository with a complete history of all changes and the ability to track versions even without network access or a central server. GitHub is a Git repository hosted on the cloud that provides all the features of distributed revision control. GitHub is a Git repository hosted on the cloud. Unlike Git which is a CLI tool, GitHub has a web-based graphical user interface. It is used for version control, which involves collaborating with other developers and tracking changes to scripts and

Practical crawler combat in Python: WeChat public account crawler Practical crawler combat in Python: WeChat public account crawler Jun 10, 2023 am 09:01 AM

Python is an elegant programming language with powerful data processing and web crawling capabilities. In this digital era, the Internet is filled with a large amount of data, and crawlers have become an important means of obtaining data. Therefore, Python crawlers are widely used in data analysis and mining. In this article, we will introduce how to use Python crawler to obtain WeChat public account article information. WeChat official account is a popular social media platform for publishing articles online and is an important tool for promotion and marketing of many companies and self-media.

How to use Laravel to develop an online ordering system based on WeChat public account How to use Laravel to develop an online ordering system based on WeChat public account Nov 02, 2023 am 09:42 AM

How to use Laravel to develop an online ordering system based on WeChat official accounts. With the widespread use of WeChat official accounts, more and more companies are beginning to use them as an important channel for online marketing. In the catering industry, developing an online ordering system based on WeChat public accounts can improve the efficiency and sales of enterprises. This article will introduce how to use the Laravel framework to develop such a system and provide specific code examples. Project preparation First, you need to ensure that the Laravel framework has been installed in the local environment. OK

GitHub's latest AI tool helps users automatically fix bugs and vulnerabilities in their code GitHub's latest AI tool helps users automatically fix bugs and vulnerabilities in their code Mar 21, 2024 pm 04:01 PM

Today, GitHub launched a new "Code Scan" feature (preview) for all AdvancedSecurity (GHAS) licensed users, designed to help users find potential security vulnerabilities and coding errors in GitHub code. This new feature leverages Copilot and CodeQL to detect potential vulnerabilities or errors in your code, classify them and prioritize fixes. It's important to note that "code scanning" will consume GitHubActions minutes. According to the introduction, "code scanning" can not only prevent developers from introducing new problems, but can also trigger scans based on specific dates and times, or when specific events (such as pushes) occur in the repository. If AI finds you

GitHub launches Passkey service to improve account security GitHub launches Passkey service to improve account security Sep 23, 2023 pm 06:45 PM

News on September 22 showed that GitHub announced the launch of the Passkey service, which aims to provide users with a safer and more convenient login verification method. Passkey is a login verification file based on the FIDO2/WebAuthn standard. Users can use the public key in Passkey to register a website or application, while the private key is securely stored on the user's device. This innovative technology will provide GitHub users with a higher level of security while also providing a more convenient way to log in. Passkey is unique in that it allows users to utilize biometric features on the device (such as fingerprint, iris) or PIN code To achieve one-click login to various websites and services. This makes logging in easier