Skip to content

Self documenting tool using GPT4-turbo. It also can document your project

Notifications You must be signed in to change notification settings

ffrappo/code-narrator-turbo

 
 

Repository files navigation

code-narrator-turbo

Description

code-narrator-turbo uses OpenAI to generate documentation for your source code, as well as create HowTo, FAQ, Tutorial, and other custom pages. code-narrator-turbo documents itself and should be a validation of the documentation working, similar to a compiler compiling itself. Configuration code-narrator-turbo.config.js file is created on first run and sets the configuration for your project, such as project path, doc, documentation type, and more. The package can be installed using npm i code-narrator-turbo -D. code-narrator-turbo is code language, linguistic & framework neutral. It keeps your documentation always up to date.

Getting Started

  1. Move to your project directory.

  2. Install the package:

npm i https://github.com/ffrappo/code-narrator-turbo -D
  1. Create a .env file there (if it doesn't exist) and add your OPENAI_API_KEY=****.

  2. Run code-narrator-turbo:

npx code-narrator-turbo
  1. The first run is setup only. The second will start creating documentation.

Usage

After installing the package and running it for the first time, a code-narrator-turbo.config.js file will be generated. You can customize this file to configure the documentation generation for your project.

Repository

code-narrator-turbo Repository

Documentation

Report Issues

If you encounter any issues or have suggestions, please report them here.

Version

1.0.30

License

ISC

About

Self documenting tool using GPT4-turbo. It also can document your project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 79.7%
  • Liquid 10.9%
  • JavaScript 8.8%
  • Ruby 0.6%