GithubHelp home page GithubHelp logo

pencil's Introduction



✏️ Pencil is a simple AI-based multi-file project writer. ✏️

Supported Python Versions Supported Python Versions LICENSE


Pencil

Pencil is a simple AI-based multi-file project writer. It leverages OpenAI's models to assist in generating, maintaining, and updating code across multiple files in a project.



Table of Contents



Quick Start

To get started with Pencil, you can follow the instructions provided below for installation and usage.



Installation

NOTE: This package works with Python >= 3.12

Install from Github

git clone https://github.com/GoInterject/pencil.git
cd pencil
python -m pip install .

Install from Python Package Index (⚠️ coming soon ⚠️)

pip install pencilai


Usage

To interactively chat with the AI-based project writer:

pencil chat --openai-api-key "<YOUR_OPENAI_API_KEY>"

Replace <YOUR_OPENAI_API_KEY> with your actual OpenAI API key.



CLI Commands

To list all the files in the project directory:

pencil ls --base-dir "/path/to/project"

You can replace /path/to/project with the path to your project directory. Default is the current directory (.).



Contributing

We welcome contributions to Pencil! To do so, please follow these steps:

  1. Fork the repository from GitHub.
  2. Clone your forked repository:
    git clone https://github.com/YOUR_USERNAME/pencil.git
    
  3. Create a new branch for your feature or bugfix:
    git checkout -b feature-or-bugfix-name
    
  4. Make the necessary changes and commit them:
    git commit -m "Description of your changes"
    
  5. Push your changes to your forked repository:
    git push origin feature-or-bugfix-name
    
  6. Open a pull request on the original repository and provide a brief description of your changes.

We will review your pull request as soon as possible. Thank you for contributing!

License

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

pencil's People

Contributors

harmonichemispheres avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.