pelakoor
v2.2.8
Published
π Advanced Coordinate Toolkit - Your ultimate coordinate companion
Maintainers
Readme
π PELAKOOR
Advanced Coordinate Toolkit - Your Ultimate Geographic Companion
π Description
Pelakoor is an advanced geographic coordinate toolkit that provides various geocoding services, distance calculations, coordinate format conversions, and other geographic utilities through an interactive and user-friendly command-line interface.
β¨ Key Features
- π Geocoding & Reverse Geocoding - Convert addresses to coordinates and vice versa
- π Distance & Bearing Calculations - Calculate distance and direction between points
- π Polygon Area Calculator - Calculate area from multiple coordinate points
- π― Center Point Finder - Find center point from coordinate collections
- π Timezone Information - Get timezone data based on location
- π Sunrise & Sunset Times - Calculate sunrise and sunset times
- ποΈ Elevation Data - Get elevation information for locations
- π Coordinate Format Converter - Convert between various formats (DMS, UTM, etc.)
- π± QR Code Generator - Generate QR codes for locations
- π² Coordinate Quiz - Educational geography game
- π Operation History - Save and manage usage history
- π Batch Geocoding - Process multiple addresses simultaneously
π Supported Providers
- OpenStreetMap (Nominatim) - Free, no API key required
- Google Maps API - High accuracy, requires API key
- Mapbox API - Fast performance, requires API key
- HERE API - Reliable enterprise grade, requires API key
π Installation
Global Installation (Recommended)
npm install -g pelakoorLocal Installation
npm install pelakoorπ System Requirements
- Node.js: >= 14.0.0
- npm: >= 6.0.0
- OS: Windows, macOS, Linux
π οΈ Usage
Quick Start
After global installation, run:
pelakoorOr if using local installation:
npx pelakoorSetup API Keys (Optional)
For enhanced features, configure API keys:
pelakoor setupUsage Examples
1. Address Geocoding
π Address to Coordinate
Enter the address: Jakarta, Indonesia
β
Result: -6.2088, 106.84562. Reverse Geocoding
π Coordinate to Address
Enter latitude: -6.2088
Enter longitude: 106.8456
β
Address: Jakarta, Special Capital Region of Jakarta, Indonesia3. Distance Calculation
π Calculate Distance Between Points
Point 1: -6.2088, 106.8456 (Jakarta)
Point 2: -7.2575, 112.7521 (Surabaya)
β
Distance: 664.15 kmπ§ API Configuration
Environment Variables
Create a .env file in your working directory:
GOOGLE_API_KEY=your_google_api_key_here
MAPBOX_API_KEY=your_mapbox_api_key_here
HERE_API_KEY=your_here_api_key_here
TIMEZONEDB_API_KEY=your_timezonedb_api_key_hereGetting API Keys
- Google Maps: Google Cloud Console
- Mapbox: Mapbox Account
- HERE: HERE Developer Portal
- TimeZoneDB: TimeZoneDB
π Documentation
- π English Documentation
- π§ API Reference - coming soon
- π‘ Examples - coming soon
- β FAQ - coming soon
π€ Contributing
Contributions are welcome! Please read CONTRIBUTING.md for contribution guidelines.
Development Setup
# Clone repository
git clone https://github.com/Cloud-Dark/pelakoor.git
cd pelakoor
# Install dependencies
npm install
# Run in development mode
npm run dev
# Run tests
npm testπ License
This project is licensed under the MIT License.
π Bug Reports & Feature Requests
Report bugs or request new features at GitHub Issues.
π Support
- π§ Email: [email protected]
π Acknowledgments
- OpenStreetMap for free geographic data
- Node Geocoder for geocoding library
- Inquirer.js for CLI interface
- Chalk for colored output
π Changelog
See CHANGELOG.md for version history.
