Repository navigation
Texas state law ZIM for Kiwix (30 MB), plus the build scripts #1657
TeamWFO47
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I put together a Kiwix ZIM of the Texas Constitution and all 30 Texas codes, built with Claude Code, and wanted to share it along with everything needed to rebuild it. Download: https://github.com/TeamWFO47/texas-statutes-zim/releases/tag/v2026.03
What it is: 124,815 sections, one page per chapter, with full text search. Statute cross-references are rewritten as internal links, so clicking from Penal Code 22.01 to Family Code 71.003 works with the network off.
Size: 30 MB. Drop it in your zim folder and rescan the library.
Source: law text from the Texas Legislative Council, structured data from OpenStatutes.org (CC BY 4.0). Texas statutes are public law under the government edicts doctrine.
Verified: all 4,993 chapter pages match TLC's own published text. 125,825 of 125,883 cross-references resolve inside the archive, zero dead links. The 58 that don't resolve are left as plain text, never as broken links.
One thing worth knowing if you try this yourself: the structured JSON silently dropped tables and fee schedules in 288 sections. Insurance Code 202.051 came through with 1 of its 17 fee items. The build falls back to TLC's own HTML for those, which is why every page matches now. Worth checking for, because nothing warns you.
Caveats: it's a 2026-03-26 snapshot, current through the 89th Legislature 2nd Called Session 2025. Next regular session is January 2027, so it'll need a rebuild after that. It's not an official publication.
Build scripts: https://github.com/TeamWFO47/texas-statutes-zim — MIT, one command to rebuild from scratch.
There's no state law ZIM in the Kiwix catalog for any state as far as I can tell. The method should port to other states, though the data source for the other 49 is a different problem. Happy to help if anyone wants to try their own. @rcronk @chriscrosstalk flagging this for you since it's NOMAD-adjacent content. Happy to take feedback on it.
All reactions