Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dnamsons/obsidian-publish-gist
Publish your obsidian notes to a gist
https://github.com/dnamsons/obsidian-publish-gist
obsidian obsidian-md obsidian-plugin
Last synced: 11 days ago
JSON representation
Publish your obsidian notes to a gist
- Host: GitHub
- URL: https://github.com/dnamsons/obsidian-publish-gist
- Owner: dnamsons
- Created: 2022-01-26T10:44:33.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-02-19T16:44:02.000Z (over 2 years ago)
- Last Synced: 2024-04-16T22:31:31.415Z (7 months ago)
- Topics: obsidian, obsidian-md, obsidian-plugin
- Language: TypeScript
- Homepage:
- Size: 38.1 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Obsidian publish Gist
This plugin allows you to automatically upload a note to a Github Gist.
## Usage
You will need to set up a Github access token in order to use this plugin. This can be done [here](https://github.com/settings/tokens/new)
The only scope that the token needs to have enabled is `gist`:
![The row in the token settings that needs to be enabled](./images/gist-row.png)
After adding the token to Obsidian settings, a new command `Publish file to Github gist` will become available. Upon selection, the currently active note will automatically be uploaded to Github as a new private gist.
The command will also add a property to the frontmatter called `gist_id`. This property is used to identify the gist that the note is published to.
### Adding a file to a preexisting gist
You can also add the `gist_id` property manually. This will cause the `Publish file to Github gist` command to add the active file to the gist with the provided `gist_id`