fork of shinosaki's webpush client
Go to file
minish ae81d0cdae
feat: add aesgcm support
2025-12-18 21:23:09 -05:00
autopush feat: add aesgcm support 2025-12-18 21:23:09 -05:00
examples feat: add aesgcm support 2025-12-18 21:23:09 -05:00
rfc8291 feat: add aesgcm support 2025-12-18 21:23:09 -05:00
sites/nicopush feat: add aesgcm support 2025-12-18 21:23:09 -05:00
webpush init 2025-02-27 13:00:06 +00:00
LICENSE init 2025-02-27 13:00:06 +00:00
README.md init 2025-02-27 13:00:06 +00:00
go.mod chore: update mod path 2025-12-18 19:22:52 -05:00
go.sum [fix] shinosaki/webpush-client-go@v1.0.1の変更に対応 2025-03-01 10:23:08 +00:00

README.md

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