{"repo":"flowershow/markdowndb","free":true,"listed":false,"github":"https://github.com/flowershow/markdowndb","clone":"git clone https://github.com/flowershow/markdowndb.git","description":"Turn markdown files into structured, queryable data with JS. Build markdown-powered docs, blogs, and sites quickly and reliably.","language":"TypeScript","stars":502,"topics":["awesomeness","catalog","database","markdown","contentlayer","contentlayer-nextjs","contentlayer-typescript","headless-cms","jamstack"],"license":"MIT","category":"databases-storage","readme_excerpt":"MarkdownDB MarkdownDB is a javascript library that turns markdown files into structured queryable databaase (SQL-based and simple JSON). It helps you build rich markdown-powered sites easily and reliably. Specifically it: - Parses your markdown files to extract structured data (frontmatter, tags etc) and builds a queryable index either in JSON files or a local database (SQLite, MySQL, or PostgreSQL) - Provides a lightweight javascript API for querying the index and using the data files into your application Database Support MarkdownDB supports multiple database backends through Knex.js: - SQLite (default) - Perfect for local development and small to medium sites. No additional setup required. - MySQL - Great for larger sites and when you need a separate database server. Requires mysql2 package. - PostgreSQL - Enterprise-grade database with advanced features. Requires pg package. All databases provide the same API and features, so you can easily switch between them based on your needs. Features and Roadmap - [x] Index a folder of files - create a db index given a folder of markdown and other files - [x] Command line tool for indexing : Create a markdowndb (index) on the command line v0.1 - [x] SQL(ite) index v0.2 - [x] MySQL and PostgreSQL support - Use MySQL or PostgreSQL as your database backend - [x] JSON index v0.6 - [ ] BONUS Index multiple folders (with support for configuring e.g. prefixing in some way e.g. i have all my blog files in this separate folder over here) - [","default_branch":null,"files":null,"tree":[],"storefront":"/r/flowershow","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/flowershow/markdowndb/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}