HiveLink - Open Source Hive Frontend Selector
HiveLink is a frontend selector which lets you select your favourite frontend and include a frontend-agnostic way to include posts and user profiles.
If you already have an "always use" frontend, it'll take you straight there, but you can always reset your preference on the Hive Link Homepage, otherwise it'll ask you to select and you can check the box to keep it as your default and not ask you again.
Links
Profiles
https://hivel.ink/@cadawg - Will take you to that user's profile on the selected frontend
Posts
https://hivel.ink/@cadawg/introducing-hivelink
or
https://hivel.ink/topic/@cadawg/introducing-hivelink
Extra Features
If you want the user to select a platform, even if they have a default, you can add ?force_select to the URL like https://hivel.ink/@cadawg?force_select
Reset your frontend choice
Click the one button and it'll forget your frontend selection so you can select a new one next time or every time, your choice.
Thanks for reading, hope you find it useful.
~ CA
Very useful, do we have to edit the link each time we want to make use of it. Can it be programmed for users to be able to make a choice of frontend any time they click on a blog?
I have considered this too, I suppose the best solution would be for frontends to implement it and allow their users to select their global choice via the website, but I could make a form or something to make it easier in the future too.
Edit: I'd probably need to add more frontends based on tags too, so that it would be compatible with LeoFinance and other tribes.
Yea, it would be well appreciated. Why not introduce it to different front ends so they can work with it
Would be a good idea, hopefully they'll notice it but if not, I might try and get them on board.
Would be a good idea, hopefully they'll notice it but if not, I might try and get them on board.
That's good, looking forward to an update on it. I use more than one front end every time, making it work well will be more used friendly
Yes this is 🔥! Im new to this space, how do I implement and use it?
Why choose PHP? Other than that, this is a great project and one that I think people will start to use(I know I will).
PHP "Just Works™" in that it comes with every web server, so instead of another process that could screw up and will consistently use resources, why not just let the web server handle it by itself
Great work on pumping that out with a quickness!
Pamp eet!
Pamp eet all!
Even personal.community :D
Does this have custom tribe links if the post is in a tribe?
No... but you could add it 🥺
I have no PHP experience nor any reason to learn PHP.
Awesome project! I think we all needed this more than we realized.
Yeah, I hope the community find it useful.
Very nice
Posted Using LeoFinance Beta
Thanks
Very interesting functionality!
Thanks!
Yeeeea I said someone needed to do this a while ago. Glad you finally did! I’ll be toggling between naturalmedicine, Leo, peakd and 3speak 😃
Yeah, I still need to actually load posts to work out what tribes they belong to, so it might not be so useful for switching between them, but I hope it still helps you.
Great job!!!
I liked it so much that I already implemented it on votify. 🙃
!HYPNO !WINE
Nice, that site reminds me of my own tool 😉.
Thanks for kicking off the adoption 😁
Hey @cadawg, here is your HYPNO ;)
great job!
Thanks
This could be very useful
Thanks. Glad you think that!
I'm not sure I understand the purpose? hivel.ink isn't particularly memorable, then when I remember it all it ever does is bring me back to this post?
Ok I made it work with a users name, but why am I going to remember hivel.ink/@saffisara more then hive.blog/@saffisara or peakd.com/@saffisara ?
Evidently as everyone loves this post I'm missing something, but I just can't work out what???
I was going into it with a similar thought to you (in some regards), I intend it to be a way to link to something, letting a user choose their platform. Ideally it'll be implemented by developers so users will never need to write the link. One developer (dannychain) has already implemented it Here to provide a platform-agnostic link to my hive engine witnesses' profile, letting the user decide.
I hope that has cleared it up for you, and I'd be happy to hear any feedback you have!
It makes more sense now thank you, it still feels a bit like hard work for a user to change any link they share from hive.blog to hivel.ink but there is an obvious big advantage for app developers
Yeah, for sure. Maybe I should've run it at peakxd.com :D
I'm lobbying friday (it's like gina) devs to include it for their post links, and I'm already using it for post links when sharing stuff in chats. I'm usually on either ecency or peakd and my links would be to one of those. Users on a platform other than what I link to ended up:
a) editing the link to go to their platform of choice
b) on a platform they don't use
c) accidentally interacting on the wrong alt (some ppl use various platforms to keep alts separate)
d) get the idea that I'm promoting a particular platform
With hivelink (hivel.ink), I can just replace the front part of a url and those problems all go away. Super simple tool that solves a few problems when presenting links to Hive posts
I think that explains it more, so the idea is share a link starting with hivel.ink instead of peakd.com and the person who uses the link can choose their front end.
great idea. looking good. 🤘
Teşekkürler Emre!
We're getting there. Another nice addition for quality of life. Thank you!
No problem!
Using relative links on the Hive blockchain will link to the same front end the user currently is on, I think this is almost always preferable. This tool is appropriate for linking to Hive sites from outside Hive, though.
Yeah, that's a very good point, although I do know one exception to that rule where the frontend uses ?hive= to show a profile but yes that is probably better. Yes, it's already been picked up for outside-of-frontend use :D
I checked out https://personal.community. It doesn't handle this post url, if you change the website domain in the address bar it gives a 404. Have you considered adding www.steemfiles.com?
Both kinds of personal community links work for me,
https://personal.community/?post=cadawg/introducing-hivelink
and
https://personal.community/?hive=cadawg
which I generated with hivelink, so I'm not sure how it's broken?
I'll consider SteemFiles when I get around to updating it, but you're always welcome to add it to the repository yourself and I'll pull it once it's done.
Actually in light of what you have shown me, I see that the hive.link software well but the way personal.community works breaks certain things.
How personal.community handles URLs is not the same as the URLs are handled elsewhere in the hive ecosystem. If you take this post we have
Between any of these above sites relative links will work perfectly. You can have a relative link like this one which will open the parent of this comment anywhere but at the same site except for https://personal.community. I wonder whether @sn0n uses Apache for his work. I'd have a configuration file to share.
I use GitHub static site hosting.
You could use apache on a VPS to use the URLs like on hive.blog by using lines like this.
RewriteEngine on RewriteRule "(^/(files/|hot/|created/|trending/|payout/|payout_comments/|muted/|ticker(.html)?))|(.*\@.*)" "/build/index.html?query=$0" [B] RewriteCond /var/www/steemfiles/test/www/build/%{REQUEST_URI} -F RewriteRule ^(.+) /build/$1 [R]
The downsides are: Running a VPS is not free.https://www.privex.io.. It looks like the option you are using is free.
What's your favorite editor?
He's hosting it on GitHub pages, so every link must point to index.html as they have no rewrites and that's why he uses the format he does. It has benefits in the fact that it can be hosted on any file server but the drawback that it doesn't conform to the "standard" so much, I still think it is a good tool to have and benefits the decentralisation of the platform
Illuminating.
This looks handy, gonna have to check it out.!
Thonks
Congratulations @cadawg! You received a personal badge!
Wait until the end of Power Up Day to find out the size of your Power-Bee.
May the Hive Power be with you!
You can view your badges on your board and compare yourself to others in the Ranking
Check out the last post from @hivebuzz:
Congratulations @cadawg! You received a personal badge!
Participate in the next Power Up Day and try to power-up more HIVE to get a bigger Power-Bee.
May the Hive Power be with you!
You can view your badges on your board and compare yourself to others in the Ranking
Check out the last post from @hivebuzz:
@rishi556 just let me know about this in the Mattermost chat. Very nice! Great URL.
A couple bits of feedback: I didn't check the box to save my preference but it seems like it got saved anyway. Then I went to the home page and hit the button to clear favorite frontend and there isn't any visual feedback to confirm I've cleared the preference.
Using Firefox
Thanks, currently quite busy with Uni assessments but when I get a mo I'll take a look at it!
Are you planing to do a chrome addon? It could be nice 🤗
great work!!
Interesting idea, although I built it as a website so that it'd be usable in any browser, so I have no plans to turn it into an extension.