AirEval is a simple Next.js-based web application that evaluates air quality parameters (PM2.5, temperature, humidity, TVOC, CO, CO2) and provides detailed AI-based recommendations and health impact assessments in markdown format. The application fetches air quality data and generates an AI response, then renders it beautifully.
- Air Quality Evaluation: Submit air quality parameters and receive a detailed breakdown with AI-generated insights.
- Health and Safety Recommendations: Get tailored recommendations based on air quality data, including evacuation advice and pollution source identification.
- Markdown Rendering: Responses are formatted using markdown for clean and structured output.
- Next.js Framework: Built with the power and flexibility of Next.js and MDX.
-
Clone the repository:
git clone https://github.com/yourusername/aireval.git
-
Install dependencies:
cd aireval npm install
-
Set up your OpenAI API key in a
.env.local
file:OPENAI_API_KEY=your_openai_key
-
Run the development server:
npm run dev
-
Visit the app on
http://localhost:3000
- Navigate to the homepage.
- Fill in the required air quality data (PM2.5, temperature, humidity, TVOC, CO, CO2).
- Submit the form to receive an AI-evaluated report on air quality conditions.
- The report will display on the page, formatted in markdown for easy readability.
Feel free to open issues, suggest features, or submit pull requests. Contributions are welcome!
This project is licensed under the MIT License.