Yes, there is a standalone compiler for typst that you can use offline for free. Source code is here https://github.com/typst/typst/