jihchi / dify

A fast, pixel-by-pixel image comparison tool developed in Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

compile into nodejs library

pashidlos opened this issue · comments

if it would be possible to use library in nodejs environment I would put on backend for https://github.com/Visual-Regression-Tracker/Visual-Regression-Tracker

It is one of the main goals and I'd definitely look into it once this tool is more stable.

There are few things I'd like to tackle at the moment before I jump in.

I made an Node.js wrapper called dify-bin to make dify easier to approach in npm ecosystem:

$ npm install -g dify-bin
$ dify --help

dify-bin will automatically download the binary based on your OS and spawn it as a sub-process.