Glasnost v0.6 released: now with multi author blogs - publish your Steem blogs on your own domain

in #steemdev7 years ago (edited)


Multi author support has landed. You can now publish an unlimited number of your Steem account blogs using "authors" property to select names. Every author now has its own tag whitelist/blacklist.

Example configuration JSON file

{
  "authors": [{
    "account_name": "ontofractal",
    "tags": {
      "blacklist": [],
      "whitelist": []
    }
  }, {
    "account_name": "...",
    "tags": {
      "blacklist": [],
      "whitelist": []
    }
  }
],
  "about_blog_permlink": "ann-introducing-glasnost-alpha-open-source-blog-and-app-server-for-steem-golos-blockchains",
  "about_blog_author": "ontofractal",
  "source_blockchain": "steem"
}

Start by uploading a similar JSON configuration file with your values to pastebin or github gists:

Then point Glasnost to your uploaded raw(!) file using Docker environment variable GLASNOST_CONFIG_URL.

docker run -it -p 80:80 -e "GLASNOST_CONFIG_URL=..."  --restart on-failure:10 ontofractal/glasnost:latest

Warning: you need a raw file link, not a default one.

How to filter posts with tags rules

Whitelisting rules are applied first: all posts that do not have a whitelisted tag are discarded. If tags_whitelist value is an empty list [] whitelisting rule does NOT apply and is ignored.

Blacklist rules are applied next: all posts that have a blacklisted tag are removed. Check out a configuration file example in this post.

Changelog

  • blockchain sync engine for multi author blogs
  • whitelist and blacklist post filtering for arbitrary authors
  • "about blog" page settings now requires both "about_blog_author" and "about_blog_permlink"
  • new /author/:name/:permlink routes
  • design updates for multi author blogs
  • multiple small bugfixes and improvements

Glasnost alpha v0.6 demo for @ontofractal

Glasnost repo

Glasnost latest on Docker hub

Tech stack

  • Elixir
  • Phoenix
  • Mnesia

All data is stored by in-memory Mnesia database that is a part of Erlang/OTP platform.

What's Glasnost? and Glasnost Roadmap

Read more about Glasnost and its roadmap in the introduction post

Development process

Glasnost is a single code base developed simultaneously both for Steem and Golos blockchains. Sustainable Glasnost development is made possible by the committed support of Golos open source ecosystem by @cyberfund. Read more about Golos and cyberfund open source support in this post by @hipster.

Feedback

If you have any requests or feedback, please get in touch with me: ontofractal at protonmail.com or steemit.chat.

(ノ◕ヮ◕)ノ*:・゚✧

Sort:  

nice post

Thank you @ontofractal !

This post is clearly undervoted !

great work!

Will read through your code ASAP. Impressed with what you're accomplishing with elixir. Did I also see some rust in there?

thanks, @faddat!

Elixir is great and what's interesting that most productivity benefits in Glasnost come from original Erlang/OTP platform and Mnesia.

No rust yet but I am looking for an opportunity to use rustler :)

Looks amazing. New to this but will try tonight !

Cool, let me know your experience!