Skip to content

nooqta/ai-presentation

Repository files navigation

AI-PRESENTATION: An OpenAI Slide Deck Generator with Reveal.js

This Node.js application uses OpenAI's API to generate a slide deck on a given subject. The program prompts the user for a subject, uses OpenAI to generate an outline and slide contents, and then creates an HTML file with the slide deck using Reveal.js.

Table of Contents

Requirements

  • Node.js 12.0 or higher.
  • An OpenAI API key.
  • The dependencies listed in the package.json file.

Installation

Clone the repository and install the dependencies:

git clone https://github.com/nooqta/ai-presentation.git
cd ai-presentation
npm install

All the required dependencies must be installed for the application to run correctly.

Usage

This application requires an OpenAI API key, which should be set as an environment variable named OPENAI_API_KEY. You can set this in a .env file in the root directory of the project.

To run the application, use the following command:

node app.js

When prompted, input the subject of the slide deck. The program will generate an outline, slide contents, and then create an HTML file using Reveal.js.

The HTML file can be opened in a web browser and the presentation can be navigated using the arrow keys.

License

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

Contributing

Contributions are welcome! Please read the contributing guidelines first.

Credits

This project uses the following open-source packages:

Releases

No releases published

Sponsor this project

 

Packages

No packages published