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

astra-tui

v0.1.3

Published

A powerful conversational CLI for codebase analysis and autonomous refactoring.

Readme

Astra

The Codebase Operating System

License: MIT Built with Rust GitHub Stars Discord

Website · Documentation · Changelog · Discord


What is Astra?

Astra is a persistent intelligence layer that lives in your terminal and understands your entire codebase — permanently.

Every other tool forgets you the moment you close the terminal. Astra never does.

It builds a living semantic graph of your codebase, remembers every decision ever made, traces bugs through time, protects your security, onboards your team, and gets smarter with every single commit. Free. Forever. Offline.

$ astra "why did we switch from REST to GraphQL in the user service?"

▸ In March you merged PR #47 — over-fetching issues on mobile.
  Decision made by @sarah. Still 2 places using the old REST path.
  Want me to clean those up?

Features

🧠 Core Intelligence

  • System 2 Reasoning — dedicated thought loop that architects solutions before executing
  • Search-Repair Loop — automatically searches for current syntax when uncertain
  • Vibe Switching — modular personas (Architect, Brutal, Nigerian Pidgin, Doge)

🏗️ Migration & Transformation

  • Mass Migration Engine — translates entire codebases between languages idiomatically
  • Semantic Cleanup — post-migration engine that auto-detects and fixes structural drift
  • Project Scaffolding — generates consistent boilerplates for your entire team

🛡️ Security & Time Travel

  • Security Hunter — scans every file for secrets, SQL injection, unencrypted HTTP
  • Semantic Bisect (:bisect) — finds the exact commit that introduced a bug using natural language

👥 Team Operating System

  • Distributed Task Manager — syncs team tasks across machines via a hidden git branch
  • Productivity Metrics — tracks developer velocity, time per task, AI prompt history
  • Cloud Sync — optional real-time sync via Supabase

🎓 Onboarding & Learning

  • Onboarding Manager — acts as a programming tutor for junior developers
  • Learning Phases — sets up structured learning paths and unlocks new levels via AI code review

🔮 Predictive Health

  • Predictive Refactoring — forecasts hot files, technical debt, and cross-language drift
  • Semantic Cartographer (:graph) — generates a full GraphViz dependency map of your codebase
  • Health Dashboard — live scores for Code Quality, Test Health, Security Surface, Team Velocity

🔌 IDE & Ecosystem

  • MCP Support — native bridge for Cursor and Claude Desktop
  • Context Injection — auto-writes .cursorrules so AI editors know what you're working on
  • Watch Mode — real-time monitoring that triggers checks as you type
  • Git Hook Sentry — blocks commits that lower health scores or introduce security risks

Installation

# Install via script (recommended)
curl -fsSL https://astra.sh/install | sh

# Or with Cargo
cargo install astra-cli

# Verify installation
astra --version

Supported platforms: macOS · Linux · Windows (WSL)


Quick Start

# Navigate to your project
cd your-project

# Initialize Astra
astra init

# Index your codebase
astra :index

# Check codebase health
astra :health

# Ask anything
astra "what is the most dangerous file in this codebase"

# Time travel debug
astra :bisect "when did the payment bug get introduced"

# Migrate to another language
astra migrate --from typescript --to rust

Configuration

Astra works out of the box with Ollama (no API key needed). For cloud models, add your key:

# Use Ollama locally (free, offline, recommended)
astra config set model ollama/deepseek-coder

# Or bring your own key
astra config set api-key YOUR_GROQ_KEY
astra config set api-key YOUR_OPENAI_KEY

# Set your vibe
astra vibe nigerian-pidgin
astra vibe brutal
astra vibe architect

Health Dashboard

╔══════════════════════════════════════════════════════╗
║            CODEBASE HEALTH REPORT                    ║
╠══════════════════════════════════════════════════════╣
║  Code Quality        99/100  ██████████  ━           ║
║  Security Surface    90/100  ██████████  ▲ (+12)     ║
║  Cross-Lang Drift    75/100  ███████░░░  ▲ (+75)     ║
║  Test Health          4/100  ░░░░░░░░░░  ━           ║
║  Git Health          42/100  ████░░░░░░  ▼ (-8)      ║
║  Team Velocity        0/100  ░░░░░░░░░░  ━           ║
╠══════════════════════════════════════════════════════╣
║  TOP FIXES THIS WEEK                                 ║
╠══════════════════════════════════════════════════════╣
║  1. 6,681 uncommitted changes — commit or stash      ║
║  2. Test coverage critical — only 4/100              ║
║  3. Low commit frequency — commit smaller, more often║
╚══════════════════════════════════════════════════════╝

Supported Languages

| Language | Migration | Analysis | Security | |----------|-----------|----------|----------| | TypeScript | ✅ | ✅ | ✅ | | JavaScript | ✅ | ✅ | ✅ | | Rust | ✅ | ✅ | ✅ | | Go | ✅ | ✅ | ✅ | | Python | ✅ | ✅ | ✅ | | Java | ✅ | ✅ | ✅ | | Kotlin | 🔜 | ✅ | ✅ |


Philosophy

"Every other AI tool is a smart stranger. Astra is the colleague who's been there since day one."

Astra doesn't write your code. It understands it. The distinction matters.

Writing code is easy. Understanding why it exists, what it connects to, what it will break, who built it, and what it will look like in six months — that's hard. That's what Astra does.


Contributing

Astra is open source and contributions are welcome.

git clone https://github.com/ciphrnotfound/astra
cd astra
cargo build
cargo test

See CONTRIBUTING.md for guidelines.


Roadmap

  • [x] Core CLI + conversational interface
  • [x] Codebase indexing + language detection
  • [x] Cross-language migration engine
  • [x] Semantic memory system
  • [x] Health dashboard
  • [x] Time travel debugging (:bisect)
  • [x] Security hunter
  • [x] Team task OS
  • [x] MCP integration
  • [x] Vibe/persona system
  • [ ] Cross-repo intelligence
  • [ ] Global machine-wide graph
  • [ ] Codebase simulation
  • [ ] Astra Cloud dashboard
  • [ ] VS Code extension

License

MIT © ciphr


Built with ❤️ and Rust · astra.sh