Al article summarizer tool with NextJS and chatGPT(RapidAPI)
This Next.js project utilizes the power of OpenAI GPT-4 through RapidAPI to create a simple article summarizer. With the combination of Next.js for the frontend, Redux for state management, and OpenAI GPT-4 for natural language processing, this project offers a seamless and efficient way to generate article summaries.
- Article Summarization: Leverage the capabilities of OpenAI GPT-4 to generate concise and informative summaries of articles.
- Next.js Framework: Utilize the benefits of server-side rendering, automatic code splitting, and a great developer experience provided by Next.js.
- Redux State Management: Manage application state efficiently with Redux, ensuring a predictable and centralized state container.
- RapidAPI Integration: Access OpenAI GPT-4 through RapidAPI, simplifying the integration process and allowing for easy scalability.
Before getting started, ensure you have the following installed:
- Node.js: Download and install Node.js
- npm: npm is the package manager for Node.js and comes bundled with the installation of Node.js.
-
Clone the repository:
git clone https://github.com/minhajhameed/nextjs-ai-summarizer.git cd nextjs-ai-summarizer
-
Install dependencies:
npm install
-
Create a RapidAPI account and obtain an API key for OpenAI GPT-4.
-
Copy the
.env.example
file to a new file named.env.local
and fill in your RapidAPI key:RAPIDAPI_KEY=your_rapidapi_key
-
Start the development server:
npm run dev
-
Open your browser and visit http://localhost:3000 to see the application in action.
- Enter the URL of the article you want to summarize.
- Click the "Summarize" button.
- The application will communicate with OpenAI GPT-4 via RapidAPI and display the generated summary.
Contributions are welcome! If you have ideas for improvements or find any issues, please submit a pull request or open an issue.
This project is licensed under the MIT License.
For any questions or feedback, feel free to reach out to us at [email protected].