Giter VIP home page Giter VIP logo

docsearch's Introduction

δΈ­ζ–‡

Node.js Document Search

A chrome extension to add search box to Node.js documentation.

The Node.js documentation (https://nodejs.org/api/) does not have a search function, it is just a plain text page, unlike other documentation such as Vue.js (https://vuejs.org/), React (https://react.dev/) etc., which have integrated the Algolia search box, allowing you to quickly locate specific pages or methods based on keywords.

This plugin adds a search box to the Node.js documentation page, perfectly embedded in the page, as if it was originally there, providing instant search capabilities, aligning with the search experience of other documentation.

Preview

1.png

2.png

Installation

  • install from Chrome Web Store
  • or install unpacked extension: docsearch/packages/chrome-extension

Usage

  1. After installing the plugin, open the Node.js documentation page, you will see a search button in the upper right corner of the page, click it or use the shortcut Ctrl+k (Cmd+k) to pop up the search box
  2. Or click the plugin button, if the current tab is a document, it will pop up the search box, if not, it will open the document

How it works

  • docsearch/crawler is a nodejs script, it crawls the Node.js documentation website, and generates a json file which contains all the documentations.
  • use Fuse.js to search the documentations in the json file.
  • docsearch/packages/docsearch-react is a search box UI, fork from docsearch, and modified to support local search.
  • docsearch/packages/chrome-extension is a chrome extension, it injects the search box UI to the Node.js documentation website.

License

MIT

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.