Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rgrannell1/obs-diatom
Extract structured data from Obsidian notes
https://github.com/rgrannell1/obs-diatom
obsidian-md
Last synced: 23 days ago
JSON representation
Extract structured data from Obsidian notes
- Host: GitHub
- URL: https://github.com/rgrannell1/obs-diatom
- Owner: rgrannell1
- Created: 2021-11-21T15:59:16.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-08T09:34:27.000Z (almost 3 years ago)
- Last Synced: 2024-12-29T05:33:59.198Z (28 days ago)
- Topics: obsidian-md
- Language: Go
- Homepage:
- Size: 98.6 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Diatom
Read and store Obsidian notes as structured data.
## Usage
```bash
diatom
```## Description
Diatom extracts information from human-readable markdown into a Sqlite database.
- File names, titles, and hashes
- Tags in a file
- Urls in a file
- Wikilinks in a file, their alias
- Note frontmatter
- Code-blocks with an information section starting with an `!`This database can then be used by applications that read or modify your notes.
## Tables
Diatom extracts note-information into the following tables:
`file: { id, title, hash }`
`tag: { tag, file_id }`
`url: { url, file_id }`
`wikilink: { reference, alias, file_id }`
`metadata { file_id, schema, content }`
## License
The MIT License
Copyright (c) 2021 Róisín Grannell
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.