npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

allo-cli

v1.0.2

Published

Official CLI for building and publishing Allo mini-apps

Readme

allo-cli

Official CLI for building and publishing Allo mini-apps.

Installation

npm install -g allo-cli

Full Developer Journey

1. Register on dev portal  →  the Allo Developer Portal
2. Create app              →  Get App ID + App Secret
3. Install CLI             →  npm install -g allo-cli
4. Login                   →  allo login
5. Scaffold project        →  allo create my-app
6. Link to your app        →  allo init --app-id YOUR_APP_ID
7. Develop locally         →  allo dev
8. Build bundle            →  allo build
9. Submit for review       →  allo submit
10. Admin approves         →  Admin panel → Mini-App Review
11. Live in marketplace    →  Users can find and launch your app

See examples/allo-demo-app/ for a complete working example.


Commands

allo login

Authenticate with your App ID and Secret from the developer portal.

allo login
allo login --app-id abc123   # skip prompt
allo login --force           # re-authenticate

Credentials are saved to ~/.allo/credentials.json (mode 600).

allo logout

Clear saved credentials.

allo logout

allo whoami

Show current authentication status.

allo whoami

allo init

Initialize allo.config.json in an existing project.

allo init
allo init --app-id abc123

allo create [name]

Scaffold a new mini-app project.

allo create my-app
allo create my-app --template react
allo create my-app --template vanilla

Templates:

  • blank — Minimal HTML/JS starter (default)
  • react — React + Vite with Allo SDK pre-configured
  • vanilla — Plain JavaScript with Allo SDK

allo dev

Start a local dev server with live reload and the Allo SDK simulator.

allo dev
allo dev --port 8080
  • Opens http://localhost:3000 automatically
  • Injects window.AlloSDK simulator — all wallet, user, navigation, storage, and haptics APIs are mocked
  • Live reload on file changes
  • SDK call logs in browser console

allo build

Bundle the mini-app for submission.

allo build
allo build --out dist

Produces dist/<name>-<version>.zip ready for upload.

allo submit

Upload the bundle to the Allo Developer Portal for review.

allo submit --app-id abc123
allo submit --app-id abc123 --notes "Fixed payment flow"

Options:

  • --app-id — App ID from the developer portal (or set in allo.config.json)
  • --token — API token (or set ALLO_API_TOKEN env var)
  • --notes — Release notes for this version

allo.config.json

Every Allo mini-app has an allo.config.json at the project root:

{
  "name": "my-app",
  "version": "1.0.0",
  "description": "My Allo mini-app",
  "permissions": ["wallet.read", "user.profile"],
  "entryPoint": "src/index.html",
  "appId": "abc123"
}

Allo SDK

The Allo SDK is injected by the runtime as window.AlloSDK. In dev mode, it's mocked by the simulator.

// Wallet
const balance = await AlloSDK.wallet.getBalance();
// → { amount: 125000, currency: 'ETB' }  (amount in cents)

await AlloSDK.wallet.requestPayment({
  amount: 5000,       // 50.00 ETB
  currency: 'ETB',
  description: 'Order #123',
});

// User
const user = await AlloSDK.user.getProfile();
// → { userID, nickname, faceURL, phone }

// Navigation
AlloSDK.navigation.close();
AlloSDK.navigation.openURL('https://example.com');

// Storage (per-app, sandboxed)
await AlloSDK.storage.set('key', { value: 42 });
const data = await AlloSDK.storage.get('key');

// Share
await AlloSDK.share.text('Check out this app!');

// Haptics
AlloSDK.haptics.impact('medium');
AlloSDK.haptics.notification('success');

Environment Variables

| Variable | Description | |---|---| | ALLO_API_TOKEN | API token for allo submit | | ALLO_API_URL | Override API base URL (defaults to the Allo production API) |

License

MIT