Bridging between Fediverse and Hive (pt. 2)

in #fediverse7 months ago

It's been almost three months since my previous post, and I want to update you on the status of Hive | Fediverse bridge. The vision is to add much more bi-directional functionality to the bridge such that Hive content can be discovered easily from all corners of the fediverse.

Can I see the Bridge?

Today, there is some limited integration that allows Mastodon users to look up Hive profiles. See the screenshot below from https://privex.social/@[email protected] (Privex's Mastodon instance).

image.png

Today, you can go to any Mastodon instance and search for any Hive account that is registered on hiveposh.com for Twitter or Reddit connection. All you have to do is type in the Hive account name followed by @hiveposh.com.

What's happening under the hood? When a Mastodon user looks up a @hiveposh.com account, a web finger request is sent to hiveposh.com. HivePosh responds to these finger requests by saying, yes I have an account with that address. Mastodon then sends another request asking for more details about the account, HivePosh responds with: here is everything you need to know about the account.

As you can see from the screenshot, HivePosh relays the following profile information:

  • account display name
  • account description (#HIVE tag appended)
  • account creation date
  • account URL (using PeakD as a placeholder, can be customizable later)
  • account website (from Hive profile metadata)
  • number of posts
  • number of followers
  • number following
  • profile photo URL
  • profile banner photo URL

What's Next?

While bridging Hive profiles is a neat trick and a good start for the bridge, it is not very useful. What would be 100 times more useful is for Hive content to be broadcast into the Fediverse.

There are a few new pieces needed to make content broadcasting possible. Mastodon has a limitation in that it does not fetch old posts. New posts have to be pushed to the instance from another instance using the activityPub protocol.

First, the bridge running on hiveposh.com needs to store follower lists. Each registered Hive-ian would have one of these lists. When a fediversian "follows" a Hive-ian, the new follower is added to their list.

Second, after the bridge knows who is following whom, it can push content to the followers' inboxes. Then, fediversians will see Hive content in their feeds. Replies to those posts won't make their way back to Hive yet, but discussion threads can happen locally in the fediverse.

The logical next step is to get these two pieces in place to enable one-way content bridging. Afterward, the bridge should be improved to relay replies in the other direction back to Hive.

Thoughts?



PIZZA.WITNESS small.png

fediverse+hive.png

Sort:  

This is cool progress. I found myself.

image.png

Linking into the Fediverse expands our potential audience massively. Great work!

Yes! Thanks for trying it out. It works!

Interesting reading here, marking for follow up. #EdwinReadMe

Anything that raises awareness of the chain.
This will be a good thing
!DHEDGE

That's nice. Keep up the good work! 👍 I like both, #Mastodon and #HIVE a lot and think that there's a bright future ahead for both projects.

Interestingly enough, very few people in the #Fediverse seem to like HIVE, and many equate it with scam or fraud. A lot of educational work still remains to be done in that regard.

I observed the anyi-crypto sentiment. Each instance has the option to defederate / cut themselves off from another instance.

I think there are mutual benefits to be gained from joining the networks.

It can't find me :(

Are you registered on HivePosh.com?

Yes of course

I think you need to log in to Mastodon before using the search.

Your profile is there:

IMG_4578.jpeg

Hmm, but what sense does it make then that I have to be logged in?

good work as always bro!

Super important that we keep expanding by building bridges and not isolate ourselves here exclusively to hive. Hopefully we see more apps interacting with the fediverse in the future in different ways.

I’m a have to find myself in the fediverse though! 🙏🏾

!PIZZA

1


This post has been selected for upvote from our token accounts by @simplegame! Based on your tags you received upvotes from the following account(s):

- @dhedge.bonus

@simplegame has 7 vote calls left today.

Hold 10 or more DHEDGE to unlock daily dividends and gain access to upvote rounds on your posts from @dhedge. Hold 100 or more DHEDGE to unlock thread votes. Calling in our curation accounts currently has a minimum holding requirement of 100 DHEDGE. The more DHEDGE you hold, the higher upvote you can call in. Buy DHEDGE on Tribaldex or earn some daily by joining one of our many delegation pools at app.dhedge.cc.

PIZZA!

$PIZZA slices delivered:
@bigtakosensei(2/5) tipped @hivetrending

Congratulations @hivetrending! You have completed the following achievement on the Hive blockchain And have been rewarded with New badge(s)

You made more than 1500 comments.
Your next target is to reach 2000 comments.

You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

To support your work, I also upvoted your post!

Check out our last posts:

Our Hive Power Delegations to the October PUM Winners
Feedback from the November Hive Power Up Day
Hive Power Up Month Challenge - October 2023 Winners List

It's fun watching you make this, and the previews I get are even better :)

It's very helpful to bounce ideas and questions off of someone. Thank you for that.

Is it really necessary to add Posh as a dependency? Isn't it simple enough to get the info you need directly from the main Hive servers?

No, it is not strictly necessary to have Posh as a dependency. You could use any domain.

Posh made sense for the initial setup because it already connects Web2 platforms and Hive.

Oh ok, I don't know anything about the Posh API - but just figured going direct to Hive would be the default approach since it's simple.