Skip to content

Talha-Tahir2001/Sentinel

Repository files navigation

Sentinel: Your Sentiment Analyzer

Analyze emotional tone effortlessly with Sentinel, a sentiment analyzer powered by modern frontend technologies and designed for an interactive, seamless user experience.

🚀 Features

  • 🌈 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.

🖥️ Tech Stack

  • 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

🛠️ Installation & Setup

Follow these steps to set up the project locally:

Prerequisites


Steps

  1. Clone the repository:

    git clone https://github.com/Talha-Tahir2001/Sentinel.git  
  2. Navigate to the project directory:

    cd Sentinel
  3. Install dependencies:

    npm install 
  4. Set up your API key:

    • Replace your_api_key_here in the .env file with your API key for Google Generative AI.
  5. Start the development server:

    ng serve 
  6. Open your browser and visit:

    http://localhost:3000 

📋 Usage

  • 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

💻 Demo

A live demo of the app is available here.


🤝 Contributing

Contributions are welcome! Here's how you can help:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix:
    git checkout -b feature-name 
  3. Commit your changes:
    git commit -m "Add new feature" 
  4. Push to your branch:
    git push origin feature-name 
  5. Open a pull request. Also feel free to check out the issues page.

📜 License

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


🛡️ Security

If you find a security issue, please open an issue or contact me directly.


🌟 Acknowledgments


📞 Contact

Feel free to reach out:


🙌 Thank You!

If you find this project helpful, give it a ⭐ on GitHub!

Made with ❤️ by Talha

About

Sentinel: An AI Powered Tool for Sentiment Analysis

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published