fork of shinosaki's webpush client
Go to file
minish 90e1134547
chore: update ws client (v1.1.0)
2025-12-19 21:37:37 -05:00
autopush chore: update ws client (v1.1.0) 2025-12-19 21:37:37 -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 chore: update ws client (v1.1.0) 2025-12-19 21:37:37 -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 ws client (v1.1.0) 2025-12-19 21:37:37 -05:00
go.sum chore: update ws client (v1.1.0) 2025-12-19 21:37:37 -05: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