jhawthorn / fzy

:mag: A simple, fast fuzzy finder for the terminal
MIT License
2.98k stars 126 forks source link

Build as a library #151

Open hkupty opened 4 years ago

hkupty commented 4 years ago

Hi! I'm really pleased with fzy and I've found this repo comparing a lua implementation w/ ffi to fzy. However, there's no official libfzy which I could install, meaning that I'd have to resort to distributing binaries.

Do you think it'd be possible to distribute fzy as a library?

camel-cdr commented 3 years ago

Isn't choices.h basically a library already? Separating it a bit more shouldn't be too hard.

I'd be up to doing it, but I'm not sure in which direction @jhawthorn wants to go with this project.

hkupty commented 3 years ago

It's great that choices.h is already contained enough so it can be used as a library. However, exposing a library out of this would probably include having a lib target in Makefile as well as (possibly) distributing a lib in the release.