How wayproyect/openbiin works
OpenBIIN is a BIN/IIN lookup product: users enter six or more digits in the web portal, the UI requests the public API, and the API looks up the matching issuer records in prefix-sharded CSV data. Six-digit searches can return multiple issuers; eight-digit searches use the recorded sub-ranges for greater precision. The web UI presents results responsively and includes an API reference. The source excerpts show the frontend-to-API and API-to-data paths; deployment routing is documented but not modeled as runtime code.
Main entry points: index.js API handler · main.jsx React bootstrap · BINSearch.jsx BIN search · App.jsx App shell
Components 11
Lookup portal
- React bootstrap
src/main.jsx - App shell
src/App.jsx - BIN search
src/components/BINSearch.jsx - Result display
src/components/BINResult.jsx - UI theme
src/theme/theme.js
Lookup API
- API handler
functions/index.js - Prefix cache
functions/index.js - Range matching
functions/index.js
BIN records
- Sharded CSV data
functions/data
Other components
- Portal visitor
- API consumer
Connections 10
- Portal visitor → React bootstrap: opens portal
README.md - API consumer → API handler: requests BIN
README.md - React bootstrap → App shell: renders
src/main.jsx - React bootstrap → UI theme: configures
src/main.jsx - App shell → BIN search: renders
src/App.jsx - BIN search → API handler: fetches BIN
src/components/BINSearch.jsx - BIN search → Result display: renders results
src/components/BINSearch.jsx - API handler → Prefix cache: loads prefix
functions/index.js - API handler → Range matching: filters ranges
functions/index.js - API handler → Sharded CSV data: reads CSV
functions/index.js