{"repo":"nrgapple/historic-country-borders-app","free":true,"listed":false,"github":"https://github.com/nrgapple/historic-country-borders-app","clone":"git clone https://github.com/nrgapple/historic-country-borders-app.git","description":"Visualize country borders from different times in history (2000 BC-1994)","language":"TypeScript","stars":165,"topics":["geojson","history","nextjs","geospatial"],"license":null,"category":"saas-starters-boilerplates","readme_excerpt":"Historic Borders Visualize country borders from different times in history (2000 BC-1994) As seen on r/dataisbeautiful. Screenshot Features Information Sources The app provides country information through two sources: 1. Wikipedia (default) - Fetches real-time information from Wikipedia 2. AI-powered - Uses Google Gemini AI to generate country information with historical context You can switch between these sources using the toggle button in the footer. AI Response Caching The app uses Redis to cache AI responses for improved performance: - ⚡ Instant responses for previously requested countries/years - 💰 Reduced API costs - Fewer calls to Google Gemini - 🔧 Smart expiration - 1-hour cache TTL keeps content fresh - 📊 Analytics tracking - Cache hit/miss rates in Google Analytics See REDIS SETUP.md for detailed setup instructions. AI Feature Analytics The app includes comprehensive Google Analytics tracking for the AI feature to understand user engagement and performance: Tracked Events Provider Usage: - toggle provider - When users switch between Wikipedia and AI - enable ai / disable ai - AI feature activation/deactivation - provider restored - When preference is loaded from localStorage - session provider active - Active provider per session AI Requests: - request initiated - AI request started - response success - Successful AI response - response time success - Response time for successful requests - response length - Character count of AI responses - response word count ","default_branch":null,"files":null,"tree":[],"storefront":"/r/nrgapple","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nrgapple/historic-country-borders-app/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}