Files
puter/src/docs
Juan Castro 4fd9fae926 feat(push): send pushes for new notifications through a registered provider
Every non-silent notification write and in-place update emits a node-local
`notif.written` event. PushService picks it up when push is enabled and a
provider is registered, and sends it to the user's devices unless the user
is connected where the notification already shows.

- `app.message` needs the user's push consent for that app and reaches
  Puter's devices plus that app's; every other type follows the user's Puter
  preference and reaches Puter's devices only.
- Presence counts this node's sockets, and other nodes and regions where
  presence is kept.
- Providers register per platform with `registerProvider`; core ships none.
  Batches of 100 tokens, bounded concurrency, no retries. Delivered devices
  are touched, unregistered ones removed, others get a failure counted.
- Messages are built per type and fit to a 3,800 byte budget; `data` is
  never cut.
2026-10-24 16:07:58 -04:00
..
2026-10-03 10:27:23 +07:00
…

Puter.js Docs

Docs · Developer · Puter.com · X

screenshot


Puter.js Docs

The Puter.js documentation contains everything you need to build powerful applications with Puter.js.

  • Get started with Puter.js by reading documentations on usage and best practices
  • Browse all available APIs, including AI, networking, authentication, and cloud services
  • Find code examples and implementations to speed up your development

Getting Started

💻 Local Development

git clone https://github.com/HeyPuter/docs
cd docs
npm install
npm run dev

→ This should launch Puter.js Docs at http://127.0.0.1:8080 (or the next available port).


Support

Connect with the maintainers and community through these channels:

We are always happy to help you with any questions you may have. Don't hesitate to ask!


License

This repository, including its sub-projects, modules, and components, is licensed under MIT, and its content is licensed under CC BY-SA 4.0 unless explicitly stated otherwise. Third-party libraries included in this repository may be subject to their own licenses.