https://github.com/blogody/export
Easily export all your Blogody data
https://github.com/blogody/export
Last synced: 3 months ago
JSON representation
Easily export all your Blogody data
- Host: GitHub
- URL: https://github.com/blogody/export
- Owner: blogody
- License: mit
- Created: 2021-08-24T14:05:29.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-02-19T17:29:34.000Z (about 3 years ago)
- Last Synced: 2024-06-17T22:48:56.472Z (8 months ago)
- Language: TypeScript
- Size: 170 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - blogody/export - Easily export all your Blogody data (TypeScript)
README
# Blogody Export
Export all your [Blogody](https://www.blogody.com) data with this isomorphic JavaScript/TypeScript package. You can export everything into a JSON text file and choose between HTML or Markdown output for your post and page data. Articles can also be written into individual files which makes it easier to import into other systems.
## News Article
More background information can be found in this [news article](https://www.blogody.com/news/how-to-export-your-blogody-blogs).
## 🚀 Quick start
1. **Install the exporter**
```shell
yarn add @blogody/export
```2. **Use the exporter in your js/ts projects**
```javascript
import { BlogodyExport } from '@blogody/export'const api = new BlogodyExport({ key: 'YOUR BLOGODY API ACCESS KEY' })
// make API calls
const data = await api.export({ format: 'markdown' })// Other transforms can go here, e.g. strip settings (Do not strip the blogody section!)
const fileData = { ...data, settings: undefined }// write everything to a JSON text file
await api.writeFile({ jsonData: fileData })// write articles to separate files
await api.writePosts({ jsonData: fileData })
```Currently supported formats are : `HTML` and `Markdown`.
## 🔑 Blogody API Keys
Go to your Blogody account and create a new key under Settings > Developers.
# Copyright & License
Copyright (c) 2021 Blogody - Released under the [MIT license](LICENSE).