AI-Powered Travel Co-Pilot & Journey Manager
An advanced, premium travel assistant that creates date-aware itineraries, monitors dynamic budgets, calculates group splits, manages secure document lockers, and triggers real-time situational alerts.
π Live App Demo β’ β‘ Quick Install β’ π Project Architecture β’ πΊ Demo Video β’ π€ Contribute
| π€ AI Co-Pilot | π° Smart Budgeting | π Encrypted Vault | π¨ Real-time Alerts |
|---|---|---|---|
| Multilingual planning with customizable travel vibes | Pro allocator splits & validates trip expenses | AES-256 secure locker for travel documents/IDs | Pop-ups for weather, security, and eco-milestones |
- π― Key Features at a Glance
- β¨ Core Capabilities
- πΈ Screenshots & Previews
- π οΈ Technology Stack
- π Project Structure
- βοΈ Setup & Installation
- π Security & Encryption
- πΊ Project Demo Video
- π€ Contributing & Feedback
- β Show Your Support
- π€ Author & Contact
| Feature | Details |
|---|---|
| AI Itinerary Engine | Generates dynamic day-wise schedules that automatically skip monument closure days, highlight traffic peak-hours, and fetch local sunset points. |
| Pro Budget Allocator | Validates your budget and generates clean breakdown visualizations for Food, Stays, Transport, Shopping, and Sightseeing. |
| Split-Trip Ledger | Shared group expense calculator that maps settlements and clarifies debt resolution. |
| Multilingual Engine | Dynamic translation registry supporting English, Hindi, Spanish, French, German, Italian, Japanese, and Russian. |
| Situational Alerting | Simulates and logs warnings regarding weather changes, local transit disruption, and custom eco-karma benchmarks. |
| Vault / Shield | Secure database authentication coupled with cryptographic locker storage for personal safety documents. |
πΊοΈ Day-wise Itinerary & Interactive Route Map
π¨ Lodging & Travel Bookings
π Exported PDF Travel Itinerary Guide
π Download / View Sample Itinerary (PDF)
- Frontend Framework: Streamlit (featuring a premium Dark/Light Glassmorphism design system)
- AI Orchestration: LangChain, LangChain-Groq, Groq APIs
- Database: SQLite3 (for secure, offline user profiles, expense logs, and notifications)
- PDF Engine: ReportLab (for exporting customized A4 printable itineraries with mobile sync QR codes)
- Core Libraries: Pillow (image utilities), qrcode (mobile data sharing), python-dotenv
TrekFlow/
βββ app.py # Main entry point for Streamlit application and layout routing
βββ pdf_generate.py # Custom A4 PDF itinerary constructor with QR sync integration
βββ requirements.txt # Project runtime dependencies
βββ .gitignore # Configured to ignore environment files, databases, and logs
βββ README.md # System documentation
βββ src/ # Modular source code
βββ auth/ # Security authentication manager and AES encryption
β βββ auth_manager.py
β βββ encryption.py
βββ budget/ # Budget allocation logic and expense validations
β βββ allocator.py
β βββ feasibility.py
βββ chains/ # AI LangChain suggestors and assistant runtimes
β βββ ai_suggester.py
β βββ chat_assistant.py
βββ core/ # Core assistant elements (Moods, alerts, packaging guidelines)
β βββ fallback_data.py
β βββ itinerary_chain.py
β βββ mood_engine.py
β βββ packing_assistant.py
β βββ planner.py
β βββ smart_alerts.py
β βββ sustainability.py
βββ database/ # SQLite interface managers (notifications, trips, group splits)
β βββ db.py
β βββ document_locker.py
β βββ notifications_manager.py
β βββ split_trip.py
β βββ trips_manager.py
βββ safety/ # Location-based emergency contacts list
β βββ emergency.py
βββ transport/ # Travel route recommendations and booking helper
β βββ booking_links.py
β βββ micro_mobility.py
β βββ travel_type.py
βββ ui/ # Map rendering configurations and sub-pages
β βββ auth_ui.py
β βββ map_renderer.py
βββ weather/ # Weather API configurations
βββ weather_api.py
git clone https://github.com/shlok926/TrekFlow.git
cd TrekFlow# Windows
python -m venv env
env\Scripts\activate
# macOS/Linux
python3 -m venv env
source env/bin/activatepip install -r requirements.txtCreate a .env file in the root directory and add your Groq API key:
GROQ_API_KEY=your_groq_api_key_herestreamlit run app.py- Local Persistence: Dynamic database files (
*.db), generated PDFs, temporary files, and local logs are strictly locked inside.gitignoreand never committed to GitHub. - Cryptographic Vault: Files in the Travel Vault are encrypted locally using AES-256 algorithms.
Watch the execution and walkthrough of the application: π TrekFlow Demo Video
Contributions, suggestions, and feedback are highly welcome!
- Got suggestions or feature requests? Feel free to open a new Issue or share your ideas.
- Want to contribute? Feel free to fork this repository, make your changes, and submit a Pull Request.
Love this tool? Help us grow:
β¨ Star the repository (GitHub Star Button)
π Report bugs (GitHub Issues)
π‘ Suggest features (GitHub Discussions)
π’ Share with others (LinkedIn/Twitter)
π€ Contribute code (Pull Requests)
Let's connect on LinkedIn, collaborate, and build amazing things together!
Made with β€οΈ for travel enthusiasts β’ Back to Top


