Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wisehackermonkey/ghost-sync

syncs your obsidian vault with your ghost blog
https://github.com/wisehackermonkey/ghost-sync

Last synced: 1 day ago
JSON representation

syncs your obsidian vault with your ghost blog

Awesome Lists containing this project

README

        

## Ghost Blog Sync

This is a plugin for Obsidian (https://obsidian.md).

# Development
```sh
cd /path/to/obsidian/vault/.obsidian/plugins/
git clone
yarn
yarn run dev

npm install -g nodemon
nodemon ./SyncService.js

```
![](assets/2021-11-13-14-34-04.png)

### How to use
```bash
git clone https://github.com/wisehackermonkey/ghost-sync.git
copy "ghost-sync" to vault location within path/to/vault/.obsidian/plugins

open shell to
cd ghost-sync
yarn
yarn run dev
```
### open obsidian and look for the `ghost sync` plubin under community
### NOte: please enable community plugnis they call ti "safemode" => off

# netlify api entpoints
`https://ghostsync.netlify.app/.netlify/functions/createpost`
or
`https://ghostsync.netlify.app/api/v1/createpost`
# run netlify function (api endpoint) locally with netlify-cli
```bash
netlify dev
```
### open browser to
`http://localhost:8888/.netlify/functions/createpost`

### example requiest
`http://localhost:8888/.netlify/functions/createpost?ghostAdminApiKey=24324324234`

![](assets/2021-11-16-14-48-34.png)
### example api requiest
`http://localhost:8888/api/v1/createpost?ghostAdminApiKey=&baseUrl=https%3A%2F%2Foransblog.com&title=Ghost%20sync%3A%20the%20amazing%20obsidian%20app&image=https%3A%2F%2Fvia.placeholder.com%2F150&public=true&version=1.0`
![](assets/2021-11-16-15-39-37.png)

# Dev log
### its alive!
![](assets/2021-11-14-09-42-29.png)
# Links
### [mixmark-io/turndown: 🛏 An HTML to Markdown converter written in JavaScript](https://github.com/mixmark-io/turndown)
### [pjeby/hot-reload: Automatically reload Obsidian plugins in development when their files are changed](https://github.com/pjeby/hot-reload)
### https://medium.com/javascript-scene/reduce-composing-software-fe22f0c39a1d
### https://www.freecodecamp.org/news/pipe-and-compose-in-javascript-5b04004ac937/
### [create a flie |Vault | Obsidian Plugin Developer Docs](https://marcus.se.net/obsidian-plugin-docs/api/classes/Vault)
### [Ghost Admin API Documentation](https://ghost.org/docs/admin-api/)
### [kmaasrud/awesome-obsidian: 🕶️ Awesome stuff for Obsidian](https://github.com/kmaasrud/awesome-obsidian#for-developers)
### [https://www.json2yaml.com](https://www.json2yaml.com/)

### API Documentation

See https://github.com/obsidianmd/obsidian-api

# work flow