GabrielMMelo / postgresidian

Fork of clouedoc/postgresql-obsidian

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Obsidian + PostgreSQL = ❤️

An Obsidian plugin to upload your notes' metadata to your database.

Features

  • send the Dataview data of a note to a PostgreSQL database

Installation

  1. Get a PostgreSQL database
  2. Set your PostgreSQL connection string inside the settings
  3. Open the command panel and type "PostgreSQL" to see the list of available commands

Contributing

Contributions are what make the open source community such an amazing place to be, learn, inspire, and create. Any contributions you make are greatly appreciated!

Development

  1. Open this repository on Gitpod
  2. Go to https://gitpod.io and copy your workspace SSH username and host inside sync.sh
  3. Copy sync.sh inside .obsidian/plugins
  4. Do some modifications on your remote Gitpod development instance
  5. Execute sync.sh on your local computer (the plugin's files should get copied)
  6. Iterate

TODO

  • overcomplicated development workflow
  • set PostgreSQL URL in the settings
  • get various information from the current note
    • Dataview data
    • list content
  • commands
    • upload current note
    • bulk upload
    • automatic upload on edit
  • submit to Obsidian plugin registry

Useful links

Attribution

  • Thanks to pg for making it possible to easily connect to a PostgreSQL database from JavaScript.
  • Thanks to the Rush Stack for providing an easy-to-use ESLint configuration.
  • Thanks to the Dataview Plugin for making it easy to access a note's metadata.

License

MIT

About

Fork of clouedoc/postgresql-obsidian

License:MIT License


Languages

Language:TypeScript 68.9%Language:JavaScript 25.6%Language:Shell 5.1%Language:CSS 0.4%