Coder Social home page Coder Social logo

bootsrc / bootpush Goto Github PK

View Code? Open in Web Editor NEW
156.0 6.0 47.0 3.68 MB

📶即时消息推送服务(即时通讯),基于Netty- Instant Messaging push service based on Netty

Home Page: http://fpush-admin.appjishu.com

License: Apache License 2.0

Java 100.00%
netty4 netty-protobuf push-server pushservice netty im instant-messaging push

bootpush's Introduction

bootpush

技术栈

1.Spring Boot 5 2.Netty4 3.序列化到字节的框架kryo 5.2.0

Demo

Intelij IDEA导入项目后 启动bootpush-server的ServerApp 再启动bootpush-client的ClientApp 查看bootpush-server的client日志

测试从server推送消息到client 浏览器访问

Demo1,推送消息到java-cient

http://localhost:9101/api/push?regId=reg-id-001&msg=This-is-pushed-msg

Demo2,推送消息到android-cient

安装doc/bootpush.apk到自己的android手机上 alt 图1
Host填写自己电脑的ip就行(bootpush-server的ip, 确保电脑和手机连接的是同一个WIFI) 类似于下图 alt 图2 然后在App上点击按钮"连接"


在电脑浏览器上访问如下url http://localhost:9101/api/push?regId=reg-id-android-001&msg=This-is-pushed-msg

查看Android手机上是否弹出推送的消息。 alt 图3

bootpush's People

Contributors

bootsrc avatar dependabot[bot] 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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

bootpush's Issues

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.