A modern, AI-powered flight search application built with Next.js that allows users to find flights using natural language conversations.
- 🤖 Natural Language Flight Search
✈️ Real-time Flight Information- 📱 Responsive Design
- Framework: Next.js 14 with App Router
- LLM Framework: LlamaIndex (TS)
- Styling: Tailwind CSS
- UI Components: shadcn/ui
- State Management: Zustand
- Animations: Framer Motion
- Clone the repository:
git clone https://github.comLinzo99/flight_bot.git
cd [folder]- Install dependencies:
npm install
# or
pnpm install- Set up environment variables:
cp env_template .env.local- Start the development server:
npm run dev
# or
pnpm dev- Open http://localhost:3000 with your browser to see the application.
├── actions/ # Server actions
├── app/ # Next.js app directory
├── components/ # React components
│ ├── ui/ # Reusable UI components
│ └── providers/ # Context providers
├── hooks/ # Custom React hooks
├── lib/ # Utility functions and types
└── public/ # Static assets
Users can search for flights using natural language queries like "Find me the cheapest flight from New York to London next week" instead of filling out traditional form fields.
The application provides comprehensive flight details including:
- Departure and arrival times
- Flight duration
- Baggage allowance
- Price breakdown
- Airline information
The application is fully responsive and works seamlessly across:
- Desktop computers
- Tablets
- Mobile devices
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.