π Welcome to the AI Text Summarizer Web App repository! This application leverages the power of artificial intelligence to provide concise summaries of long texts. Whether you have a lengthy article, research paper, or any other text document that you want to summarize quickly, this app can assist you.
- Text Summarization: Paste any text into the text area and get a concise summary.
- Default Text: Use the default text button to add dummy text for testing.
- Responsive Design: The app is responsive and works well on various devices.
- Loading State: The submit button shows a loading spinner while the text is being summarized.
- Node.js and npm installed on your machine
- Hugging Face API token
- Clone the repository:
git clone https://github.com/vansh-codes/AI-Text-Summarizer-App.git
- Create a
.envfile in the root directory and add your Hugging Face API token:ACCESS_TOKEN=your_hugging_face_api_token
- run
node index.js - Open
localhost:3000in your web browser to start using the application.
- Access here: AI-Text-Summarizer
- Open the application in your browser.
- Paste your text into the "Paste in some text to summarize" text area. Ensure that the text length is between 200 and 100,000 characters.
- Click the "Summarize" button to get a concise summary of the text.
- Optionally, click the "Add Default Text" button to insert dummy text into the text area for testing purposes.
. βββ public β βββ index.html # HTML for the app β βββ stylesheet.css # CSS styles for the app β βββ script.js # script for the app βββ index.js βββ summarize.js βββ .env # Environment variables (not committed to version control) βββ .gitignore # Files and directories to ignore in git βββ package.json # Project dependencies and scripts βββ README.md # Project documentationThe app uses the Hugging Face BART model for text summarization. The API call is made using the axios library in the script.js file. Ensure that your Hugging Face API token is set correctly in the .env file.
Contributions are welcome! Please create a issue and wait until assigned. When assigned fork the repository and submit a pull request for any enhancements or bug fixes.
This project is licensed under the MIT License. See the LICENSE file for details.
For any questions or feedback, please contact vansh-codes.
Show some β€οΈ by starring this repository !