INFINI Pizza for WebAssembly is a fully functional search engine that can run entirely in your browser with zero dependencies. Leveraging the power and efficiency of WebAssembly, it offers optimized execution speeds far surpassing traditional JavaScript implementations.
Pizza-wasm is part of the Pizza search engine project, visit Pizza's site for more details.
Follow these steps to build INFINI Pizza from source:
Install all necessary dependencies by running:
make initCompile the WebAssembly files with:
make release
make optimze
make gzipAfter successful compilation, the pkg directory will contain the following files:
pkg
├── README.md
├── package.json
├── pizza-optimized.wasm
├── pizza-snipped.wasm
├── pizza_wasm.d.ts
├── pizza_wasm.js
├── pizza_wasm_bg.js
├── pizza_wasm_bg.wasm
├── pizza_wasm_bg.wasm.d.ts
└── pizza_wasm_bg.wasm.gzStart the example web application to see INFINI Pizza in action:
make serveThis command will launch a local server where you can interact with the application through your browser.
Shrinking .wasm Code Size
Deploying WASM to Production
Feel free to contribute to this project by submitting issues or pull requests. For any questions or support, please contact the maintainers.
Enjoy fast and efficient search capabilities directly in your browser with INFINI Pizza!