https://github.com/devidw/hashnode-export-to-markdown
Convert Hashnode export JSON into single markdown files with frontmatter and downloads of your cover images
https://github.com/devidw/hashnode-export-to-markdown
blogging converter downloader frontmatter hashnode json markdown md python script
Last synced: 2 months ago
JSON representation
Convert Hashnode export JSON into single markdown files with frontmatter and downloads of your cover images
- Host: GitHub
- URL: https://github.com/devidw/hashnode-export-to-markdown
- Owner: devidw
- Created: 2021-11-27T19:19:22.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-12-04T21:29:06.000Z (over 3 years ago)
- Last Synced: 2024-10-18T21:04:22.475Z (8 months ago)
- Topics: blogging, converter, downloader, frontmatter, hashnode, json, markdown, md, python, script
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
Awesome Lists containing this project
README
= Hashnode Export to Markdown
Convert your `.json` export from Hashnode back into individual `.md` files including frontmatter and image downloads of you cover images from Hashnode.
== Configuration
[source, python]
----
export_path = 'devid-stories.json' # Hashnode export file
media_path = 'posts/media' # directory, where cover image should be saved to
posts_path = '../hashnode-articles/' # directory, where articles should be saved to
config = {
'domain': 'xn--david-9u04d.to', # frontmatter domain
'media_url': 'https://david.wolf.gdn/media', # new prefix for the downloaded media files
}
----