You Asked, I Coded: A hive.micro Community Update

Hey everyone,

It's been great to see people starting to use hive.micro. Based on some initial feedback and my own to-do list, I've just pushed a significant update that adds two highly-requested features and a few quality-of-life improvements.

Image Uploads via Keychain

One of the most important features for any microblogging platform is the ability to easily share images. I've now integrated an image uploader that uses images.hive.blog as its backend.

upload.png

When you click the new "Add Image" button, a modal appears allowing you to select a file. To upload, the system uses Hive Keychain to create a signature, providing a secure way to authenticate with the image hosting service. Once uploaded, the Markdown for the image is automatically inserted into your post. I've also added drag-and-drop support directly onto the text area for a faster workflow.

YouTube Link Previews

Bare URLs in a post can be a bit sterile. To make things more engaging, hive.micro will now automatically detect YouTube links and render a clickable preview thumbnail in the feed.

youtube.png

This was a fun feature to implement. On the backend, I wrote a helper that parses URLs to find a valid YouTube video ID from various link formats (e.g., youtube.com, youtu.be, /shorts/, /embed/). If a valid ID is found, the server wraps the link in custom HTML and CSS to create the preview. A small bit of JavaScript then handles the "click-to-play" functionality, replacing the thumbnail with the embedded video player when you click on it. This feature can be enabled or disabled by the instance operator.

Other Small Changes

I've also pushed a few other small but important changes based on community feedback:

  • The "New Post" widget now appears at the top of the main feed, so you don't have to navigate to a separate page to share something. (Thanks, @memess !)
  • Replies now show a snippet of the post you're replying to, instead of just the generic "in reply to parent." (I think this was a request from everyone.)
  • Images posted in the feed will now properly stay within the bounds of the post box. (Thanks, @stresskiller , for breaking it!)

Shoutout to @snook and the rest of the people from #pimp for testing it this morning.

As always,
Michael Garcia a.k.a. TheCrazyGM

0.17773484 BEE
6 comments

The original version was looking pretty nice, so I look forward to checking this update out. I really like how simple it is. It reminds me of a Linux forum. Great work, my friend! 😁🙏💚✨🤙

0.00022180 BEE

I LOVE this App? Dapp? IDK what you call it but it's easy and easy on the eyes :D

Thanks for the great changes!

0.00021241 BEE
Congratulations you have been curated and upvoted by @ecency

My pleasure to assist with a sledgehammer 😜

0.00021212 BEE

PIZZA!

$PIZZA slices delivered:
@ecoinstant(1/20) tipped @thecrazygm

Come get MOONed!

0.00020939 BEE

Lookingforward seeing this app used more !

0.00020207 BEE

I love what you are doing with HIVE Micro! I applied for a listing on Keychain Mobile Wallet!

!PAKX
!PIMP
!PIZZA

0.00019942 BEE

View or trade PAKX tokens.

@ecoinstant, PAKX has voted the post by @thecrazygm. (1/2 calls)



Use !PAKX command if you hold enough balance to call for a @pakx vote on worthy posts! More details available on PAKX Blog.

0.00021369 BEE