Hivemind API Extension, Community Curated Content and More

in About PeakD7 months ago (edited)
Authored by @asgarth

A new release of peakd.com is now available. Keep reading to discover the new features and check the full list of improvements ;)

The new release is now live at https://peakd.com

release_cover_20201124.jpg

1. Hivemind API Extensions

Until the last HF we have used our own Hivemind instance to power some of the features available on peakd.com. This was required because some features as Favorites, Lists, Badges needs to access specific data not available on the standard API nodes.

Updating our own Hivemind database to the latest version was definitely possible (with a bit more effort on us than what used to be before the HF), but we decided to do a change in how we provide the required data for those features. So instead of updating the node we create a plugin (or extension) that can be installed on Hivemind servers to provide those additional APIs.

peakd-hivemind-plugin.png

Similar to what we have done with Hive Node Beacon a few weeks ago this plugin is available as an open source project on GitHub: https://github.com/peak-projects/peakd-hivemind-plugin.

Also having the plugin available as an independent open source project make it possible for node operators to run it and provide the additional features in a more decentralized way. A big thank you to @arcange and @emrebeyler for their help in setting up the first 2 nodes.

2. New Curated Contents page for Communities

Communities can now configure a curator account that will enable a new tab/page to showcase a curated content list.

Curated Content list for https://peakd.com/c/hive-193212/trail

To configure the curator account just set the account name in the community settings:

image.png

3. Show Top Viewed Daily/Weekly awards on posts

We started tracking views a few weeks ago, and we are constantly trying to improve on this. With this release we are starting an experimental tracking of the top daily/weekly viewed posts on peakd.com.

You can see 2 new awards on posts ranked as 'top of the day' or 'top of the week'.

image.png

4. Mixcloud embeds and Improved Spotify support

With this release it's possible to embed Mixcloud playlists with a simple link: https://www.mixcloud.com/MagneticMagazine/ambient-meditations-vol-21-anane

And also support for Spotify as been improved and can now be embedded with just the link: https://open.spotify.com/playlist/5UV4uC6N0lZ7q9ui3yIbqn?si=SGsfW4mYRGa2nA91e-cU1A

The result should be similar to this:

5. Add Rising Star to the Games section in Wallet

Rising Star is now included in the wallet 'Games' section.

image.png

Check our the game using this link: https://risingstargame.com/

6. Some minor improvements and bug fixes

As always some minor improvements, updates and fixes across the website. You can check the full release notes here: https://peakd.com/about/changelog.

# Improvements and Fixes
------------------------------

[update] Improve layout and performance for Top Views page
[update] Don't load comments by default for user not logged in
[update] Show a button to publish a new post when an user blog is empty
[update] Mark notification as read on all browser tabs after casting the transaction
[update] Rework usage of 'get_account_history' API call to better handle the new behavior
[fix] Fix 'upcoming' indicator in Proposals page

Support the @peakd project

Now is probably a nice time to remind you of the ways you can support the development of @peakd.

Selection_298.png

We have a proposal on the Decentralized Hive Fund. You can review the proposal here.
If you agree to the proposal and you think the points mentioned add value to the Hive Blockchain consider supporting it using the above links or directly with this link.


We also run a witness server to help produce the blocks for the Hive Blockchain. You can vote for our witness so we are in a position to process more of them.

Vote on the witness page: https://peakd.com/witnesses

  • Using Keychain: You just have to click and approve the transaction
  • Using HiveSigner: You'll need access to confirm the transaction with your Active Key at least

The PeakD Team

About us: https://peakd.com/about
Join us on Discord: https://discord.gg/Fy3bca5

Sort:  

Ong the community curation page is AMAZING!!!!! Thank you so so much!!!

I have always love your platform and support your witness, Peakd interface really makes a difference when it comes to use Hive, there are similar but when it comes to details and new features I think Peakd is always upfront, keep up the great job

Thank you, thank you, thank you, the private feeds are back!!! it was getting to be a chore to go to the full list and look that way.

Sorry for the delay ...also would be nice if you can share some feedback. Are the feeds loading fast enough for you?
I had to do some changes for this new solution and would like to know how it is compared to the previous one :)

Perfect. As soon as I saw the post here the first thing I did was to go and check my feeds, especially my delegated to feed.

All the new people I had added over the last month and a half were there, no delay in loading at all and scrolling down and voting was no issue at all. It worked flawlessly for me.

It actually seemed to be faster, there really was no delay at all, but that could b because of the number of people using them, I will let you know if I run into any glitches at all using them, i do use them pretty much on a daily basis.

It was my pleasure to help you set up your Hivemind API Extensions. Great collaboration!

That’s cool I will implement this community extra in the ones we have , gonna tell right now

Awesome! Thanks for the mixcloud support and Spotify updates!

I knew that was your moaning responsible for that

Lol! Whatever made you think that?!

Does the Hivemind plugin create additional indexing that takes up additional disk space/RAM, or just adds some extra endpoints that run SQL queries? I'm looking into running it on my newly synced Hivemind node.

Nope, it's just a small Node.js app that execute queries and return the results. I did my best to use what is already available in the database. Actually it is recommended to run it with a dedicated read-only user.

