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

ollama-code-assistant

v1.0.8

Published

A powerful AI code assistant for VS Code that integrates with Ollama to provide intelligent code assistance and natural language processing capabilities.

Downloads

3

Readme

Ollama Code Assistant for VS Code

A powerful AI code assistant for VS Code that integrates with Ollama to provide intelligent code assistance and natural language processing capabilities directly within your editor.

Features

  • AI-Powered Code Assistance: Get intelligent code suggestions, explanations, and help with debugging or generating code based on natural language descriptions.
  • Natural Language Processing: Ask questions about programming concepts, get explanations of complex topics, and receive detailed answers to technical questions.
  • Multiple Model Support: Easily select and switch between various AI models available through your local Ollama instance, including Llama 2, Mistral, Code Llama, and more.
  • Seamless VS Code Integration: Access AI features via a dedicated sidebar view, the command palette (Ctrl+Shift+P or Cmd+Shift+P), or the context menu in supported files (currently TypeScript files).
  • Configurable Base URL and Rules: Customize the Ollama base URL and define specific rules or instructions to guide the AI's responses.
  • Code Highlighting: Beautiful syntax highlighting for code blocks within AI responses for improved readability.
  • Markdown Support: Rich text formatting using Markdown in AI responses for clear and structured information.
  • Session History: The extension keeps track of your conversation sessions.

Usage

  1. Open VS Code.
  2. Access the Ollama Code Assistant:
    • Click the Ollama Code Assistant icon in the VS Code sidebar.
    • Open the command palette (Ctrl+Shift+P or Cmd+Shift+P) and search for "Ollama Code Assistant".
    • Right-click in a supported editor (e.g., TypeScript files) and select "Ask AI". If text is selected, it will be included in the prompt.
  3. Select your preferred AI model from the dropdown in the sidebar.
  4. Optionally, configure the Ollama Base URL and define custom rules via the settings menu (gear icon) in the sidebar header.
  5. Enter your prompt in the input field.
  6. Press Run or use Ctrl+Enter/Cmd+Enter to submit your request.

Requirements

  • VS Code 1.99.0 or higher.
  • Node.js 20.x or higher.
  • Ollama installed and running locally on your system.
  • At least one AI model pulled using Ollama (e.g., ollama pull llama2, ollama pull mistral, ollama pull codellama).

Configuration

Ollama Base URL

By default, the extension attempts to connect to Ollama at http://localhost:11434. If your Ollama instance is running on a different address, you can configure the Base URL through the extension's settings menu in the sidebar.

Rules

You can define custom rules to be included with your prompts. These rules can help guide the AI's behavior and responses. Access the Rules configuration through the settings menu in the sidebar.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

If you encounter any issues or have suggestions, please open an issue in the GitHub repository.