wechaty-grpc

Wechaty is a Wechat Bot SDK for Personal Account that lets you create software to extend the functionality of the Wechat, writen in Node.js with TypeScript, Support all platforms including Linux, Windows, Darwin(OSX/Mac) and Docker.

Лицензия

Лицензия

Категории

Категории

gRPC Сеть Networking
Группа

Группа

io.github.wechaty
Идентификатор

Идентификатор

grpc
Последняя версия

Последняя версия

0.16.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

wechaty-grpc
Wechaty is a Wechat Bot SDK for Personal Account that lets you create software to extend the functionality of the Wechat, writen in Node.js with TypeScript, Support all platforms including Linux, Windows, Darwin(OSX/Mac) and Docker.
Ссылка на сайт

Ссылка на сайт

https://github.com/Chatie/grpc
Система контроля версий

Система контроля версий

https://github.com/Chatie/grpc

Скачать grpc

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/io.github.wechaty/grpc/ -->
<dependency>
    <groupId>io.github.wechaty</groupId>
    <artifactId>grpc</artifactId>
    <version>0.16.1</version>
</dependency>
// https://jarcasting.com/artifacts/io.github.wechaty/grpc/
implementation 'io.github.wechaty:grpc:0.16.1'
// https://jarcasting.com/artifacts/io.github.wechaty/grpc/
implementation ("io.github.wechaty:grpc:0.16.1")
'io.github.wechaty:grpc:jar:0.16.1'
<dependency org="io.github.wechaty" name="grpc" rev="0.16.1">
  <artifact name="grpc" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.github.wechaty', module='grpc', version='0.16.1')
)
libraryDependencies += "io.github.wechaty" % "grpc" % "0.16.1"
[io.github.wechaty/grpc "0.16.1"]

Зависимости

compile (5)

Идентификатор библиотеки Тип Версия
com.google.protobuf : protobuf-java jar 3.12.0
com.google.protobuf : protobuf-java-util jar 3.12.0
io.grpc : grpc-netty-shaded jar 1.29.0
io.grpc : grpc-protobuf jar 1.29.0
io.grpc : grpc-stub jar 1.29.0

provided (3)

Идентификатор библиотеки Тип Версия
io.grpc : grpc-kotlin-stub jar 0.1.1
org.jetbrains.kotlin : kotlin-stdlib jar 1.3.72
org.jetbrains.kotlinx : kotlinx-coroutines-core jar 1.3.4

Модули Проекта

Данный проект не имеет модулей.

GRPC

Node.js NPM PyPI Maven PHP Go

chatie grpc

NPM Version PyPI Version Java Version PHP Version

node Python 3.7 Go Version

gRPC for Chatie

USAGE

Node.js

@chatie/grpc@NPM

Maintainer:

  • @huan - Huan LI (李卓桓)

Python

chatie-grpc@PyPI

Maintainer:

Go

github.com/wechaty/go-grpc

Maintainer:

Java

https://mvnrepository.com/artifact/io.github.wechaty/grpc

Maven:

<dependency>
    <groupId>io.github.wechaty</groupId>
    <version>0.11.25</version>
    <artifactId>grpc</artifactId>
</dependency>

Gradle:

compile 'io.github.wechaty:grpc:0.11.25'

Maintainer:

PHP

github.com/wechaty/php-grpc

Maintainer:

Csharp

Wechaty.Grpc @ Nuget

Maintainer:

DEVELOPMENT

Debug

Build

./scripts/install-protoc.sh
npm install

https://github.com/google/protobuf/releases/latest

Generate Stubs

npm run generate

1. JS for Protocol Buffer

protoc \
  --js_out="import_style=commonjs,binary:${OUT_DIR}"

https://github.com/google/protobuf/releases/latest

2. JS for gRPC Stubs

protoc \
  --plugin="protoc-gen-grpc=`which grpc_tools_node_protoc_plugin`" \
  --grpc_out="${OUT_DIR}"

https://www.npmjs.com/package/grpc-tools

3. TypeScript Typing Definations for Protocol Buffer & gRPC Stubs

protoc \
  --plugin="protoc-gen-grpc=node_modules/grpc_tools_node_protoc_ts/bin/protoc-gen-ts" \
  --grpc_out="${OUT_DIR}"

https://github.com/agreatfool/grpc_tools_node_protoc_ts

4. JS & TS for gRPC Web

protoc \
  --plugin="protoc-gen-ts=node_modules/ts-protoc-gen/bin/protoc-gen-ts" \
  --ts_out="service=true:${OUT_DIR}"

https://github.com/improbable-eng/ts-protoc-gen

RESOURCES

Documentation

Links

Protocol Buffer

gRPC Web

TypeScript Generator

Zoo Keeper

STUN

TCP hole punching

Reverse Engineering

Python Stub

csharp grpc

HISTORY

v0.18 (Oct 15, 2020)

  • Add new MessageFileStream and MessageImageStream to replace the MessageFile and MessageImage method to avoid blocking nodejs event loop when sending large files (#88) by @windmemory
  • Add new MessageSendFileStream to replace the MessageSendFile method to avoid blocking nodejs event loop when sending large files (#89) by @windmemory

v0.17 (Aug 5, 2020)

v0.13 (Apr 19, 2020)

v0.11 (Apr 10, 2020)

  • Add Go Support (#50 by @dchaofei)
  • Publish Go Module at <github.com/wechaty/go-grpc>

v0.6 (Feb 2020)

  • Align gRPC Services with Wechaty Puppet Abstraction
  • Add Unit Tests

v0.2 (Jul 2018)

  • Automatic Generating gRPC Stubs
  • Publish to NPM

v0.0.1 (May 2018)

Initial commiit

MAINTAINER

Huan LI (李卓桓), Google Developer Expert in Machine Learning (ML GDE), zixia@zixia.net

Profile of Huan LI (李卓桓) on StackOverflow

COPYRIGHT & LICENSE

  • Code & Docs © 2018-now Huan LI <zixia@zixia.net>
  • Code released under the Apache-2.0 License
  • Docs released under Creative Commons
io.github.wechaty

Chatie

Bot is not born, but made.

Версии библиотеки

Версия
0.16.1
0.11.25