Pagefind in termux
I am quite lost because I don't understand how binary packages work i think
https://pagefind.app/docs/installation/
this doesn't work with npx command
i checked the binary releases from https://github.com/CloudCannon/pagefind/releases in that error, it seems to have an aarch64 linux? but I don't know what to do with that or if that would even actually work. (I spent some time figuring out that my android is aarch64, or so i think)
there is also information about using rust and cargo or something in the installation page but I don't know if that would be any different than using npm, it seems python version is also a wrapper so i gues rust would be a wrapper as well. if anyone that understands binary releases and packages could guide me and let me know if this would work at all with some method, that would be helpful. or whether i should give up on pagefind in termux.
for context i was using this with astro, but this doesn't work without as well. same result (that error)
thanks for your time
https://pagefind.app/docs/installation/
this doesn't work with npx command
i checked the binary releases from https://github.com/CloudCannon/pagefind/releases in that error, it seems to have an aarch64 linux? but I don't know what to do with that or if that would even actually work. (I spent some time figuring out that my android is aarch64, or so i think)
there is also information about using rust and cargo or something in the installation page but I don't know if that would be any different than using npm, it seems python version is also a wrapper so i gues rust would be a wrapper as well. if anyone that understands binary releases and packages could guide me and let me know if this would work at all with some method, that would be helpful. or whether i should give up on pagefind in termux.
for context i was using this with astro, but this doesn't work without as well. same result (that error)
thanks for your time
GitHub
Static low-bandwidth search at scale. Contribute to CloudCannon/pagefind development by creating an account on GitHub.
Solution
As for this application in particular.
It's a Rust application, it's written in Rust.
They seem to also be providing an interface library for Python and NodeJS/JavaScript but the core application is written in Rust.
The
Same for the
Although both probably also ship the main package in binary form.
It's a Rust application, it's written in Rust.
They seem to also be providing an interface library for Python and NodeJS/JavaScript but the core application is written in Rust.
The
npm/npx package probably contains the API for NodeJS.Same for the
pip package and the Python API.Although both probably also ship the main package in binary form.