{"id":19286911,"url":"https://github.com/infinilabs/pizza-wasm","last_synced_at":"2025-04-22T03:33:52.571Z","repository":{"id":253343551,"uuid":"829497249","full_name":"infinilabs/pizza-wasm","owner":"infinilabs","description":"🦀 INFINI Pizza for WebAssembly,  A super-lightweight (~200KB) but full featured static-site search engine written in Rust. 🍕","archived":false,"fork":false,"pushed_at":"2025-04-15T10:27:55.000Z","size":10991,"stargazers_count":22,"open_issues_count":1,"forks_count":3,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-15T11:38:23.073Z","etag":null,"topics":["docsearch","embedded","fulltext","fulltext-search","infini-pizza","javascript","light","rust","rust-lang","search-engine","static-site","wasm","web","web-assembly"],"latest_commit_sha":null,"homepage":"https://pizza.rs/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/infinilabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-07-16T14:46:12.000Z","updated_at":"2025-04-15T10:27:55.000Z","dependencies_parsed_at":"2025-04-16T08:16:55.963Z","dependency_job_id":null,"html_url":"https://github.com/infinilabs/pizza-wasm","commit_stats":null,"previous_names":["infinilabs/pizza-wasm"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infinilabs%2Fpizza-wasm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infinilabs%2Fpizza-wasm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infinilabs%2Fpizza-wasm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infinilabs%2Fpizza-wasm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/infinilabs","download_url":"https://codeload.github.com/infinilabs/pizza-wasm/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250167614,"owners_count":21386004,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docsearch","embedded","fulltext","fulltext-search","infini-pizza","javascript","light","rust","rust-lang","search-engine","static-site","wasm","web","web-assembly"],"created_at":"2024-11-09T22:04:44.689Z","updated_at":"2025-04-22T03:33:49.351Z","avatar_url":"https://github.com/infinilabs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# INFINI Pizza for WebAssembly\n\nINFINI 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.\n\nPizza-wasm is part of the [Pizza](https://github.com/infinilabs/pizza) search engine project, visit [Pizza's site](http://pizza.rs) for more details.\n\n\n## 🚀 Features\n\n- **Full-Featured Query Engine**: Perform complex searches seamlessly within your browser environment.\n- **Offline Indexing**: Build the search index once offline and load it directly in the browser whenever needed.\n- **High Performance**: Utilize WebAssembly for optimized and efficient execution.\n- **Zero Dependencies**: No external libraries or dependencies required, ensuring lightweight and fast performance.\n\n## 🛠️ Building from Source\n\nFollow these steps to build INFINI Pizza from source:\n\n### 1. Prepare Dependencies\n\nInstall all necessary dependencies by running:\n\n```sh\nmake init\n```\n\n### 2. Build WebAssembly Files\n\nCompile the WebAssembly files with:\n\n```sh\nmake release\nmake optimze\nmake gzip\n```\n\nAfter successful compilation, the `pkg` directory will contain the following files:\n\n```sh\npkg\n├── README.md\n├── package.json\n├── pizza-optimized.wasm\n├── pizza-snipped.wasm\n├── pizza_wasm.d.ts\n├── pizza_wasm.js\n├── pizza_wasm_bg.js\n├── pizza_wasm_bg.wasm\n├── pizza_wasm_bg.wasm.d.ts\n└── pizza_wasm_bg.wasm.gz\n```\n\n### 3. Run the Example Web Application\n\nStart the example web application to see INFINI Pizza in action:\n\n```sh\nmake serve\n```\n\nThis command will launch a local server where you can interact with the application through your browser.\n\n\n## 📖 References\n\n- **Shrinking .wasm Code Size**\n   - Documentation: [Rust and WebAssembly](https://rustwasm.github.io/docs/book/reference/code-size.html)\n\n- **Deploying WASM to Production**\n   - Guide: [Rust and WebAssembly Deployment](https://rustwasm.github.io/book/reference/deploying-to-production.html)\n\n---\n\nFeel free to contribute to this project by submitting issues or pull requests. For any questions or support, please contact the maintainers.\n\n**Enjoy fast and efficient search capabilities directly in your browser with INFINI Pizza!**","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfinilabs%2Fpizza-wasm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finfinilabs%2Fpizza-wasm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfinilabs%2Fpizza-wasm/lists"}