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

alaska-ai

v0.1.32

Published

AI bridge CLI for running coding agents from chat platforms

Readme

alaska-ai

alaska-ai is a Node.js CLI package that starts the AI bridge service.

Install

npm install -g alaska-ai

Usage

alaska-ai start

On first start, the setup wizard runs and requires a sandbox root directory (projects_root). All project directories must stay under that root. start now runs in background by default and writes logs to ~/.alaska-ai/logs/bridge-latest.log. Managed cloudflared tunnel output is written to ~/.alaska-ai/logs/cloudflared-latest.log. Background process metadata is stored in ~/.alaska-ai/bridge.pid.json.

Before startup with Codex backend, ensure Codex is authenticated manually:

codex login

alaska-ai start does not launch codex login automatically. If not logged in, startup exits and asks you to login first.

or run without global install:

npx alaska-ai start

Available commands:

  • alaska-ai start start the bridge in background (default command)
  • alaska-ai start --foreground start the bridge in current terminal
  • alaska-ai status show bridge background process status
  • alaska-ai stop stop bridge background process
  • alaska-ai configure open settings menu
  • alaska-ai init run setup wizard
  • alaska-ai --help show help

Preview Networking (Named Tunnel)

Preview/file-sharing URLs use a fixed public domain and a local gateway:

  • Public base URL: https://dev.floatcapital.com (default)
  • Local gateway: 127.0.0.1:8000 (default)
  • Route prefixes:
    • /p/{id}/... for preview servers
    • /f/{id}/... for file browser

The bridge manages cloudflared as a child process:

  • command: cloudflared tunnel run my-vps (default tunnel name)
  • auto-reconnect on unexpected exit (exponential backoff, capped)
  • startup fails fast if managed tunnel cannot start

Prerequisites:

  1. Install cloudflared
  2. Create/configure your named tunnel (my-vps by default)
  3. Ensure Cloudflare ingress routes your hostname to the local gateway

Example config.yml:

tunnel: my-vps
credentials-file: /path/to/credentials.json
ingress:
  - hostname: dev.floatcapital.com
    service: http://localhost:8000
  - service: http_status:404

Optional environment variables:

  • ALASKA_PREVIEW_PUBLIC_URL (default: https://dev.floatcapital.com)
  • ALASKA_PREVIEW_GATEWAY_PORT (default: 8000)
  • ALASKA_CLOUDFLARED_TUNNEL_NAME (default: my-vps)
  • ALASKA_PROJECT_ALLOWED_SLACK_USER_IDS (optional Slack user allowlist for project operations; comma or whitespace separated, for example U111,U222)
  • GITHUB_OWNER (optional GitHub owner used for authenticated push workflows)
  • GITHUB_TOKEN (optional GitHub token used for authenticated push workflows)

Gmail OAuth Callback (Public Host + Local Listener)

If Google OAuth should redirect to a public hostname (for example, http://gmail.floatcapital.com:8787/oauth/google/callback), configure the redirect URI and local listener separately:

  • GOOGLE_OAUTH_REDIRECT_URI=http://gmail.floatcapital.com:8787/oauth/google/callback
  • GOOGLE_OAUTH_LISTEN_HOST=127.0.0.1
  • GOOGLE_OAUTH_LISTEN_PORT=8787

In Google Cloud Console, add the exact same redirect URI under "Authorized redirect URIs".

For Cloudflare named tunnel ingress, add an extra route that forwards the OAuth hostname to the local listener:

ingress:
  - hostname: dev.floatcapital.com
    service: http://localhost:8000
  - hostname: gmail.floatcapital.com
    service: http://localhost:8787
  - service: http_status:404

Development

npm install
npm run build
node dist/cli.js --help
npm start

Database setup for fresh deployments:

# Apply base schema first, then sandbox hardening constraints
psql "$SUPABASE_DB_URL" -f supabase/schema.sql
psql "$SUPABASE_DB_URL" -f supabase/init_sandbox.sql

Publish to npm

npm login
npm run prepublishOnly
npm publish --access public