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.
- 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.
- Input a country name or flag emoji into the text field.
- Press the "Get Info" button to retrieve country details.
- Optionally, input a second country name to get travel information between the two countries.
- Flask (Python Framework)
- REST Countries API
- Wikipedia API
- OpenAI API (for travel info)
To run Flag Globe locally:
- Clone the repository:
git clone https://github.com/mirzaabdullaht/Flag_Globe.git
- Install the required dependencies:
pip install -r requirements.txt
- Run the Flask app:
python app.py
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!
This project is licensed under the MIT License.