Skip to content
/ blog Public

The blog service that synchronize steem posts onto GitHub pages

License

Notifications You must be signed in to change notification settings

steemblog/blog

Repository files navigation

Introduction

steemblog is a blog service that syncs your steem blogs into https://steemblog.github.io pages. It's built based on steem APIs and hexo blog framework.

Pixabay
Image Source: Pixabay

Features

  1. Synchronize posts from steem by account to https://steemblog.github.io/@{account} daily.
  2. With the help of hexo themes, the blog is easier to read, search, archive, etc.

You can find my blog from https://steemblog.github.io/@robertyan as an example.

How to Sync Your Blogs

To use the blog service, we simply add your steem account name to the STEEM_ACCOUNTS variable of this project's Travis CI job, then the synchronization will be done daily automatically.

You may contact @robertyan if you need help to setup the service in steemblog.

Commands

The commands / tasks in this project is manged with invoke package.

By running pipenv run invoke -l, you're able to see the available tasks in the bot.

Available tasks:

  blog.build         build the static pages from steem posts
  blog.build-all     download the posts of all the accounts, and generate pages
  blog.clean         clean the downloaded posts
  blog.deploy        deploy the static blog to the GitHub pages
  blog.download      download the posts to local by the account
  blog.test          build and launch the blog server in local environment
  steem.list-posts   list the post by account, tag, keyword, etc.

To see the introduction of a command, run pipenv run invoke -h <command>.

Reference

  • The blog service is built based on the steem blog mirroring tool
  • The interaction with Steem blockchain is built with beem project.
  • The blog generation is built with hexo blog framework.

License

The project is open sourced under MIT license.