-
Install dependencies:
npm install
-
Run the development server:
npm run dev
Afterwards the app will be served at http://localhost:3000/hackhpi26/
- Calculate profits and CO2 emissions from agricultural waste
- Automatic location detection and distance calculation to nearest power plants using OpenStreetMap
- Support for various plant types and usage scenarios
- Completely free - uses open-source OpenStreetMap services (Nominatim for geocoding, OSRM for routing)
The app uses free OpenStreetMap services:
- Nominatim: For address-to-coordinates conversion
- OSRM (Open Source Routing Machine): For calculating driving distances
- No API keys required - completely free to use
The app calculates distances to specialized processing facilities:
- Munich Biogas Plant (48.1351, 11.5820)
- Halle Biogas Plant (51.4967, 11.9689)
- Berlin Biogas Plant (52.5200, 13.4050)
- Munich Biofuel Plant (48.1400, 11.5800)
- Halle Biofuel Plant (51.5000, 11.9700)
- Berlin Biofuel Plant (52.5250, 13.4050)
- Munich Biochar Plant (48.1300, 11.5850)
- Halle Biochar Plant (51.4930, 11.9650)
- Berlin Biochar Plant (52.5150, 13.4100)
For each waste processing type, the app finds the nearest specialized facility in Munich, Halle, or Berlin. Animal Feed and Fertilizer remain at 0 km distance (assumed local processing).