Git Product home page Git Product logo

birthday-alert's Introduction

简介

目前,这是一个微信推送生日信息的项目,每早扫描最近7天过生日的好友并进行微信推送。

微信推送

迫于自己生日时别人会来电、短讯问候,别人生日自己却老忘,十分恼火。

之前用的 生日某家app 还算能满足需求,但是后面强行上电商、资讯这些玩意,而且经常 推送辣鸡广告,原本的生日推送都不能正常使用 本末倒置,索性关闭推送,当记事本用了。

想到自己每天都在用微信,弄个微信推送生日信息应该就能提前看到了~

2022/12/28 Updates:

添加 Github Actions 每日触发+

使用方法

步骤1

f....fork me for free?

步骤2

回到自己fork的项目下,Settings/secrets 下添加 BIRTH_DATA 和 SERVERCHAN_SECRETKEY

BIRTH_DATA 文本格式如下(type:0或空为农历,1为公历):

[
    {"name":"女朋友A","birth":"2004/9/8", "type": 1},
    {"name":"女朋友B","birth":"2004/9/9"},
    {"name":"女朋友C","birth":"2004/9/10", "type": 0}
]

数据添加

步骤3

随便改改README.md的内容(加个空格啥的),推送到你fork的仓库上,以此触发Action

用到的东西

主要使用: GitHub Action + Server酱

注册Server酱账号、扫码绑定微信号、关注接收消息的公众号、获取发送消息的url

最后

车遥遥,马憧憧,君游东山东复东。

TODO:

  • 1. 目前只有农历生日判断,需添加一个公历生日的判断

  • 2. 做个分级?比如A级,提前7天提醒,B级提前3天,C级当天提醒。

birthday-alert's People

Contributors

lonhon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

birthday-alert's Issues

建议将项目中的 Server酱 链接换成推荐链接

您好,我是 Server酱的作者 Easy 。注意到您的项目中对接或提及了 Server酱,非常感谢对我们的支持。

这里有一个小建议。Server酱最近推出了「推荐返现计划」,您可以在项目中Server酱的官网链接后边加上推荐参数,这样在用户从这里进入Server酱并订阅会员后,您的项目将获得2元/单的佣金。

只需要用微信登录fx.ft07.com ,然后开通计划就可以获得您的推荐链接,佣金会实时地转入开通账号的微信零钱中。

希望这个计划能让您的开源项目更好。


Hello, I am Easy, the author of ServerChan. I noticed that your project has integrated or mentioned ServerChan, and I am very grateful for that.

I have a small suggestion. ServerChan has recently launched a "Referral Cashback Program". You can add a referral parameter to the link to ServerChan's official website in your project. This way, when users enter ServerChan through your link and subscribe to a membership, your project will earn a commission of 2 RMB per subscription.

You just need to log in to fx.ft07.com with WeChat, activate the program, and you will get your referral link. The commission will be instantly transferred to the WeChat Wallet of the account that activated the program.

Even though the earnings might not be substantial, I hope this program can provide some additional support for your open-source project.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.