Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

WilliamBonvini/shawn

Repository files navigation

⚠️ This repository is now archived and no longer actively maintained.

Shawn - Code Assistant 🐕‍🦺

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.

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