feat(node): add blind APNs/FCM/WebPush wake-up registry and ephemeral typing/receipt relay

Open
#13 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
22/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
rust
Domain
api, backend, security

Research direction

Start in the node's HTTP routing and the envelope queue handler that backs /v1/relay/envelopes, since the wake-up trigger hooks into it. New endpoints /v1/push/register and /v1/relay/signals need a token store keyed by mailbox, with encrypted or hashed tokens. Done means the endpoints exist, wake-up payloads carry no plaintext or sender metadata, and cargo fmt, clippy with -D warnings, and cargo test all pass.

Written by the indexing model from the issue text.

Description

priority::high status::review type::feature

Description

Enable WhatsApp-style instant mobile wake-up without exposing message content:

  1. Blind device push token registration (POST /v1/push/register) storing encrypted/hashed device tokens per mailbox.
  2. Content-free silent push trigger when an envelope is queued in /v1/relay/envelopes.
  3. Ephemeral typing indicator and delivery/read receipt relay (POST /v1/relay/signals).

Acceptance Criteria

  • POST /v1/push/register and POST /v1/relay/signals implemented with < 300 lines/file
  • Zero message plaintext or sender metadata included in wake-up push payloads
  • cargo fmt --check && cargo clippy -- -D warnings && cargo test pass
Dominant language
Rust
Stars
0
Forks
0
Avg merge
4m
Merged PRs (30d)
1

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from alfonsodg/sonaraim-node

All issues in alfonsodg/sonaraim-node

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.