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

rust-learning-ide

v1.0.0

Published

Interactive Rust Learning IDE — Monaco Editor, AI Sidekick, integrated terminal, and 21+ commented examples

Readme

Rust Learning IDE

Browser-based Rust IDE powered by Monaco Editor. Write, compile, and run Rust programs with one click.
21+ line-commented examples — Basics → Ownership → Traits → Concurrency.


Scrrenshot

Rust IDE

Installation

npm install -g rust-learning-ide

Quick Start

rust-ide                          # default port 3000
rust-ide --port 4000              # custom port
rust-ide --enable-ai              # with AI Sidekick
rust-ide --enable-tour --enable-ai  # full experience

CLI Options

| Flag | Default | Description | |---|---|---| | -p, --port <n> | 3000 | Port | | -h, --host <addr> | localhost | Host | | --rust <path> | auto-detect | Path to rustc | | --enable-tour | off | Splash screen + 9-step guided tour | | --enable-ai | off | AI Sidekick panel |

Layout

┌─────────────────────────────────────────────────────┐
│  Header: Run · Save · Settings · [▣ ▣ ▣] toggles   │
├──────────┬──────────────────────────┬────────────────┤
│          │                          │                │
│ Sidebar  │   Monaco Editor          │  Outline       │
│ Explorer │   (drag splitters to     │  Cheat Sheet   │
│          │    resize any pane)      │  Concepts      │
│          ├──────────────────────────│                │
│          │   Output / Terminal      │                │
└──────────┴──────────────────────────┴────────────────┘
│  Status bar                                          │
└──────────────────────────────────────────────────────┘

Toolbar layout toggles (three buttons, top-right)

| Button | Toggles | |---|---| | ▣ (left bar) | Sidebar | | ▣ (bottom bar) | Output / Terminal panel | | ▣ (right bar) | Outline + Cheat Sheet + Concepts panel |

Splitters

Drag any of the three resize handles:

| Handle | Effect | |---|---| | Vertical — between Sidebar and Editor | Widen / narrow the sidebar | | Horizontal — between Editor and Output | Taller / shorter output panel (drag up or down) | | Vertical — between Editor and Right Panel | Widen / narrow the right panel |

Right Panel tabs

| Tab | Description | |---|---| | Outline | Live symbol list (fn, struct, enum, trait, impl, mod, …). Click any symbol to jump to its line. | | Cheat Sheet | 10-section Rust syntax reference. Click any code snippet to insert it at the cursor. | | Concepts | Concept explanations for the currently open file's topic (auto-updates on file open). |

Example Sections

| Section | Files | |---|---| | 🦀 Basics | main, variables, functions, control_flow, loops | | 🔒 Ownership | ownership, borrowing, lifetimes, slices | | 🧱 Types | structs, enums, traits, generics | | 🚨 Error Handling | option, result, question_mark | | 📦 Collections | vectors, hashmaps, strings, iterators | | ⚡ Closures | closures, functional | | 🧵 Concurrency | threads, channels, shared_state | | 📚 Stdlib | io, files, process | | 🔬 Advanced | smart_pointers, patterns, modules |

AI Sidekick

Start with --enable-ai. Supported providers: Ollama · Claude · OpenAI · xAI · Gemini.

Configure in ⚙ Settings (top-right). Requires an API key or a running Ollama instance.

Keyboard Shortcuts

| Shortcut | Action | |---|---| | Ctrl/Cmd + Enter | Compile and run current file | | Ctrl/Cmd + S | Save current file | | Escape | Close modals / clear file search |

Building a distribution (obfuscated)

/path/to/obfuscli build -p . --exclude "node_modules/*" --exclude "workspace/*" --exclude ".git/*"
# or, if obfuscli is on PATH:
npm run build

Output goes to dist/. Run from there with node dist/server.js.

Re-run the guided tour

localStorage.removeItem("rustide_tour_done_v1"); location.reload();

Support This Work

If this tool has helped you, please consider donating to one of Mohan's suggested charities:

Your generosity makes a real difference. Thank you.


License

MIT © Mohan Chinnappan