GovNews360 AI is an AI-powered, machine learning-driven web application designed for real-time government news monitoring and insights extraction. It automates the end-to-end pipeline of news ingestion, classification, multilingual sentiment analysis, and intelligent alerting, providing a scalable, modern solution for public sector awareness and decision-making.
- Framework: React 18 with TypeScript
- Build Tool: Vite
- Styling: Tailwind CSS with Shadcn UI components
- State Management: React Query
- Form Handling: React Hook Form with Zod validation
- Routing: React Router DOM
- Charts: Recharts
- PDF Generation: jsPDF
- UI Components: Radix UI primitives with Shadcn UI
- Animations: Tailwind CSS Animate
- Date Handling: date-fns
- Translation: Google Translate API
- Database: Supabase
- AI Integration: Google Generative AI, OpenAI
- Authentication: Supabase Auth
- Node.js (v18 or higher)
- npm or yarn
- Git
- Clone the repository:
git clone https://github.com/yourusername/insight-gov-watch.git
cd insight-gov-watch- Install dependencies:
npm install
# or
yarn install- Create a
.env.localfile in the root directory and add the following environment variables:
VITE_SUPABASE_URL=your_supabase_url
VITE_SUPABASE_ANON_KEY=your_supabase_anon_key
VITE_GOOGLE_AI_API_KEY=your_google_ai_api_key
VITE_OPENAI_API_KEY=your_openai_api_key- Start the development server:
npm run dev
# or
yarn devsrc/
├── components/ # Reusable UI components
├── config/ # Configuration files
├── contexts/ # React contexts
├── hooks/ # Custom React hooks
├── integrations/ # Third-party service integrations
├── lib/ # Utility functions and helpers
├── pages/ # Page components
├── services/ # API and service functions
├── types/ # TypeScript type definitions
├── App.tsx # Main application component
└── main.tsx # Application entry point
- Create a new branch for your feature:
git checkout -b feature/your-feature-name- Make your changes and commit them:
git add .
git commit -m "Description of your changes"- Push your changes and create a pull request:
git push origin feature/your-feature-nameRun the linter:
npm run lint
# or
yarn lintTo create a production build:
npm run build
# or
yarn buildTo preview the production build:
npm run preview
# or
yarn preview- Real-time government data monitoring
- AI-powered insights and analysis
- Multi-language support
- Interactive data visualization
- PDF report generation
- Responsive design
- Dark/Light mode support
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a new Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Shadcn UI for the beautiful component library
- Supabase for the backend infrastructure
- Vite for the build tool
- Tailwind CSS for the styling framework