Website updated to support Hive

in #hive4 years ago (edited)

Website has been updated to grab news and blog updates from Hive instead of Steem. Originally intended to do a quick update to fix the move to Hive, but doing one thing led to the other...

20200428225706_1920x1080_scrot.png
src

Previously the site used dsteem to fetch the content from the blockchain and the intention was to change to dhive. But, as it seemed wasteful to use a massive library only to fetch some posts, it was better to remove it altogether and instead send the queries to the blockchain nodes manually. Doing this made the size about 1MB smaller, which for a 4MB site is quite a lot.

Nice to see that Hive has A LOT more public nodes available compared to Steem with only 3-4 reliable nodes, two of which was Steemit controlled.

An old list of bugs with the site was found on Trello, these have all been fixed. For example, embedded videos in the news/blog feed are now working. All dependencies were updated, special attention to these great projects: Preact, Preact-cli and Bulma. Check them out!

20200428232425_1920x1080_scrot.png
src

The power of the blockchain as a source for site content was clear when working on the new site. Some bugs were due to specific cases of writing a blog post, for example putting a link in a parentheses would make the last ) be part of the url. Thanks to the blockchain it was possible to edit the post to fix the problem, instead of having to code a solution for this single post issue. This despite that the original post was created using Steemit or Busy, it was no issue updating the post using PeakD. Similar, some older posts created on Busy no longer had working images, but thanks to (again) PeakD, it was possible to edit and update the posts with new working images.

Layout and content of the site has had some changes. Removed all past projects and only list the projects that are currently active. Added functionality to the site to be able to keep content, but hide it from menus and pages. This allows for old links, such as this one about ZteemIO to work when you have the direct link, but will not show up on the site otherwise.

main.jpg
src

Speaking of ZteemIO. Decided to fork it and re-work it into an improved version called Hive Blocks. Got inspired by all the drama from the last few months and will spend a few weeks on making a version for Hive that is more of a game and less placeholders for development. Stay tuned for updates.

Repository for the site code can be found here. It is currently not up-to-date, intention is to update it tomorrow.


Game development using web technologies.

Spelmakare.se
Discord
GitHub

Try the latest development build of Purple & Eye
Try the latest development build of Hive Blocks

Sort:  

I've just shared this post. Please change the title to something more attractive and informative. Suggestion: "Spelmakare is my OPEN-SOURCE website to feature hive blogs. Try it now!"

Thanks!

This post is a better introduction to your project. It's why I decided to share this one instead of your newest post. But then again, all I have to do is share both, right? There we go.

I wanted to try the two games on the site but they didn't seem to be working. Was it something I've done wrong?

What url did you try to load for the games? Should be up, but take note they are under development so at times they might be broken or not loading at all.