# ๐Ÿ—บ๏ธ Pathfinder
Pathfinder Banner A modern, interactive mapping application built with Next.js 15, MapboxGL, and TypeScript. Pathfinder provides a seamless mapping experience with features like real-time weather data, location search, and customizable map styles. [Demo](https://link.shadowdev.xyz/r/m3tydbf12hb) ยท [Report Bug](https://github.com/shadowoff09/pathfinder/issues) ยท [Request Feature](https://github.com/shadowoff09/pathfinder/issues)
## โœจ Features - ๐ŸŒ“ Dark/Light mode support - ๐Ÿข 3D Building visualization - ๐Ÿ” Location search with autocomplete - ๐ŸŒค๏ธ Real-time weather information - ๐Ÿ“ Current location detection - ๐Ÿ›ฐ๏ธ Street/Satellite view toggle - ๐Ÿ“ฑ Fully responsive design - โŒจ๏ธ Keyboard shortcuts support - ๐ŸŽจ Modern UI with Tailwind CSS and shadcn/ui ## ๐Ÿš€ Getting Started ### Prerequisites - Node.js 22+ - A Mapbox API key (get it from [Mapbox](https://www.mapbox.com/)) - A OpenWeather API key (get it from [OpenWeather](https://openweathermap.org/api)) - npm or yarn ### Installation 1. Clone the repository: ```bash git clone https://github.com/shadowoff09/pathfinder.git cd pathfinder ``` 2. Install dependencies: ```bash npm install # or yarn install ``` 3. Set up environment variables: - Copy the `.env.example` file to `.env.local`: ```bash cp .env.example .env.local ``` - Open `.env.local` and add your Mapbox API key: ```env NEXT_PUBLIC_MAPBOX_ACCESS_TOKEN=your_mapbox_token_here NEXT_PUBLIC_WEATHER_API_KEY=your_weather_api_key_here ``` - Get your API keys from: - [Mapbox](https://www.mapbox.com/) - for map functionality - [OpenWeather](https://openweathermap.org/api) - for weather data 4. Start the development server: ```bash npm run dev # or yarn dev ``` 5. Open [http://localhost:3000](http://localhost:3000) in your browser. ## ๐ŸŽฎ Usage ### Map Navigation - Pan: Click and drag - Zoom: Scroll or use the zoom controls - Rotate: Right-click and drag - Reset View: Press Ctrl+Q ### Features - Search locations using the search bar - Toggle between street and satellite view - View 3D buildings in street view mode (zoom level 15+) - Check weather information (zoom level 14+) - Get current location with one click - Copy coordinates to clipboard ## ๐Ÿ› ๏ธ Built With - [Next.js 15](https://nextjs.org/) - React Framework - [TypeScript](https://www.typescriptlang.org/) - Type Safety - [Mapbox GL JS](https://www.mapbox.com/mapbox-gl-js) - Maps API - [Tailwind CSS](https://tailwindcss.com/) - Styling - [shadcn/ui](https://ui.shadcn.com/) - UI Components - [React Map GL](https://visgl.github.io/react-map-gl/) - React wrapper for Mapbox GL ## ๐Ÿค Contributing Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change. 1. Fork the project 2. Create your feature branch (`git checkout -b feature/AmazingFeature`) 3. Commit your changes (`git commit -m 'Add some AmazingFeature'`) 4. Push to the branch (`git push origin feature/AmazingFeature`) 5. Open a Pull Request ## ๐Ÿ“ License This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. ## ๐Ÿ™ Acknowledgments - [Mapbox](https://www.mapbox.com/) for their excellent mapping platform - [shadcn/ui](https://ui.shadcn.com/) for the beautiful UI components - [Vercel](https://vercel.com) for hosting and deployment ## ๐Ÿ“ซ Contact X - [@shadowdev09](https://twitter.com/shadowdev09) Portfolio - [https://shadowdev.xyz](https://shadowdev.xyz) ## ๐Ÿ’– Support the Project If you enjoy using Pathfinder and would like to support its development, consider making a donation: - [Donate via PayPal](https://paypal.me/diogogaspar123) - [Donate via Ko-Fi](ko-fi.com/shadowoff09) - [GitHub Sponsors](https://github.com/sponsors/shadowoff09) Your contributions help keep the project alive and improve its features! Thank you for your support! --- Pathfinder - Navigate Your World, Beautifully | Product Hunt โญ๏ธ If you like this project, please give it a star! [![Stargazers over time](https://starchart.cc/shadowoff09/pathfinder.svg?variant=adaptive)](https://starchart.cc/shadowoff09/pathfinder)