isaaccorley/terrabit — reverse-engineered prompt
Reverse engineered prompt
Build me a browser app called terrabit that lets someone explore satellite imagery by drawing an area on a globe and picking an example place they want to match.
The app should search a global set of Sentinel 2 image patches using compact binary embeddings, rank the most visually similar patches, and show the results directly on the map. I want people to be able to click anywhere on Earth as a positive or negative example, combine examples in simple ways, invert the search to find visual opposites, and switch between views like top matches, heatmap, cutoff, outliers, spatial surprise, and similarity gradient.
Keep it all running in the browser with TypeScript, Vite, MapLibre, DuckDB WASM, and Web Workers. No big frontend framework. Include a polished interactive map UI, geocoding or coordinate search, curated demo regions, an interactive tutorial, and export results as GeoParquet for tools like QGIS. Look up current docs online if you need to.
Want more depth? Deep Reverse