{"repo":"cardog-ai/corgi","free":true,"listed":false,"github":"https://github.com/cardog-ai/corgi","clone":"git clone https://github.com/cardog-ai/corgi.git","description":"A TypeScript library for decoding and validating Vehicle Identification Numbers (VINs) using a customized VPIC database.","language":"TypeScript","stars":327,"topics":["automotive","cloudflare-workers","offline","offline-first","sqlite","typescript","vin-decoder"],"license":"ISC","category":"databases-storage","readme_excerpt":"Corgi VIN Decoder &nbsp;&nbsp;&nbsp;&nbsp; Fast, offline VIN decoding for Node.js, browsers, and Cloudflare Workers. Powered by the NHTSA VPIC database. Need more than basic VIN decoding? Check out the Cardog API for comprehensive vehicle data including market values, safety recalls, ownership costs, and more. Installation Quick Start Platform Support Node.js Browser Cloudflare Workers (D1) Configuration Response Structure Error Handling CLI --- Architecture VIN Structure A Vehicle Identification Number (VIN) is a 17-character identifier assigned to every vehicle manufactured for road use. The structure is defined by ISO 3779 and follows this format: WMI (Positions 1-3) : Identifies the manufacturer. First character indicates country/region, second indicates manufacturer, third indicates vehicle type or manufacturing division. VDS (Positions 4-8) : Vehicle Descriptor Section. Manufacturer-defined attributes including model, body style, engine type, and restraint system. Check Digit (Position 9) : Validates VIN integrity using a weighted algorithm. Required for all vehicles sold in North America. Model Year (Position 10) : Encodes the model year. Uses letters A-Y (excluding I, O, Q, U, Z) and digits 1-9 in a 30-year cycle. Plant Code (Position 11) : Identifies the assembly plant. Manufacturer-specific encoding. VIS (Positions 12-17) : Vehicle Identifier Section. Sequential production number unique within the model year and plant. Check Digit Algorithm The check digit (position","default_branch":null,"files":null,"tree":[],"storefront":"/r/cardog-ai","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cardog-ai/corgi/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}