All Projects → algolia → Docsearch

algolia / Docsearch

Licence: mit
📘 The easiest way to add search to your documentation.

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects
CSS
56736 projects

Projects that are alternatives of or similar to Docsearch

Docsearch Configs
DocSearch - Configurations
Stars: ✭ 339 (-85.04%)
Mutual labels:  algolia, search, documentation
Jekyll Theme Basically Basic
Your new Jekyll default theme
Stars: ✭ 524 (-76.88%)
Mutual labels:  algolia, search
Algoliasearch Client Python
⚡️ A fully-featured and blazing-fast Python API client to interact with Algolia.
Stars: ✭ 138 (-93.91%)
Mutual labels:  algolia, search
Algoliasearch Client Javascript
⚡️ A fully-featured and blazing-fast JavaScript API client to interact with Algolia.
Stars: ✭ 907 (-59.97%)
Mutual labels:  algolia, search
Algoliasearch Rails
AlgoliaSearch integration to your favorite ORM
Stars: ✭ 352 (-84.47%)
Mutual labels:  algolia, search
Awesome Algolia
🔍👋 START HERE! A curated list of Algolia libraries, resources and projects.
Stars: ✭ 475 (-79.04%)
Mutual labels:  algolia, search
Vue Instantsearch
👀 Algolia components for building search UIs with Vue.js
Stars: ✭ 707 (-68.8%)
Mutual labels:  algolia, search
svelte-algolia
Svelte plugin for keeping Algolia indices in sync with custom data fetching functions.
Stars: ✭ 17 (-99.25%)
Mutual labels:  search, algolia
Instantsearch Ios Examples
Example apps built with InstantSearch iOS
Stars: ✭ 55 (-97.57%)
Mutual labels:  algolia, search
Autocomplete
🔮 Fast and full-featured autocomplete library
Stars: ✭ 1,268 (-44.04%)
Mutual labels:  algolia, search
Algoliasearch Client Android
Algolia Search API Client for Android
Stars: ✭ 92 (-95.94%)
Mutual labels:  algolia, search
Instantsearch Android
A library of widgets and helpers to build instant-search applications on Android.
Stars: ✭ 129 (-94.31%)
Mutual labels:  algolia, search
Scout Extended
Scout Extended: The Full Power of Algolia in Laravel
Stars: ✭ 330 (-85.44%)
Mutual labels:  algolia, search
Instantsearch Ios
⚡️ A library of widgets and helpers to build instant-search applications on iOS.
Stars: ✭ 498 (-78.02%)
Mutual labels:  algolia, search
Twitter Search
Instantly search across your entire Twitter history with a beautiful UI powered by Algolia.
Stars: ✭ 305 (-86.54%)
Mutual labels:  algolia, search
Algoliasearch Client Php
⚡️ A fully-featured and blazing-fast PHP API client to interact with Algolia.
Stars: ✭ 565 (-75.07%)
Mutual labels:  algolia, search
Docs
Repository of Twilio SendGrid's product documentation.
Stars: ✭ 221 (-90.25%)
Mutual labels:  algolia, documentation
Instantsearch.js
⚡️ A JavaScript library for building performant and instant search experiences with Algolia.
Stars: ✭ 2,799 (+23.52%)
Mutual labels:  algolia, search
Github Awesome Autocomplete
Add instant search capabilities to GitHub's search bar
Stars: ✭ 1,015 (-55.21%)
Mutual labels:  algolia, search
React Instantsearch
⚡️ Lightning-fast search for React and React Native applications, by Algolia.
Stars: ✭ 1,320 (-41.75%)
Mutual labels:  algolia, search

DocSearch

The easiest way to add search to your documentation – for free.

Netlify Status npm version License

DocumentationJavaScript PlaygroundReact Playground


DocSearch crawls your documentation, pushes the content to an Algolia index and provides a dropdown search experience on your website.

Preview

Screencast

Light Dark
Light preview Dark preview

Usage

Don't have your Algolia credentials yet? Apply to DocSearch!

JavaScript

Installation

yarn add @docsearch/js@alpha
# or
npm install @docsearch/js@alpha

If you don’t want to use a package manager, you can use a standalone endpoint:

<script src="https://cdn.jsdelivr.net/npm/@docsearch/js@alpha"></script>

Get started

To get started, you need a container for your DocSearch component to go in. If you don’t have one already, you can insert one into your markup:

<div id="docsearch"></div>

Then, insert DocSearch into it by calling the docsearch function and providing the container. It can be a CSS selector or an Element.

Make sure to provide a container (for example, a div), not an input. DocSearch generates a fully accessible search box for you.

import docsearch from '@docsearch/js';

import '@docsearch/css';

docsearch({
  container: '#docsearch',
  appId: 'YOUR_APP_ID',
  indexName: 'YOUR_INDEX_NAME',
  apiKey: 'YOUR_SEARCH_API_KEY',
});

React

Installation

yarn add @docsearch/react@alpha
# or
npm install @docsearch/react@alpha

If you don’t want to use a package manager, you can use a standalone endpoint:

<script src="https://cdn.jsdelivr.net/npm/@docsearch/react@alpha"></script>

Get started

DocSearch generates a fully accessible search box for you.

import { DocSearch } from '@docsearch/react';

import '@docsearch/css';

function App() {
  return (
    <DocSearch
      appId="YOUR_APP_ID"
      indexName="YOUR_INDEX_NAME"
      apiKey="YOUR_SEARCH_API_KEY"
    />
  );
}

export default App;

Styling

Read documentation →

Related projects

DocSearch is made of the following repositories:

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].