Great, we are proud to be among the first to use some of these features!

@asgarth your take on adding some Curated Content on the side of every post? I know that the number of people that get to the site through search is not really big, but showing them some more content could help to get them to stay a bit longer.
It was a problem before because only thing to sort was global trending, now there are more better options.

I like the idea ...maybe it's worth moving the discussion to the #brainstorm channel of our Discord server. I would like to know what you (and others) would like to see.
Maybe more posts by the same authors? Or in the same community? ...

well my thought was maybe 3-4 posts from the same author and 3-4 from the community. I was thinking of community trending but now that there is Curated Content on communities that would be the best choice.
The number of posts and placement would be made on how it would look.

I love you, guys! 👏
Thanks for the continuous enhancements! 🙏

Let us know your experience and for your users what they think

Such an amazing update. The community curator feature is slick. The view awards is another great add.

Spotify integration is a game changer for me, I was really wanting this for a long time, but is it only playlists? & not albums and individual songs?

I like this new look as well. The views page looks even better now.

A15A48CE183843AEA3738339ED9787A0.jpeg

& not albums and individual songs?

Can you share some sample links?

Single song: https://open.spotify.com/track/2bq9oLee624p7TksXIBKbX?si=liCkyhWOS0uYCQsDt00eLg

Album: https://open.spotify.com/album/34JTIsuhdVBfblA9bZyaeP?si=9U5iKV5NTWG4Uhq3V2J0JQ

Another question...
Will every post eventually have a visible view counter? Or is that a bigger chore than it seems like to a non dev such as myself?

Thanks for the links. I'll check and let you know.

Also all posts have a view counter, just we hide the counter if the number is under a threshold.

No problem.

And yes I knew this from before. I just have never seen the view count on any of my posts. Wasn't sure what the minimum threshold is.

@daltano @asgarth

You can already use the Desktop version of Spotify to get the "embed link" on a specific song. I did a PeakD guide on how to do that here - hope it helps, should still work?

https://peakd.com/hive-174578/@nickyhavey/bluffer-s-guide-to-hive-using-peakd-to-create-a-post-and-embed-video-and-music-players

Oooh I see. That is super handy.
I just haven't been using my MacBook Pro that much here lately and find myself more often than not doing all of my blogging from my iPhone.
That is great to know I can embed from my computer though. Thanks!

Damn man, I don't know how you can blog on the phone, my eyes go fuzzy after a while! I think you can share the link as well from the Spotify app in your phone too? Might be worth a shot!

Mixcloud embeds are a massive improvement for me! 😍

You guys make the HIVE experience awesome!👍

Thank you for the great work that you guys are doing.
Please know that it is appreciated!

Great!
What is unfortunately still annoying is, after an upvote one can´t see the reward updated/recalculated. Only if you refresh the page after some seconds. This was no problem before the last HF, so why is it now?
By the way, any chance the alert symbol disappears automatically if the notifications are viewed? This was also in the past available, so there must be a way to fix it.

This was no problem before the last HF, so why is it now?

This is exactly the reason :) ...the HF changed how some things works and now to have an updated payout some seconds are required. This is why we cannot show the new payout right away

By the way, any chance the alert symbol disappears automatically if the notifications are viewed?

Now marking notification as read requires a transaction to be casted, we can make it automatic, but not sure all users will be happy about this.

Wasn´t the HF done to improve things?
Just a rhetorical question, not really expecting an answer :(

Some things moved from the first layer to the second layer of the chain software. This is supposed to be better in the long run but some things are still to be improved in the coming weeks (or months)

There are only tradeoffs in crypto.

Great job!!!

Great work

I have a question if you don't mind, how does PeakD make money? There are no ads and hive is burned for promotion.

We show how much hive was burned but only half the promotion payment is burned. For example to promote on a random topic page someone can pay 5 hive and 2.5 would be burned and we would take 2.5

But there are many other revenue streams... even for example brave browser is a revenue stream, people setting us as a beneficiary is a small stream...

Obviously none of this is great but the idea is that once we start scaling up to real social media numbers then it becomes worth it.

Yeah definitely and I was also thinking since in the future I se each community having its own website, you could charge communities a fee or subscription for appearing on PeakD, which will bring them a lot of users.

Obviously this is far in the future but I thought it could be a nice model.

And giving communities the ability to do promotions or ads... some communities could grow really really large

I remember hearing about this and you selected a few communities I believe for this. Are you planning on opening this up to more communities? Looking good!

Yeah any community that wants to and has some traffic should talk to us we will work with them... its available anytime

Great thanks Jarvie.

Just reading up on all the improvements here. Amazing. I had a question though (sorry, new..) Is Peakd also open source, or just the hivemind plugin?

Peakd is a community where I can share my work! It is a way of saying all my memories take on value!

I'm just wondering if a translation feature could somehow be implemented. There are often posts in e.g. Spanish which many English readers can't read (or vice versa). Would something like that be possible?

Perhaps when we pull the trigger on translation of the site we'll also look into what it takes to do what you're asking as well.

I agree that translation and perhaps a way to tag posts by language and filter might be really helpful and less distracting for everyone. It can be hard to sort-scan a big page with many languages and varying levels of post quality.