Glasnost v0.5 released: categories and tags whitelist/blacklist - publish your Steem blog on your own domain

in steem •  2 years ago


Glasnost now comes with a simple way to include or remove posts from your Steem blog on your own domain with a tags whitelist/blacklist.

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

  • New config rules: tags_whitelist and tags_blacklist
  • Ribbon labels for post categories on index and tags pages (should I keep them?)
  • Proper testing setup
  • Various visual enhancements, bugfixes and improvements

Glasnost alpha v0.5 demo for @ontofractal

Glasnost repo

Glasnost v0.5 on Docker hub

Example configuration JSON file

{
  "blog_author": "ontofractal",
  "source_blockchain": "steem",
  "about_blog_permlink": "ann-introducing-glasnost-alpha-open-source-blog-and-app-server-for-steem-golos-blockchains",
  "tags_whitelist": [],
  "tags_blacklist": [
    "statistics",
    "stats"
  ]
}

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.

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.

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

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

I will try Glasnost. Thank you.

·

Cool :) Let me know if you have any feedback or requests

i really do not understand the terms you used here. however, i'll take my time to read it again. but i have a question, why do very nice posts get very few votes? I did a test post and got so much votes, now I've taken my time to write great piece,I'm not getting any vote. This is discouraging.

·

you will get upvotes and amazing feedback over time. i think timing of when you post matters too.

·
·

Thanks for your reply. what's the best time to post? in GMT please

·
·
·

It's a fairly moving target, and depends on your number of followers and audience somewhat, but morning on the US East Coast is generally a good time. So, 12:00:00 - 12:30:00 GMT would be my guess. But again, it really depends on your audience, and how long you've been around, how engaged you are, etc. Good luck!

·
·
·
·

This will be a bit tough for newbies but hopefully, it will be simplified. Thank you for your non-stop effort. I have been having one general question. in general is it allowed to use exerpts from people steemit blogs in like entire facebook posts especially only posts that explains steemit and highlight its best features and teaches how to use it, without links and perhaps credit to the owner in something like steemitdotcom/@username to create more awareness for steemit and favoring what facebook prefers for their visibility etc? like facebook allows like many more words for a status update and sometimes instead of linking out of facebook as many facebook users wont link out, why not just put the text from posts. i dont know too much about crypto so is it allowed to use other steemit posts about steemit for something like that?

·

That depends on the jurisdiction, so I'm really not sure. Usually reasonable quotes are covered under "fair use" rules.

I'll be looking for ways to make Glasnost deployment as simple as possible but not more.

Good job! Thank you !

Is there something broken about Steempunks.com/charts today? Aside from the very strange numbers for the last day, comments and posts numbers disagree wildly with the charts on steemdata for the 23rd.

·

@demotruk, yeah, it's a Steempunks data ingestion bug related to the HF 17 node upgrade. Should be fixed soon, thanks for the report.

Great work! I'll keep following this project, and try it out when I can. Cheers!

·

Cool, let me know if you have any suggestions.

I just saw this post and for sure will try it