PubScale
approvedby piriwata
Seamlessly sync Markdown notes into PlanetScale tables.
PubScale for Obsidian
PubScale is a lightweight plugin that allows you to seamlessly insert, update, and delete markdown text in Obsidian vault into PlanetScale tables. You can leverage PlanetScale as a content storage and Obsidian as your preferred content editor. Note that this plugin is not intended to use planetScale to back up your vault.
Features
- Store and manage your markdown files in your vault into PlanetScale
- Specialized integration with PlanetScale for easy setup
- Full control over which notes are synced with PlanetScale
Setup
To get started with PubScale, follow these steps:
- Create a table in the planetScale database to store your obsidian notes. The table name can be freely set. Column names are currently fixed for
titleandcontent. For example, enter the following command in the planetScale console.CREATE TABLE posts ( title varchar(255) NOT NULL PRIMARY KEY, content TEXT NOT NULL ); - Install the PubScale plugin through the Obsidian Community Plugins.
- Configure the plugin by adding your PlanetScale credentials and the desired database and table.
- Open the note you want to sync with PlanetScale.
Usage
Publish a note
To publish a note, access the Command Palette and select "PubScale: Publish an active note to PlanetScale". This will update the active note in your PlanetScale table. Note that PubScale identifies notes by their title. If you change the title of a note, PubScale will insert a new note into your PlanetScale table.
Delete a note
To delete a note, access the Command Palette and select "PubScale: Delete an active note from PlanetScale". This will delete the active note from your PlanetScale table.
Support
For any issues or feature requests, please create an issue in the repository.
License
This project is licensed under the MIT License.
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.