flexsearch
magidoc
Our great sponsors
flexsearch | magidoc | |
---|---|---|
12 | 21 | |
11,839 | 217 | |
4.2% | 2.8% | |
7.1 | 7.6 | |
4 months ago | 11 days ago | |
JavaScript | TypeScript | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
flexsearch
-
Nextra 2 – Next.js Static Site Generator
Full-text search is powered by FlexSearch and Nextra will index all of your pages at build time ⚡.
-
How to link search results back to original HTML when clicked?
I have a web page that reads in various .md files and displays them as HTML. The app uses the marked library to convert the markdown into HTML for display. I create a flexsearch search index out of the raw text values from the documents (raw text is gathered using DOMParser over all HTML elements) so that user can search for keywords in the docs and get back a table of results. The order of operations and search index code looks like:
-
How can I set up this Typescript project to use a Javascript library?
I am trying to get flexsearch (a lib written in js) up and running in a TS project and found a working example here. I downloaded the project and ran 'yarn add flexsearch' and also 'yarn add @/types/flexsearch' since I know that you need a special index.d.ts file to convert the JS to TS properly.... however the code errors out during the Index object creation with the message.
-
Best way to implement a search feature over raw HTML using Typescript/React?
Try using a proper browser search like Lunr or Flexsearch
-
Lyra: Fast, in-memory, typo-tolerant, full-text search engine in TypeScript
Current version of FlexSearch (0.7.2) is not typo tolerant, see https://github.com/nextapps-de/flexsearch/issues/118
-
Writing a Fuzzy Search Component With Preact and Fuse for Astro
Very nice! Seems to perform very well. I'm curious, have you compared Fuse with other search engines? Like flex search or elasticlunr? Why did you choose fuse ?
-
Comparing English and Spanish Words in JavaScript
I actually looked into this term before localeCompare(): Full Text Search. It's pretty heavy duty. In JavaScript, this can come in the form of a library dependency like FlexSearch. Far too bulky for the humble sorting task I have at hand.
- Quick live-search on 1M strings in React native
-
In memory full text search in Rust?
Javascript seems to have a comprehensive in memory solution https://github.com/nextapps-de/flexsearch
-
DynamoDB full text search
Another option that was often suggested to me was building the search index with a library such as https://github.com/nextapps-de/flexsearch and distribute the index than to the client and handle it one the client. But yeah sounds like a lot of overhead and I haven't tried it.
magidoc
-
Magidoc 3.0 - Documentation generator for GraphQL
Magidoc is a fully-free open source static documentation generator for GraphQL. Whether you want to get visibility on internal APIs or document public endpoints for your customers, Magidoc can do it all! If you're interested in learning more, come see our repo!
-
Svelte is awesome!
Indexing code
-
magidoc alternatives - dociql and graphdoc
3 projects | 4 Aug 2022
-
New Magidoc library to render markdown into Svelte components
It depends on what you're trying to do with your blog. In Magidoc, this engine is used to take external markdown (provided by files or a GraphQL schema for instance) and convert it to html to build a static website. This kind of library is more adapted for this kind of use-case where the markdown is provided externally.
-
Writing a Fuzzy Search Component With Preact and Fuse for Astro
I'm asking because have an issue in my project in which I would like to implement such search. It is a relatively complicated feature, and one of the main thing is that I would like the site to be pre-indexed. Which means that the index should be created at build time, and not when you open the page. Is it what you did in your project?
-
I think i didn't understand Svelte
Repo: https://github.com/magidoc-org/magidoc/tree/main/packages/starters/carbon-multi-page
-
Best tool for creating GraphQL API documentation?
Depends what you are looking to do with the documentation, but there are a few tools to generate static documentation. I personally built an open source tool to generate GraphQL documentation that we use in my company. It's called Magidoc, you can see the repo here, .
-
Magidoc is looking for Svelte enthousiasts to help build new templates!
Building a templates means that you are free to choose the design of the website, but also that you can implement the template in Svelte! There is a contributing guide to help you get started with the project.
-
Magidoc: A static documentation generator for GraphQL
If you are not interested in contributing but the project interests you, you can still support Magidoc by leaving a ⭐ on Github!
- Magidoc: A GraphQL documentation generator with re-usable JavaScript plugins
What are some alternatives?
minisearch - Tiny and powerful JavaScript full-text search engine for browser and Node
spectaql - Autogenerate static GraphQL API documentation
Fuse - Lightweight fuzzy-search, in JavaScript
graphiql - GraphiQL & the GraphQL LSP Reference Ecosystem for building browser & IDE tools.
elasticsearch-js - Official Elasticsearch client library for Node.js
svelteui - SvelteUI Monorepo
itemsjs - Extremely fast faceted search engine in JavaScript - lightweight, flexible, and simple to use
graphdoc - Static page generator for documenting GraphQL Schema
TNTSearch - A fully featured full text search engine written in PHP
swagger-ui - Swagger UI is a collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.
lunr.js - A bit like Solr, but much smaller and not as bright
SvelteKit - web development, streamlined