Work

Chegou

Self-hosted push notifications for iOS and Android. Send one HTTP request and it reaches your phone, now or later.

Status
Live
Platforms
iOS, Android and an HTTP API
Built with
Bun, Hono, BullMQ, Redis, SQLite, Flutter
Source
Open source, MIT

What it is

A webhook that turns into a push notification. Point a script, a server or a cron job at your Chegou URL and the message lands on your devices, right away or at a time you choose.

There is no account to create. The API and the mobile app are both open source.

How it works

Immediate: webhook → validate → target devices → APNs / FCM → your phone

Scheduled: webhook → validate → encrypt → SQLite → BullMQ / Redis → APNs / FCM

Every request is checked against a Zod schema with a 4 KB payload limit. Scheduled payloads are encrypted and stored in SQLite, and BullMQ keeps each job in Redis until it is due.

Details

  • The webhook URL is the identity. Its secret part is stored as an Argon2 hash.
  • Device management is signed with Ed25519 inside a 30-second window.
  • Channels group devices and appear the first time you use them, up to 50.
  • Scheduled payloads are encrypted at rest with AES-256-GCM and a fresh IV per message.
  • Rate limits per IP: 30 webhook calls and 5 management calls a minute.
Próximo projetoChunki