Hacker News new | ask | show | jobs
Show HN: Probably the Most Flexible Flight Ticket Search Engine (flightcat.io)
3 points by rabbit_1 722 days ago
I built this app specifically for flexible and budget travelers. Also a practice project to pick up Nextjs 14 + shadcn for UI.

- Natural Language Search: You can search with phrases like “New York to Europe for a week in Aug”.

- Flexibilities: Allows for search with date ranges and regions (e.g., South America, US West Coast, etc.). It also supports multi-city searches.

- Tech Stack: Built with Next.js, shadcn for UI, Cloudflare Workers, and GPT. It's been a fun learning journey.

I’d love to hear your thoughts. Thanks!

4 comments

Looks really cool! I'll definitely use this next time I'm looking for flights or just want to go somewhere random for cheap.

One bug(?) I found is that the return flights don't seem to be departing from the city I am travelling to. For example, it's showing me flights that go from X > Y, but then the return flight is Z > X instead of Y > X.

Thanks! If the arrival (Y) is a specific location, the return flight is guaranteed to be Y->X.

However, if Y is a country, region, or continent, the return flight could be from any airport within that area, prioritizing the cheapest option. For example, if you search for a round trip: "Berlin to Asia for a week in Aug" the arrival could be Bangkok, but the departure for your return flight could be from Singapore.

Now that you mention it, I wonder if it would be better to enforce return_from_same_city or allow the user to toggle this option. What do you think?

FYI - I refactored the code so that it now enforces "return_from_same_city". enjoy.
Great work! Is there a way to filter the luggage? For example: how many carry on, etc.?
Thanks tamimio! not yet at the momoent but definitely doable:) besides luggage, were you able to get good flight results from the search?
It looks great. Any plans to allow for filtering number of stops in the chat?
Thank you! It can definitely be added, and I'm considering including other parameters as well. This project is experimental for now, but if it gains traction, I'd love to add these in.
Unfortunately, doesn't have whole world airports
Which airport? I tested as many as I could, but I am sure there are airports missing and would love to add them.