Skip to content

Flag Globe is an interactive platform designed to make learning about countries engaging and accessible. By allowing users to input either a country name or its corresponding flag emoji, the application instantly provides key information about that country, including capital, population, and a brief historical overview.

Notifications You must be signed in to change notification settings

mirzaabdullaht/Flag_Globe-replit

Repository files navigation

Flag Globe

Flag Globe offers a fun and interactive way to learn about countries by simply entering a flag emoji or country name. It provides country details like the capital, population, region, and more, while also offering travel info between countries.

Features

  • Enter a flag emoji or country name to retrieve information.
  • Displays key facts such as capital, population, region, and flag.
  • Provides additional historical and cultural info from Wikipedia.
  • Generates travel information between two countries using AI.

How It Works

  1. Input a country name or flag emoji into the text field.
  2. Press the "Get Info" button to retrieve country details.
  3. Optionally, input a second country name to get travel information between the two countries.

Technologies Used

  • Flask (Python Framework)
  • REST Countries API
  • Wikipedia API
  • OpenAI API (for travel info)

Installation

To run Flag Globe locally:

  1. Clone the repository: git clone https://github.com/mirzaabdullaht/Flag_Globe.git
  2. Install the required dependencies: pip install -r requirements.txt
  3. Run the Flask app: python app.py

Usage

Once the app is running, open your browser and go to http://localhost:8080. Enter a country name or flag emoji to learn about that country!

License

This project is licensed under the MIT License.

About

Flag Globe is an interactive platform designed to make learning about countries engaging and accessible. By allowing users to input either a country name or its corresponding flag emoji, the application instantly provides key information about that country, including capital, population, and a brief historical overview.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published