NextGram Plugin SDK · API 1
Plugins that feel like part of the app.
TypeScript first. One signed .ngp package. Declarative UI, themes, screen replacement, automation and a host API that stays typed, permissioned and versioned.
- Runtime
- Android 13.4.3
- SDK
- API 1
- Minimum
- Android 6.0
Pick the language that fits the job.
Every kind ships in the same container, passes the same verifier and installs through the same consent screen.
Sandboxed QuickJS, declarative UI, Canvas, screens and slots. The fastest path from an idea to a working plugin.
SandboxedTrusted native code for real View objects, threading and the deeper host surface. Compiled to one DEX.
TypeScript orchestrates the plugin while a Java module exposes explicitly registered native methods.
Sandbox + DEXWhat the host gives you.
The API is permissioned at the package boundary. Request only what the plugin actually needs.
Declarative UI
23 node types, Canvas display lists, host-owned accessibility, RTL, density and font scale.
Appearance
Semantic palette tokens, raw upstream color keys and plugin-scoped custom colors with safe reset.
Screens & slots
Replace five host screens or add header slots. Protected surfaces never resolve to plugin views.
Messages & chats
Read, send, edit, delete, react, manage members, create groups and run chat administration.
Automation
Message, member and schedule triggers with bounded filters, rate limits and an audit trail.
Resources
Fonts, sounds, wallpapers, icons, strings, haptics, motion and chrome colors in one provider stack.
Documentation an agent can act on.
Every page has a clean Markdown source, stable anchors and a machine manifest. An agent can read the whole surface, pick the relevant page and validate the package without scraping HTML.
- llms.txt A curated index with the rules that reject packages most often.
- raw/*.md The exact source for each page, linked with
rel="alternate". - ai.json Titles, descriptions, URLs and Markdown paths for tooling.
# index + hard rules
curl -s https://plugins.nextdev.fun/llms.txt
# focused source for one page
curl -s https://plugins.nextdev.fun/raw/package-format.md
# machine-readable manifest
curl -s https://plugins.nextdev.fun/ai.json