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 🙏

© 2024 – Pkg Stats / Ryan Hefner

witsy

v1.22.1

Published

Witsy: desktop AI assistant

Downloads

68

Readme

Witsy

Generative AI desktop application:

  • OpenAI, Ollama, Anthropic, MistralAI, Google, Groq and Cerebras models supported
  • Chat completion and image generation with Vision models support
  • Scratchpad to interactively create the best content with any model!
  • Prompt anywhere allows to generate content directly in any application
  • AI commands runnable on highlighted text in almost any application
  • Experts prompts to specialize your bot on a specific topic
  • LLM plugins to augment LLM: execute python code, search the Internet...
  • Read aloud of assistant messages (requires OpenAI API key)
  • Read aloud of any text in other applications (requires OpenAI API key)
  • Chat with your local files and documents (RAG)
  • Transcription/Dictation (Speech-to-Text)
  • [BETA] Anthropic Computer Use support
  • Local history of conversations (with automatic titles)
  • Formatting and copy to clipboard of generated code
  • Image copy and download

Prompt Anywhere

Generate content in any application:

  • From any editable content in any application
  • Hit the Prompt anywhere shortcut (Shift+Control+Space / ^⇧Space)
  • Enter your prompt in the window that pops up
  • Watch Witsy enter the text directly in your application!

On Mac, you can define an expert that will automatically be triggered depending on the foreground application. For instance, if you have an expert used to generate linux commands, you can have it selected if you trigger Prompt Anywhere from the Terminal application!

AI Commands

AI commands are quick helpers accessible from a shortcut that leverage LLM to boost your productivity:

  • Select any text in any application
  • Hit the AI command shorcut (Alt+Control+Space / ⌃⌥Space)
  • Select one of the commands and let LLM do their magic!

You can also create custom commands with the prompt of your liking!

Commands inspired by https://the.fibery.io/@public/Public_Roadmap/Roadmap_Item/AI-Assistant-via-ChatGPT-API-170.

Experts

From https://github.com/f/awesome-chatgpt-prompts.

Scratchpad

https://www.youtube.com/watch?v=czcSbG2H-wg

Chat with your documents (RAG)

You can connect each chat with a document repository: Witsy will first search for relevant documents in your local files and provide this info to the LLM. To do so:

  • Click on the database icon on the left of the prompt
  • Click Manage and then create a document repository
  • OpenAI Embedding require on API key, Ollama requires an embedding model
  • Add documents by clicking the + button on the right hand side of the window
  • Once your document repository is created, click on the database icon once more and select the document repository you want to use. The icon should turn blue

Transcription / Dictation (Speech-to-Text)

You can transcribe audio recorded on the microphone to text. Transcription can be done using OpenAI Whisper online model (requires API key) or using local Whisper model (requires download of large files). Once the text is transcribed you can:

  • Copy it to your clipboard
  • Insert it in the application that was running before you activated the dictation

[BETA] Anthropic Computer Use

https://www.youtube.com/watch?v=vixl7I07hBk

Setup

You can download a binary from the Releases page or build yourself:

npm install
npm start

Prerequisites

To use OpenAI, Anthropic, Google or Mistral AI models, you need to enter your API key:

To use Ollama models, you need to install Ollama and download some models.

To use text-to-speech, you need an OpenAI API key.

To use Internet search you need a Tavily API key.

TODO

  • [ ] Ollama function-calling (pending https://github.com/ollama/ollama-js/issues/123)
  • [ ] i18n
  • [ ] Proper database (SQLite3) storage (??)

WIP

  • [ ] RAG in Scratchpad

DONE

  • [x] Hugging face image generation
  • [x] Show prompt used for image generation
  • [x] Redesigned Prompt window
  • [x] Anthropic Computer Use
  • [x] Auto-update refactor (still not Windows)
  • [x] Dark mode
  • [x] Conversation mode
  • [x] Google function calling
  • [x] Anthropic function calling
  • [x] Scratchpad
  • [x] Dictation: OpenAI Whisper + Whisper WebGPU
  • [x] Auto-select expert based on foremost app (Mac only)
  • [x] Cerebras support
  • [x] Local files RAG
  • [x] Groq model update (8-Sep-2024)
  • [x] PDF Export of chats
  • [x] Prompts renamed to Experts. Now editable.
  • [x] Read aloud
  • [x] Import/Export commands
  • [x] Anthropic Sonnet 3.5
  • [x] Ollama base URL as settings
  • [x] OpenAI base URL as settings
  • [x] DALL-E as tool
  • [x] Google Gemini API
  • [x] Prompt anywhere
  • [x] Cancel commands
  • [x] GPT-4o support
  • [x] Different default engine/model for commands
  • [x] Text attachments (TXT, PDF, DOCX, PPTX, XLSX)
  • [x] MistralAI function calling
  • [x] Auto-update
  • [x] History date sections
  • [x] Multiple selection delete
  • [x] Search
  • [x] Groq API
  • [x] Custom prompts
  • [x] Sandbox & contextIsolation
  • [x] Application Menu
  • [x] Prompt history navigation
  • [x] Ollama model pull
  • [x] macOS notarization
  • [x] Fix when long text is highlighted
  • [x] Shortcuts for AI commands
  • [x] Shift to switch AI command behavior
  • [x] User feedback when running a tool
  • [x] Download internet content plugin
  • [x] Tavily Internet search plugin
  • [x] Python code execution plugin
  • [x] LLM Tools supprt (OpenAI only)
  • [x] Mistral AI API integration
  • [x] Latex rendering
  • [x] Anthropic API integration
  • [x] Image generation as b64_json
  • [x] Text-to-speech
  • [x] Log file (electron-log)
  • [x] Conversation language settings
  • [x] Paste image in prompt
  • [x] Run commands with default models
  • [x] Models refresh
  • [x] Edit commands
  • [x] Customized commands
  • [x] Conversation menu (info, save...)
  • [x] Conversation depth setting
  • [x] Save attachment on disk
  • [x] Keep running in system tray
  • [x] Nicer icon (still temporary)
  • [x] Rename conversation
  • [x] Copy/edit messages
  • [x] New chat window for AI command
  • [x] AI Commands with shortcut
  • [x] Auto-switch to vision model
  • [x] Run at login
  • [x] Shortcut editor
  • [x] Chat font size settings
  • [x] Image attachment for vision
  • [x] Stop response streaming
  • [x] Save/Restore window position
  • [x] Ollama support
  • [x] View image full screen
  • [x] Status/Tray bar icon + global shortcut to invoke
  • [x] Chat themes
  • [x] Default instructions in settings
  • [x] Save DALL-E images locally (and delete properly)
  • [x] OpenAI links in settings
  • [x] Copy code button
  • [x] Chat list ordering
  • [x] OpenAI model choice
  • [x] CSS variables