luizinhoh2o1/tabelas-ibpt ? reverse-engineered prompt
Reverse engineered prompt
Build me a static website and API for the IBPT tax tables, like the README describes.
I want it to publish the table data as JSON files on GitHub Pages, with no login, no token, and no backend. The app should let me browse and search the IBPT tables by year, version, type, and state, then fetch the right file and show the results nicely in the browser. It should support the table types NCM, NBS, and LC116, and make it easy to inspect a single record or filter by code.
Please also include the generated API structure, the metadata endpoint, yearly indexes, table indexes, and compressed JSON downloads. If it makes sense, add a simple front end page for quick consultation and a fallback page that can show the JSON when someone opens a direct route.
Use the existing data files in the repo, keep the build efficient, and make sure the output is ready to deploy to GitHub Pages. If you need anything unclear, check the current docs online and follow the project’s existing setup.
Are you gonna build this?
make sure you review the code using coderabbit