- Bun (v1.0.0 or higher)
PORTNOTESNOOK_API_SERVER_URL
bun install- Install dependenciesbun run dev- Start the development serverbun run build- Build the project for productionbun run start- Start the production server
...
The inbox API server is pretty simple to write from scratch in any programming language and/or framework. There's only one endpoint that needs to be implemented, which does these three steps:
- Fetch the user's public inbox API key from the Notesnook API.
- Encrypt the payload (via libsodium).
- Post the encrypted payload to the Notesnook API.
You can refer to the source code for implementation details.