No description
Find a file
2024-11-03 20:43:45 +00:00
.github feat: running tests on PR 2024-09-03 20:35:13 +01:00
docs chore: bumped version and added changelog 2024-09-05 18:34:36 +01:00
src chore: add pagination 2024-11-03 20:43:45 +00:00
.editorconfig chore: initial version 2024-04-19 15:53:50 +01:00
.eslintignore chore: initial version 2024-04-19 15:53:50 +01:00
.eslintrc chore: initial version 2024-04-19 15:53:50 +01:00
.gitignore feat: adding proper gramar parsing instead of regex. Improving how CSVs are handled and reloaded. 2024-09-02 19:40:48 +01:00
.npmrc chore: initial version 2024-04-19 15:53:50 +01:00
.prettierrc mvp 2024-04-30 22:52:52 +01:00
CHANGELOG.md chore: bumped version and added changelog 2024-09-05 18:34:36 +01:00
esbuild.config.mjs chore: version bump, cleaaning dependencies 2024-09-02 19:48:33 +01:00
jest.config.js feat: reworking communication to signals and fixing issues with some keys 2024-11-03 00:28:09 +00:00
LICENSE Create LICENSE 2024-05-06 17:43:49 +01:00
main.ts chore: fixing issue with tags 2024-11-03 10:05:41 +00:00
manifest.json chore: bumped version and added changelog 2024-09-05 18:34:36 +01:00
package-lock.json feat: reworking communication to signals and fixing issues with some keys 2024-11-03 00:28:09 +00:00
package.json feat: reworking how the data is being displayed by using ag-grid library 2024-11-03 20:43:45 +00:00
pnpm-lock.yaml feat: reworking how the data is being displayed by using ag-grid library 2024-11-03 20:43:45 +00:00
README.md chore: adding link to the discord channel. 2024-08-25 11:42:17 +01:00
SqlSealLang.g4 feat: adding proper gramar parsing instead of regex. Improving how CSVs are handled and reloaded. 2024-09-02 19:40:48 +01:00
styles.css feat: reworking how the data is being displayed by using ag-grid library 2024-11-03 20:43:45 +00:00
tsconfig.json many fixes: 2024-09-01 14:01:54 +01:00
version-bump.mjs chore: initial version 2024-04-19 15:53:50 +01:00
versions.json chore: bumped version and added changelog 2024-09-05 18:34:36 +01:00
yarn.lock feat: reworking communication to signals and fixing issues with some keys 2024-11-03 00:28:09 +00:00

Obsidian SQLSeal

SQLSeal allows to transform your CSV files located in your vault into fully-fledged SQL database. You can use SQL statements to query this data however you like.

Installation

Once the library is published in Obsidian Official Community Repository: just head to Community Tab in your Obisidian Settings page and search for "SQLSeal".

Note: Please note that this plugin is in early phase. Basic functionality should work just fine but I do not take any responsibility for potential data loss and damage to your Vault.

On the first try plugin will download better_sqlite3.node binary to run database locally. This is due to the Obsidian restrictions to bundle everything in the main.js. The whole process of generating it is public and you can check it in the GitHub workflows.

The plugin creates database file in configuration folder .obsidian named sqlseal.db.

Manual Instalation

To manually install the package, open Releases and download .zip of the last one. Unzip it in your vault under .obsidian/Plugins/sqlseal.

Usage

Once you install the plugin, you can use it by creating sqlseal codeblocks in your notes. To create table base on the existing CSV file in your vault simply address it using the following command:

TABLE transactions = file(transactions.csv)

SELECT * FROM transactions LIMIT 10

The code above will create table called transactions based on the transactions.csv file from your vault. Further you can refer to it using regular SELECT statements. You can define multiple tables in a single snippet. You can also point to the tables defined in different snippets within the same note (for now tables stay local to the file).

For more comprehensive documentation head to hypersphere.blog/sql-seal.

Stay in Touch!

If you have any questions about the project, ideas or want to share your use-cases, join our Discord Channel!