Docsql

screenshot of Docsql
nextjs
react

docsQL - Getting an overview over your Markdown file in your Jamstack site

Overview:

docsQL is a CLI program that allows you to get an overview of your Jamstack Markdown files. It creates a searchable database by extracting the front-matter from each file and executing plugins. The front-matter becomes key-value pairs that can be queried, and the plugins provide additional functionality like counting headings. This tool is designed to help developers manage and analyze their Markdown files efficiently.

Features:

  • Front-matter Extraction: The front-matter from Markdown files is extracted and converted into key-value pairs that can be queried.
  • Searchable Database: The extracted front-matter is stored in a database, allowing users to perform queries based on specific keys.
  • Built-in Plugins: docsQL comes with built-in plugins, such as "commonheadings.mjs," which count the number of heading rows in the content for each file.
  • Custom Plugins: Users can create custom plugins to extend the functionality of docsQL. These plugins can be included by specifying the folder containing the plugins when running the CLI.
  • Integration with Git: Users can share their custom plugins with their team by zipping up the directory or creating a Git repo.

Summary:

docsQL is a powerful tool for managing and analyzing Jamstack Markdown files. It provides a simple CLI interface for extracting and querying front-matter, creating a searchable database. With built-in and custom plugins, developers can extend the functionality of the tool to suit their specific needs. By providing an overview of the Markdown files and their content, docsQL helps developers efficiently manage their documentation projects.

nextjs
Next.js

Next.js is a React-based web framework that enables server-side rendering, static site generation, and other powerful features for building modern web applications.

react
React

React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.