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.
- Full-Featured Query Engine: Perform complex searches seamlessly within your browser environment.
- Offline Indexing: Build the search index once offline and load it directly in the browser whenever needed.
- High Performance: Utilize WebAssembly for optimized and efficient execution.
- Zero Dependencies: No external libraries or dependencies required, ensuring lightweight and fast performance.
Follow these steps to build INFINI Pizza from source:
Install all necessary dependencies by running:
make init
Compile the WebAssembly files with:
make release
make optimze
make gzip
After 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.gz
Start the example web application to see INFINI Pizza in action:
make serve
This command will launch a local server where you can interact with the application through your browser.
-
Shrinking .wasm Code Size
- Documentation: Rust and WebAssembly
-
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!