How cleanslatekickz/geojson works
Project type and purpose
• This is a static, client-side web application (“GeoJSON Repository”) hosted on GitHub Pages.
• Its purpose is to provide a clean, responsive interface for browsing, searching, and loading GeoJSON files (organized into categories) and visualizing them in Leaflet or similar map widgets.
File structure
• Top-level files:
• index.html – main landing page with category listings and recent files
• manifest.json – PWA metadata
• README.md – project documentation
• Directories:
• css/styles.css – site-wide styling
• js/
– main.js – core UI logic (category definitions, search, dynamic loading)
– github-api.js – (optional) fetch directory listings via GitHub REST API
• geojson/ – raw GeoJSON files subdivided into administrative, transportation, natural, poi, etc.
• HTML/, Tenants/, Widgets/, retailstat/… – archived or auxiliary static HTML pages (the core UI lives in index.html + js/main.js)
README for additional insights
• Features: a responsive layout, search, smart organization by category, recent-files section
• Customization points: main.js for categories, styles.css for theming