Giter Site home page Giter Site logo

pushpy's Introduction

pushpy

pushpy 是参考https://github.com/guren-cloud/vpush-pro-sdk修改。

让更多有的人拥有自己的推送工具

我们提供您可以部署的后台:https://github.com/mn3711698/pushcom

说明

缘起:增加 https://www.maliapi.com 这个平台的功能吸引力和那个体验小程序(道术斋)更好的生态闭环。

所以:反正对外提供使用,那让更多的人使用,有助于我掌握我的框架(python自研轮子)性能及优化。

关于收费:目前不打算对平台使用者收费,将以平台广告及公众号广告等收益来维持平台服务器费用。

一个版本通天下

注册使用:https://push.yjyzj.cn

快速集成并体验

第1步:

请到https://push.yjyzj.cn 注册您的帐号,以便快速集成后可以看到效果

在首页“基本信息”-- 找到 “formid接口url”,下边要用到

第2步: 下载并将libs放到小程序根目录下,解压后在app.js中引入你需要的核心模块,比如用专业版的基础版SDK:

const vPush = require('./libs/pushpy.js');

App({
  vPush: new vPush('https://push.yjyzj.cn/api/1?'),
  ...
});

第3步: 在首页json配置文件中引入组件,比如pages/index/index.json

{
  "usingComponents": {
    "vpush-checkin": "/libs/components/checkin"
  }
}

第4步: 在首页wxml文件中加载组件,比如pages/index/index.wxml

<vpush-checkin />

刷新小程序,如果出现弹框签到提示,那么就代表集成OK了!

我自己的集成小程序示例 https://github.com/mn3711698/dszmini

交流更多请加QQ群

QQ群号:920176170

pushpy's People

Contributors

mn3711698 avatar

Stargazers

Jason avatar  avatar  avatar

Watchers

 avatar

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.