How push2006/finder-hsn-codee works
Worldwide HSN Code Finder is an offline-first tariff-code search and trade-decision product. A user searches a product or foreign code; the browser finds and displays the national tariff line, then presents code-linked duties, trade, risk, documents, and logistics context. Optional AI assistance and live ship data use a separate proxy. The README documents these capabilities and the proxy boundary; sampled source confirms the browser app’s data imports, but much of the application and several datasets were not sampled, so those branches reflect documented features rather than inspected internals.
Main entry points: app.js Finder interface · proxy.js AI and AIS proxy · tradevalues.ts Trade values · src Tariff code dataset
Components 22
Code discovery
- Finder interface
src/app.js - Tariff code dataset
src - Search aliases
src/aliases.ts - Code correlation
src/hscorr.ts
Tariff detail
- Duty and GST
src/gstmap.ts - FTA duty cuts
src/fta.ts - Trade documents
src/docs.ts - Certificates
src/certs.ts
Trade intelligence
- Trade values
src/tradevalues.ts - Markets and partners
src/marketdata.ts - Trade seasonality
src/tradeseson.ts - Price trends
src/tradetrend.ts - Sanctions and controls
src/sanctions.ts - Sanction gap analysis
src/sancgap.ts - Export incentives
src/rodtep.ts - Official trade sources
Trade logistics
- Port directory
src/worldports.ts - Port trade data
src
Optional services
- AI and AIS proxy
proxy.js - AI providers
- AISStream
Other components
- Trader
Connections 21
- Trader → Finder interface: searches
README.md - Finder interface → Tariff code dataset: searches
src/app.js - Finder interface → Search aliases: uses
src/app.js - Finder interface → Code correlation: correlates codes
src/app.js - Finder interface → Duty and GST: reads rates
src/app.js - Finder interface → FTA duty cuts: reads cuts
src/app.js - Finder interface → Trade documents: shows checklists
README.md - Finder interface → Trade values: reads figures
src/app.js - Finder interface → Markets and partners: shows markets
src/app.js - Finder interface → Trade seasonality: shows patterns
src/app.js - Finder interface → Price trends: shows trends
src/app.js - Finder interface → Sanctions and controls: shows status
README.md - Finder interface → Sanction gap analysis: shows gaps
src/app.js - Finder interface → Export incentives: shows incentives
README.md - Finder interface → Certificates: shows certificates
src/app.js - Finder interface → Port directory: finds ports
README.md - Finder interface → Port trade data: shows statistics
README.md - Finder interface → AI and AIS proxy: requests AI and ships
README.md - AI and AIS proxy → AI providers: forwards prompts
README.md - AI and AIS proxy → AISStream: receives vessel feed
README.md - Official trade sources → Trade values: supplies figures
src/tradevalues.ts