{"id":30363817,"url":"https://github.com/lohiyah/tripwhisperer","last_synced_at":"2026-02-09T08:02:15.248Z","repository":{"id":308007037,"uuid":"1031339845","full_name":"LohiyaH/TripWhisperer","owner":"LohiyaH","description":"A conversational AI travel agent that plans trips, suggests itineraries, finds flights, and provides live currency rates using Flask, Gemini, SerpAPI, and ExchangeRate-API.","archived":false,"fork":false,"pushed_at":"2025-08-03T14:41:51.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-19T20:05:01.438Z","etag":null,"topics":["agentic-ai","ai","flask","gemini-api","python","serpapi","speech-recognition","speech-to-text","travel","travel-agents","web-application"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LohiyaH.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-08-03T14:35:58.000Z","updated_at":"2025-08-04T11:31:55.000Z","dependencies_parsed_at":"2025-08-03T16:28:53.743Z","dependency_job_id":"2fa10b4e-215c-484a-bbe2-0043f7d2f4dd","html_url":"https://github.com/LohiyaH/TripWhisperer","commit_stats":null,"previous_names":["lohiyah/tripwhisperer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LohiyaH/TripWhisperer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LohiyaH%2FTripWhisperer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LohiyaH%2FTripWhisperer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LohiyaH%2FTripWhisperer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LohiyaH%2FTripWhisperer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LohiyaH","download_url":"https://codeload.github.com/LohiyaH/TripWhisperer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LohiyaH%2FTripWhisperer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29259466,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T04:11:57.159Z","status":"ssl_error","status_checked_at":"2026-02-09T04:11:56.117Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agentic-ai","ai","flask","gemini-api","python","serpapi","speech-recognition","speech-to-text","travel","travel-agents","web-application"],"created_at":"2025-08-19T19:50:44.395Z","updated_at":"2026-02-09T08:02:15.209Z","avatar_url":"https://github.com/LohiyaH.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"### `README.md`\n\n# AI-Powered Travel Agent\n\nThis project is a conversational AI-based travel agent that assists users in planning their trips, from choosing a destination and travel method to generating a detailed itinerary and searching for flights. The application features a voice-enabled frontend for natural interaction and a Flask backend that orchestrates calls to various APIs.\n\n-----\n\n## Features\n\n  * **Conversational Interface**: Interact with the AI using a voice-enabled chat interface.\n  * **Intelligent Trip Planning**: Generates comprehensive, day-wise travel itineraries based on user inputs.\n  * **Dynamic Travel Method Suggestions**: Suggests appropriate travel methods (e.g., flight, train, cruise) based on the origin and destination.\n  * **Live Data Integration**: Fetches real-time data for flight searches and currency exchange rates.\n  * **Personalized Planning**: Customizes the plan based on budget, number of travelers, food preferences, and hotel preferences.\n  * **Booking Simulation**: Simulates a ticket booking process for the generated trip.\n\n-----\n\n## Technologies\n\n### Frontend\n\n  * **HTML, CSS**: For the user interface and styling.\n  * **JavaScript**: Manages the conversational flow, speech recognition, speech synthesis, and handles API calls to the backend.\n\n### Backend\n\n  * **Python**: The core programming language.\n  * **Flask**: A micro web framework for building the API endpoints.\n  * **Gunicorn**: A production-ready WSGI server used for deployment.\n\n### APIs\n\n  * **Gemini API**: Used for AI-powered tasks like generating travel plans, suggesting travel methods, and looking up IATA airport codes.\n  * **SerpAPI**: Powers the flight search functionality by querying Google Flights.\n  * **ExchangeRate-API**: Provides live currency exchange rates for the currency conversion feature.\n\n-----\n\n## Setup Instructions\n\n### 1\\. Backend Setup\n\n1.  Navigate to the `backend/` directory.\n2.  Create a virtual environment:\n    ```bash\n    python -m venv venv\n    source venv/bin/activate  # On Windows, use `venv\\Scripts\\activate`\n    ```\n3.  Install the required Python packages:\n    ```bash\n    pip install -r requirements.txt\n    ```\n4.  Create a `.env` file in the `backend/` directory and add your API keys:\n    ```env\n    GEMINI_API_KEY=your_gemini_api_key\n    SERPAPI_API_KEY=your_serpapi_api_key\n    EXCHANGERATE_API_KEY=your_exchangerate_api_key\n    ```\n5.  Run the Flask application:\n    ```bash\n    gunicorn -w 4 app:app -b 0.0.0.0:5000\n    ```\n\n### 2\\. Frontend Setup\n\nThe frontend is a static HTML file located in the `frontend/` directory.\n\n1.  Open `frontend/index.html` in a web browser.\n2.  Update the API endpoint URLs in the `index.html` file to match your backend's host and port if you are deploying it somewhere other than `http://127.0.0.1:5000`.\n\n-----\n\n## Deployment\n\nFor production, it is recommended to deploy the backend to a platform like Google App Engine, Heroku, or AWS Elastic Beanstalk and the frontend to a static hosting service like Netlify or Vercel. Ensure all environment variables are securely configured on your chosen platform.\n\n-----\n\n## License\n\nThis project is licensed under the MIT License.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flohiyah%2Ftripwhisperer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flohiyah%2Ftripwhisperer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flohiyah%2Ftripwhisperer/lists"}