The unusual thing with my version is, it is in pure Node.js, with the power of node-mlx, a Node.js machine learning framework.
The repo in the link is mostly about implementing indexing and CLI, the code of the model implementation lives as a Node.js module: https://github.com/frost-beta/clip .
Hope this helps other learners!