{"id":39448774,"url":"https://github.com/searchcraft-inc/vite-react-searchcraft-template","last_synced_at":"2026-01-18T04:27:14.499Z","repository":{"id":294533046,"uuid":"987158875","full_name":"searchcraft-inc/vite-react-searchcraft-template","owner":"searchcraft-inc","description":"Provides a minimal Vite + React + Searchcraft starter template.","archived":false,"fork":false,"pushed_at":"2025-12-28T11:33:44.000Z","size":1429,"stargazers_count":5,"open_issues_count":3,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-12-30T22:12:55.454Z","etag":null,"topics":["ai","api","database","elasticsearch","enterprise-search","full-text-search","fuzzy-search","react","search","search-as-you-type","search-engine","searchcraft","site-search","typescript","typo-tolerance","vite","vite-react-typescript","vite-starter","vite-template"],"latest_commit_sha":null,"homepage":"https://searchcraft.io","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/searchcraft-inc.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-05-20T16:57:48.000Z","updated_at":"2025-11-26T20:49:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"ae157a58-ea76-498a-b081-1e26d54452a1","html_url":"https://github.com/searchcraft-inc/vite-react-searchcraft-template","commit_stats":null,"previous_names":["searchcraft-inc/vite-react-searchcraft-template"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/searchcraft-inc/vite-react-searchcraft-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/searchcraft-inc%2Fvite-react-searchcraft-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/searchcraft-inc%2Fvite-react-searchcraft-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/searchcraft-inc%2Fvite-react-searchcraft-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/searchcraft-inc%2Fvite-react-searchcraft-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/searchcraft-inc","download_url":"https://codeload.github.com/searchcraft-inc/vite-react-searchcraft-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/searchcraft-inc%2Fvite-react-searchcraft-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28529569,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["ai","api","database","elasticsearch","enterprise-search","full-text-search","fuzzy-search","react","search","search-as-you-type","search-engine","searchcraft","site-search","typescript","typo-tolerance","vite","vite-react-typescript","vite-starter","vite-template"],"created_at":"2026-01-18T04:27:13.924Z","updated_at":"2026-01-18T04:27:14.493Z","avatar_url":"https://github.com/searchcraft-inc.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg alt=\"Searchcraft\" src=\"./header.png\"\u003e\n\u003ch1 align=\"center\"\u003evite-react-searchcraft-template\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\nA minimal React + TypeScript template powered by \u003ca href=\"https://searchcraft.io\"\u003eSearchcraft\u003c/a\u003e – the developer-first vertical search engine.\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://vitejs.dev/\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Vite-6.4.1-646CFF.svg?logo=vite\u0026style=flat\" alt=\"Vite\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://react.dev/\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/React-19.1.0-61DAFB.svg?logo=react\u0026style=flat\" alt=\"React\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.typescriptlang.org/\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/TypeScript-5.8-blue.svg?logo=typescript\u0026style=flat\" alt=\"TypeScript\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/@searchcraft/react-sdk\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Searchcraft_SDK-0.12.0-2B2B2B.svg\" alt=\"Searchcraft SDK\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://eslint.org/\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/ESLint-9.25.0-4B32C3.svg?logo=eslint\u0026style=flat\" alt=\"ESLint\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://nodejs.org/en/\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Node.js-18+-339933.svg?logo=node.js\u0026style=flat\" alt=\"Node.js\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n## Table of Contents\n- [Purpose](#purpose)\n- [Features](#features)\n  - [🧰 Template Features](#-template-features)\n  - [🔍 Searchcraft SDK Features](#-searchcraft-sdk-features)\n- [Getting Started](#getting-started)\n- [Available Scripts](#available-scripts)\n- [Requirements](#requirements)\n- [Resources](#resources)\n- [License](#license)\n\n## Purpose\n\nModern apps need fast, relevant, typo-tolerant search — but building it from scratch or with legacy tools is expensive, complex, and backend-heavy. That’s where **[Searchcraft](https://searchcraft.io)** comes in: a zero-config, front-end focused vertical search engine built to drop into your product in minutes.\n\nThis template exists to make that even easier. It provides:\n\n- A minimal but complete **Vite + React + TypeScript** frontend, bootstrapped with `npm create vite@latest`\n- Out-of-the-box **Searchcraft SDK integration**\n- Clean environment variable config and instant dev startup\n\nWhether you're building search for a publisher, SaaS app, ecommerce experience, or anything content-heavy — this gets you from zero to search fast.\n\n## Features\n\n### 🧰 Template Features\n\n- ⚛️ **React 19 + TypeScript** – The latest versions for modern development\n- ⚡ **Vite 6** – Lightning-fast builds, HMR, and DX\n- 🧪 **Minimal boilerplate** – Just enough structure to get started\n- 🔐 **Environment-based configuration** – No hardcoded secrets\n- ✅ **ESLint 9** – Preconfigured for code quality\n\n### 🔍 Searchcraft SDK Features\n\n- 🔍 **Typo-tolerant, relevance-tuned search** with zero backend setup\n- 🧩 **Built-in UI components** for search inputs, result lists, and pagination\n- 🧠 **Smart ranking** with support for field weighting, stopwords, and synonyms\n- 📊 **Analytics-ready** with built-in hooks for usage insights via [Vektron](https://vektron.searchcraft.io)\n- 🛰️ **Fully managed** – No need to stand up infrastructure\n\n## Getting Started\n\nYou can either click \"[Use this template](https://github.com/searchcraft-inc/vite-react-searchcraft-template/generate)\" on GitHub, or use `degit` from the command line:\n\n```\nnpx degit searchcraft-inc/vite-react-searchcraft-template \u003capp_name\u003e\n```\n\nInstall dependencies:\n```\nyarn\n```\n\nThen, add a `.env` file in the root of your project with your Searchcraft credentials, which can be found in your [Searchcraft Vektron Dashboard](https://vektron.searchcraft.io):\n```\nVITE_ENDPOINT_URL=\nVITE_INDEX_NAME=\nVITE_READ_KEY=\n```\n\nRun the app in development mode:\n```\nyarn dev\n```\n\n## Available Scripts\n\nThis project includes a few helpful npm/yarn scripts to streamline development:\n\n| Command         | Description                                                  |\n|-----------------|--------------------------------------------------------------|\n| `yarn dev`      | Starts the Vite development server with hot module reload.    |\n| `yarn build`    | Builds the project using TypeScript and Vite for production.  |\n| `yarn preview`  | Serves the production build locally.                          |\n| `yarn lint`     | Runs ESLint across the codebase to catch errors and bad patterns. |\n\n## Requirements\n\n- [Node.js](https://nodejs.org/) v18+\n- [Yarn](https://yarnpkg.com/) (or npm)\n- A [Searchcraft](https://searchcraft.io) account with a configured index\n\n## Resources\n\n- 📘 [Searchcraft Docs](https://docs.searchcraft.io)\n- 🛰️ [Vektron Dashboard](https://vektron.searchcraft.io)\n- 💬 [Searchcraft Discord](https://discord.gg/RQnGD63qWw)\n- 🧠 [Searchcraft Reddit](https://www.reddit.com/r/searchcraft/)\n- 🧪 [Searchcraft SDK on npm](https://www.npmjs.com/package/@searchcraft/react-sdk)\n\n## License\n\nLicensed under the [Apache 2.0 License](LICENSE).\n\n\u003cp align=\"center\"\u003e\nBuilt with 🛰️ by the \u003ca href=\"https://searchcraft.io\"\u003eSearchcraft\u003c/a\u003e team\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsearchcraft-inc%2Fvite-react-searchcraft-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsearchcraft-inc%2Fvite-react-searchcraft-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsearchcraft-inc%2Fvite-react-searchcraft-template/lists"}