Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/usagizmo/obsidian-nhost-sync
https://github.com/usagizmo/obsidian-nhost-sync
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/usagizmo/obsidian-nhost-sync
- Owner: usagizmo
- Created: 2023-01-29T01:28:32.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-07T21:39:50.000Z (almost 2 years ago)
- Last Synced: 2023-03-01T01:11:00.097Z (over 1 year ago)
- Language: TypeScript
- Homepage: https://usagizmo.com/notes/obsidian-nhost-sync
- Size: 53.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# obsidian-nhost-sync
Sync obsidian notes with `publish: true` front-matter and their associated data to Nhost's DB / Storage.
\[DEMO (ja)\]: https://usagizmo.com/notes/obsidian-nhost-sync
![nhost-sync-settings](https://user-images.githubusercontent.com/1271863/216879050-7265cd4f-5bd0-4988-ae57-ad9d1f1b7240.png)
![nhost-01](https://user-images.githubusercontent.com/1271863/215930648-82f1ea8f-1456-4d93-a6e5-3f67d323b245.png)
![nhost-02](https://user-images.githubusercontent.com/1271863/215930657-76b14f03-c61d-4a69-a289-ff97f34ff709.png)## Install
ref. https://github.com/obsidianmd/obsidian-sample-plugin
## Nhost DB settings
### `public/notes` (create new)
#### Columns
- **path**: (text, primary key, unique) File path from Vault root
- **created_at**: (→ createdAt - timestamp with time zone, default: now())
- **updated_at**: (→ updatedAt - timestamp with time zone, default: now())
- **basename**: (text) File name without extension
- **extension**: (text) extension
- **name**: (text) filename
- **size**: (integer) file size
- **content?**: (text, nullable) For `.md` note, the content of the file
- **fileId?**: (text, nullable) For attachment note, this is associated with `files.id`#### Permissions
- **admin**: `insert`, `select`, `update`, `delete`
- **public**: `select`### `storage/files` (existing)
#### Permissions
- **admin**: `insert`, `select`, `update`, `delete`
- **public**: `select`