medup
medup copied to clipboard
Download all content from Medium and Dev.to to local folder
Example of usage: ``` medup -v7 @miry -d _posts --assets-dir assets --assets-base-path=/assets ``` Result Repo: https://github.com/miry/miry.github.io Site: https://miry.github.io
Currently support json and markdown formats. Need to allow save page as minimal HTML format.
Use https://github.com/jekyllt/jasper2 in demo example. Deploy Demo to Heroku, Netlify or Github Pages
https://github.com/nix-community/crystal2nix
- [x] Jekyll - [x] https://www.bridgetownrb.com/ - [ ] Mkdocs - [ ] Hugo - [ ] Nikola
Currently everything done with regexp. To make it cleaner, possible to use https://github.com/naqvis/crystal-html5
I think to have multiple ways to use medup: - Video tutorials - Blog articles with specific cases: export and run in Jekyll, automate backup
Found a new requests during browsing the pages: Need to update client to use Graphql. ## Sample request POST | https://medium.com/_/graphql Payload: ```json [{"operationName":"PostPageQuery","variables":{"postId":"66bc0c2d0f24","postMeteringOptions":null},"query":"query PostPageQuery($postId: ID!, $postMeteringOptions: PostMeteringOptions) {\n postResult(id:...