https://github.com/simonw/markdown-to-sqlite
CLI tool for loading markdown files into a SQLite database
https://github.com/simonw/markdown-to-sqlite
datasette-io datasette-tool markdown sqlite yaml
Last synced: about 1 month ago
JSON representation
CLI tool for loading markdown files into a SQLite database
- Host: GitHub
- URL: https://github.com/simonw/markdown-to-sqlite
- Owner: simonw
- License: apache-2.0
- Created: 2019-01-27T02:04:54.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2022-05-13T18:09:22.000Z (about 3 years ago)
- Last Synced: 2024-10-18T07:53:34.921Z (7 months ago)
- Topics: datasette-io, datasette-tool, markdown, sqlite, yaml
- Language: Python
- Homepage:
- Size: 12.7 KB
- Stars: 76
- Watchers: 4
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# markdown-to-sqlite
[](https://pypi.python.org/pypi/markdown-to-sqlite)
[](https://github.com/simonw/markdown-to-sqlite/releases)
[](https://github.com/simonw/markdown-to-sqlite/actions?query=workflow%3ATest)
[](https://github.com/simonw/markdown-to-sqlite/blob/main/LICENSE)CLI tool for loading markdown files into a SQLite database.
YAML embedded in the markdown files will be used to populate additional columns.
Usage: markdown-to-sqlite [OPTIONS] DBNAME TABLE PATHS...
For example:
$ markdown-to-sqlite docs.db documents file1.md file2.md
## Breaking change
Prior to version 1.0 this argument order was different - markdown files were listed before the database and table.