Skip to content
/ flyte Public

A simple, modern, open-source flight search engine that allows users to fetch flights, look at route maps, fetch YouTube reviews, and more. All 100% free

License

Notifications You must be signed in to change notification settings

arghya-v/flyte

Repository files navigation

flyte banner (2)

A modern, responsive flight search engine built with Next.js, TypeScript, and React, featuring real-time flight data, dynamic currency conversion, airport information, and amenities display.

Flyte - a simple flight search engine | Product Hunt

Table of Contents

Features

  • Flight Search by departure/arrival airports, dates, and passengers
  • Flight Distance Counter
  • Real-time Flight Data using Amadeus API
  • Dynamic Currency Conversion (USD, CAD, EUR, GBP, INR, JPY)
  • Airport Information: name, city, and coordinates
  • Flight Amenities: WiFi, power outlets, TVs, legroom info
  • Smooth animations with Framer Motion
  • Responsive design for desktop
  • REAL YouTube review videos on airlines
  • Flight booking systems through KAYAK and Skyscanner

Tech Stack

  • Frontend:

    React Next.js TypeScript
  • Styling:

    TailwindCSS Framer Motion
  • API: Amadeus Flight APIs, Amadeus Airport Lookup API, YouTube APIs, ExchangeRate APIs, etc.

    Node.js (API Layer) TypeScript TypeScript
  • Data: Custom datasets for aircraft & airports

    JSON
  • Deployment:

    Vercel

Installation

git clone https://github.com/arghya-v/flyte.git
cd flyte
npm install
npm run dev

Open http://localhost:3000 in your browser.

Environment Variables

NEXT_PUBLIC_AMADEUS_CLIENT_ID=your_client_id
NEXT_PUBLIC_AMADEUS_CLIENT_SECRET=your_client_secret
NEXT_PUBLIC_EXCHANGE_API_KEY=your_key_here
NEXT_PUBLIC_YOUTUBE_API_KEY=your_key_here

Use Amadeus sandbox credentials for testing and playing around; production credentials are required for real flight data.

Usage

  • Select departure and arrival airports
  • Choose travel dates and number of passengers
  • Click Search Flights to retrieve available flights
  • View flight amenities, aircraft info
  • Switch currencies dynamically to view price conversions
  • Flight Route Map

API Integration

  • Amadeus Flight Offers API: Fetch available flights
  • Custom Airport Lookup: name, city, coordinates from JSON
  • Aircraft Lookup: Map aircraft codes to readable names
  • Exchange Rate API: Used for converting currency
  • Youtube Data API (v3): Fetch Review videos based on search query

Note: API calls are rate-limited.

Future Improvements

  • Multi-city flight search
  • Better caching of API data to reduce requests and rate-limits
  • Better front-end UX/UI past the "Learn More" button
  • Price alerts for users
  • CO2 emissions
  • Airplane Images
  • Improved UI for mobile

AI Assistance

This project leverages AI tools to help streamline development, including:

  • Researching and identifying suitable flight-related APIs, such as Amadeus, for flight offers, seat maps, and amenities.
  • Generating and debugging base code for components, utility functions, and pages.
  • Optimizing project structure and suggesting best practices for TypeScript and Next.js integration.
  • Providing guidance on UI/UX implementation, including smooth animations and responsive layouts.

AI assistance helped speed up simple and basic development while allowing me to focus on feature design, testing, customization, and advanced development.

License

This project is licensed under the MIT License.

About

A simple, modern, open-source flight search engine that allows users to fetch flights, look at route maps, fetch YouTube reviews, and more. All 100% free

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages