Repository
https://github.com/holgern/steemhistory
steemhistory
I wrote a post about storing all your posts in markdown files. The script did not store images and uses also the limited get_blog function from beem (limited to 500 entries).
The second version of this script fetches all posts without limitation and stores also all linked images in a second folder. This version is also a full python package which can now be easily installed.
Installation
The python package can be installed by:
pip install steemhistory
For Windows, standalone executables are provided:
One file version:
- steemhistory-onefile-0.1.2-5-f84a425f-py36_win64.zip
A faster, not packed version is also provided - steemhistory-0.1.2-5-f84a425f-py36_win64.zip
Technology Stack
steemhistory uses the beem library for receiving all account history.
Usage
The following script does the following:
- fetches the complete account history and searches for new posts
- extracts title, timestamp, permlink,tags and store them as YAML extension at top of the md file
- scans the body for image links and downloads them to the image folder
- adds the content to the md file
When images should be stored, three arguments are needed:
steemhistory posts <author> <path> <image_path>
The images are stored in the given image_path.
When no images should be stored, two arguments are needed:
steemhistory posts <author> <path>
Roadmap
Besides storing all posts, commands for storing all other account history operations are planned.
It is also planned to allow the storage of all posts in different formats, as e.g. PDF.
How to contribute?
Please use the issue tracker for bug reports and feature wishes. Pull requests are also welcome.