ikuradon-salmon

command module
v0.0.0-...-2b6f1ad Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2020 License: AGPL-3.0 Imports: 10 Imported by: 0

README

ikuradon-salmon

Test Go Report Card

ikuradon Push Server

Architecture

Mastodon Server (WebPush API) -> ikuradon-salmon Server -> Expo Backend Server -> FCM or APNS -> Your Terminal

Mastodon Web Push API Documents: https://docs.joinmastodon.org/methods/notifications/push/

Expo Push Notifications Documents: https://docs.expo.io/guides/push-notifications/

Security

ikuradon-salmonは、暗号化されたコンテンツを複合し、Expo サーバーに送信する仕様になっています。 そのため、サーバの管理者はコンテンツの内容を知ることが可能となります。これは、Expo Backendの仕様によるものです。 また、アクセストークンをPushサーバに送信することになるため、信頼できないikuradon-salmonサーバにアクセストークンを送ることはセキュリティ上のリスクが伴います。

ikuradon-salmon server decrypts the encrypted content and sends it to the Expo server. Therefore, the server administrator can know the details of the content. This is by Expo Backend specification. Sending the access token to an untrusted ikuradon-salmon server is a security risk because it will send the access token to the Push server.

API Documents

OpenAPI 3.0

build

go build main.go

Production Run Server (Docker)

  1. Setting .env: file BASE_URL

  2. Docker run

docker-compose build
docker-compose up -d
  1. SSL Portforwarding Setting

LICENSE

AGPL v3

Copyright (C) 2020 potproject

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL