Skip to content

WilliamBonvini/shawn

Repository files navigation

Welcome to Shawn: Your Code Buddy 🐕‍🦺

PyPI License PyPI Version PyPI Downloads

Shawn is your go-to command-line chatbot for all your coding queries. It's designed to make your coding experience smoother and more efficient.

Features:

  • Instant Code Answers: Shawn taps into the power of OpenAI's Chat Completion API and custom-made functionalities to deliver well-structured and informative responses to your coding questions.

  • Machine Awareness: It goes the extra mile by understanding and providing information about your machine's state, ensuring tailored assistance.

  • Syntax-Highlighted Code Snippets: When you seek code suggestions, Shawn doesn't just provide answers; it delivers beautifully syntax-highlighted markdown code snippets.

  • Seamless Coding Sessions: Our primary goal is to minimize context-switching during your coding sessions. With Shawn, you can stay in the flow and get answers without leaving your terminal.

Whether you're a seasoned developer or just starting your coding journey, Shawn is here to make your life easier. Try it now and elevate your coding experience! 🚀

Alt Text

Setup

Requirements

  • Python 3.8+

Installation

Install it with pip

$ pip install shawn

or add it to your Poetry project:

$ poetry add shawn

Getting Started

Once Shawn is installed, you can utilize it through the following commands:

Start a Chat

To initiate a chat session with Shawn, execute the following command:

$ shawn chat

Code Explanation

For a detailed natural language explanation of your source code, use the following commands:

$ shawn dig path/to/file.c
$ shawn dig path/to/folder