Analyze emotional tone effortlessly with Sentinel, a sentiment analyzer powered by modern frontend technologies and designed for an interactive, seamless user experience.
- 🌈 Gradient Text and Animations: A modern and visually appealing UI with Tailwind CSS animations and gradients.
- 🧠 Sentiment Analysis: Analyze text for emotional tone, intensity, and recommended actions.
- 🎯 Interactive Results: Dynamic display of sentiment, intensity, and suggestions with real-time animations.
- 📈 Responsive Design: Fully responsive layout for all screen sizes, from mobile to desktop.
- 🔥 Error Handling: User-friendly error alerts to guide the user in case of issues.
- Frontend Framework: Angular 18 along with TailwindCSS
- Backend: Generative AI integration via the
@google/generative-ai
package - Hosting: Vercel for fast and reliable deployment
- UI Components: DaisyUI cards, buttons, and text area
- Animations: TailwindCSS animations for a polished experience
Follow these steps to set up the project locally:
- Angular CLI Overview and Command Reference
- Angular v18
- Node.js >= 14.x
- npm or yarn
-
Clone the repository:
git clone https://github.com/Talha-Tahir2001/Sentinel.git
-
Navigate to the project directory:
cd Sentinel
-
Install dependencies:
npm install
-
Set up your API key:
- Replace
your_api_key_here
in the.env
file with your API key for Google Generative AI.
- Replace
-
Start the development server:
ng serve
-
Open your browser and visit:
http://localhost:3000
- Enter the text you wish to analyze in the text area.
- Click "Analyze Sentiment" to process the input.
- View the analysis results, including:
- Sentiment: Emotional tone of the text.
- Intensity: Strength of the emotional tone (e.g., Positive, Negative, Neutral).
- Suggested Actions: Recommended follow-up actions.
- Analysis of the message and reason
A live demo of the app is available here.
Contributions are welcome! Here's how you can help:
- Fork the repository.
- Create a new branch for your feature or bug fix:
git checkout -b feature-name
- Commit your changes:
git commit -m "Add new feature"
- Push to your branch:
git push origin feature-name
- Open a pull request. Also feel free to check out the issues page.
This project is licensed under the MIT License.
See the LICENSE file for details.
If you find a security issue, please open an issue or contact me directly.
Feel free to reach out:
- GitHub: Talha Tahir
- LinkedIn: Talha Tahir
If you find this project helpful, give it a ⭐ on GitHub!
Made with ❤️ by Talha