GithubHelp home page GithubHelp logo

christo-mabbs11 / bimbus-docs Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 0.0 294 KB

Bimbus AI: a Node.js command line tool utilizing OpenAI's GPT language model APIs for automated code documentation generation, boosting code comprehension, collaboration, and development efficiency. Streamline your workflow and unleash the full potential of your code with Bimbus ๐Ÿš€โœจ

License: MIT License

JavaScript 100.00%
ai ai-tools auto-comments auto-documentation autodoc automation cli-documentation docs documentation documentation-generator

bimbus-docs's Introduction


BimBus AI [Simple Docs]

Automated Code Documentation

Developed using OpenAI's GPT language model APIs

Markdown Node JS NPM OpenAI

๐Ÿ“– Overview

Automatically Document Programming Files and Scripts with BimBus. BimBus is a sleek and powerful command line tool crafted with Node.js and fueled by OpenAI's cutting-edge technology. Effortlessly generate thorough and comprehensive documentation for your code files. Works for all file types and projects.

โš™๏ธ System Requirements

  • Node.js (v16 or higher)
  • npm (v8 or higher)

๐Ÿš€ Installation

 $ git clone https://github.com/bitgangstudio/bimbus-cli.git
 $ cd bimbus-cli
 $ npm install
 $ npm run build

๐Ÿ’ป OpenAI API

To use BimBus AI, you will need to create an account with OpenAI to generate an API key. The steps below outline this setup process:

  1. Go to the OpenAI website.
  2. Click the "Sign up for free" button.
  3. Fill out the registration form with your information and agree to the terms of service.
  4. Once logged in, click on the "API" tab.
  5. Follow the instructions to create a new API key.
  6. Copy the API key and keep it in a secure place.

๐Ÿ“ Usage

To generate documentation using BimBus, run the following command:

 $ node dist/index.js -t <openai_access_token> \
                      -i <input_file_path> \
                      -m <model> \
                      [-o <output_file_directory>] \
                      [-f <filetype>] \
                      [-v] [-k] [-h]

The command accepts the following arguments:

  • -t or --token: Specifies the OpenAI Access Token.
  • -i or --input: Specifies the path to the input file containing code to generate documentation for.
  • -m or --model: Open AI Model used to process documentation. Accepts gpt-3.5-turbo or gpt-4. Default model is gpt-3.5-turbo.
  • -o or --output (optional): Specifies the output directory where the generated documentation will be saved. If not provided, the documentation will be saved in the current working directory.
  • -f or --filetype (optional): Specifies the output file type for the generated documentation (default: markdown). Can be 'markdown' or 'html'
  • -k or --keep (optional): Specifies if we should keep the meta/processing files being used as part of documentation generation process.
  • -v or --verbose (optional): Enables verbose output for detailed information (default: false).
  • -h or --help: Displays the help message for BimBus.

๐ŸŒŸ Examples

The following are some examples on how to run BimBus.

Basic usage:

 $ node dist/index.js -t <OpenAI Access Token> -i path/to/file.js

Specifying an output directory:

 $ node dist/index.js -t <OpenAI Access Token> -i path/to/file.py -o output/docs/

Customizing the output file type:

 $ node dist/index.js -t <OpenAI Access Token> -i path/to/file.ts -f html

Enabling verbose output:

 $ node dist/index.js -t <OpenAI Access Token> -i path/to/file.py -v

Displaying help message:

 $ node dist/index.js --help

๐Ÿค Contributions and Issues

We welcome contributions and feedback! If you encounter any issues or have suggestions for improvements, please submit them in the Issue Tracker. Pull requests are also welcome.

๐Ÿ“„ License

BimBus is released under the MIT License.

๐Ÿ‘ฉโ€๐Ÿ’ป Happy documenting with BimBus!

bimbus-docs's People

Contributors

christo-mabbs11 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.