Skip to content

WebPush client and libraries written in Go. AutoPush client, RFC8291 encryption/decryption, | GoのWebPushクライアントとライブラリ

License

Notifications You must be signed in to change notification settings

shinosaki/webpush-client-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webpush-client-go

webpush-client-goは、Golangで実装されたWebPushを受信するためのクライアントおよびライブラリです。

Features

  • RFC8188メッセージの暗号化・復号
    • aes128gcmのみのサポート
  • RFC8291メッセージの暗号化・復号
  • AutoPush (Mozilla Push Service) のクライアント
  • Application Serverごとのクライアント

Examples

examplesを参照してください。

  • examples/ece: 単純なRFC8291メッセージの暗号化・復号
  • examples/nicopush: ニコニコのWebPush通知を受信します(AutoPush)

NicoPush

NICONICO_USER_SESSION_VALUEnicovideo.jpuser_sessionクッキーの値を指定してください。

echo '{"user_session":"NICONICO_USER_SESSION_VALUE"}' > config.json

go run ./examples/nicopush/main.go

References

LICENSE

MIT

Author

shinosaki

About

WebPush client and libraries written in Go. AutoPush client, RFC8291 encryption/decryption, | GoのWebPushクライアントとライブラリ

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages