Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sytone/obsidian-queryallthethings
Query all your data stored in Obsidian, this plugin allows SQL based queries against the data collections available in Obsidian and Dataview. Output can then be rendered by Handlebars
https://github.com/sytone/obsidian-queryallthethings
obsidian obsidian-md obsidian-plugin
Last synced: 3 months ago
JSON representation
Query all your data stored in Obsidian, this plugin allows SQL based queries against the data collections available in Obsidian and Dataview. Output can then be rendered by Handlebars
- Host: GitHub
- URL: https://github.com/sytone/obsidian-queryallthethings
- Owner: sytone
- License: mit
- Created: 2023-05-02T18:21:58.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-23T00:12:56.000Z (9 months ago)
- Last Synced: 2024-04-28T01:41:59.805Z (9 months ago)
- Topics: obsidian, obsidian-md, obsidian-plugin
- Language: TypeScript
- Homepage: https://sytone.github.io/obsidian-queryallthethings/
- Size: 12 MB
- Stars: 92
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
- jimsghstars - sytone/obsidian-queryallthethings - Query all your data stored in Obsidian, this plugin allows SQL based queries against the data collections available in Obsidian and Dataview. Output can then be rendered by Handlebars (TypeScript)
README
# Query All The Things
***Execute flexible SQL base queries against your data in [Obsidian](https://obsidian.md) and render it how you want using Handlebars templates.***
---
## Features
- Use SQL based queries that are extensible and handle JSON and objects.
- Query any data collection found in the Obsidian API.
- Query data stored in DataView as well as cached view of DataView Data like tasks.
- Render using handlebar templates in HTML or Markdown
- Use custom handle bar helpers and/or provide your own.---
## Roadmap and Issues
Look at the [Qatt Project](https://github.com/users/sytone/projects/4) to see what is in progress or planned. Please make a issue if you have a problem or want to add/request a new feature. Open to PRs at any point.
---
## Getting started
Documentation on installing the plugin and using it can be found at [https://sytone.github.io/obsidian-queryallthethings/](https://sytone.github.io/obsidian-queryallthethings/)
## Getting Started - I don't need documentation
Well, in short after you have installed the plugin make a code block like the following example, this will list all your tasks that are not done and group them by the month when they are due.
If you want more details.... Read the documentation, or reverse engineer the code base. Your Choice!
Note: This plugin currently has a soft dependency on DataView, make sure it is installed if you want to use the dataview backed tables.
````markdown
```qatt
query: |
SELECT TOP 5 * FROM obsidian_markdown_notes ORDER BY stat->mtime DESC
template: |
{{#each result}}
- [[{{path}}\|{{basename}}]]
{{/each}}
```
````---