create account

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

View this thread on: hive.blogpeakd.comecency.com
· @thecrazygm ·
$12.03
You Asked, I Coded: A hive.micro Community Update
Hey everyone,

It's been great to see people starting to use [hive.micro](https://micro.crypto-dreamr.com). 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](https://files.peakd.com/file/peakd-hive/thecrazygm/23uRLJbjdAW5q7zHrD73yj45Hve3397V3sQQ6L99zqZ5EfUC5squHhHDW5Yrqq8TT2xS8.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](https://files.peakd.com/file/peakd-hive/thecrazygm/48Vk9TwLgiuGTTFy5suMReEJ9j739TizXYveJyJwcyhb5me7BwRA8btK1f3iTuNA55.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
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 273 others
properties (23)
authorthecrazygm
permlinkyou-asked-i-coded-a-hivemicro-community-update
categoryhive-186392
json_metadata{"app":"peakd/2025.9.1","format":"markdown","tags":["dev","micro","python","archon","tribes","pimp","proofofbrain"],"users":["memess","stresskiller","snook"],"image":["https://files.peakd.com/file/peakd-hive/thecrazygm/23uRLJbjdAW5q7zHrD73yj45Hve3397V3sQQ6L99zqZ5EfUC5squHhHDW5Yrqq8TT2xS8.png","https://files.peakd.com/file/peakd-hive/thecrazygm/48Vk9TwLgiuGTTFy5suMReEJ9j739TizXYveJyJwcyhb5me7BwRA8btK1f3iTuNA55.png"]}
created2025-09-10 18:46:21
last_update2025-09-10 18:46:21
depth0
children7
last_payout1969-12-31 23:59:59
cashout_time2025-09-17 18:46:21
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value12.028 HBD
promoted0.000 HBD
body_length2,596
author_reputation132,454,735,002,211
root_title"You Asked, I Coded: A hive.micro Community Update"
beneficiaries
0.
accountthecrazygm.bank
weight1,500
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id145,692,658
net_rshares40,390,851,964,288
author_curate_reward""
vote details (337)
@ecoinstant ·
$0.06
I love what you are doing with HIVE Micro!  I applied for a listing on Keychain Mobile Wallet!

!PAKX
!PIMP
!PIZZA
👍  ,
properties (23)
authorecoinstant
permlinkre-thecrazygm-t2e6t0
categoryhive-186392
json_metadata{"tags":["hive-186392"],"app":"peakd/2025.9.1","image":[],"users":[]}
created2025-09-10 21:39:06
last_update2025-09-10 21:39:06
depth1
children1
last_payout1969-12-31 23:59:59
cashout_time2025-09-17 21:39:06
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.063 HBD
promoted0.000 HBD
body_length114
author_reputation887,064,691,418,179
root_title"You Asked, I Coded: A hive.micro Community Update"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id145,695,195
net_rshares215,857,726,431
author_curate_reward""
vote details (2)
@pakx ·
$0.03
<center><table><tr></tr><tr><td><center><img src='https://files.peakd.com/file/peakd-hive/pakx/PakX-logo-transparent.png'><p><sup><a href='https://hive-engine.com/?p=market&t=PAKX'>View or trade </a> <code>PAKX</code> tokens.</sup></p></center></td><td><center>@ecoinstant, PAKX has voted the post by @thecrazygm. (1/2 calls)</p><br><br><p>Use !PAKX command if you hold enough balance to call for a @pakx vote on worthy posts! More details available on <a href='/@pakx'>PAKX Blog</a>.</p></center></td></tr></table></center>
👍  
properties (23)
authorpakx
permlinkre-ecoinstant-1757540375
categoryhive-186392
json_metadata"{"tags": ["pakx", "hivepakistan"], "app": "HiveDiscoMod"}"
created2025-09-10 21:39:33
last_update2025-09-10 21:39:33
depth2
children0
last_payout1969-12-31 23:59:59
cashout_time2025-09-17 21:39:33
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.026 HBD
promoted0.000 HBD
body_length524
author_reputation234,586,748,640
root_title"You Asked, I Coded: A hive.micro Community Update"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id145,695,202
net_rshares91,513,622,786
author_curate_reward""
vote details (1)
@memess ·
$0.02
Lookingforward seeing this app used more ! 
👍  
👎  
properties (23)
authormemess
permlinkre-thecrazygm-2025911t11750931z
categoryhive-186392
json_metadata{"tags":["dev","micro","python","archon","tribes","pimp","proofofbrain"],"app":"ecency/4.2.3-vision","format":"markdown+html"}
created2025-09-11 09:07:51
last_update2025-09-11 09:07:51
depth1
children0
last_payout1969-12-31 23:59:59
cashout_time2025-09-18 09:07:51
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.024 HBD
promoted0.000 HBD
body_length43
author_reputation25,790,139,087,204
root_title"You Asked, I Coded: A hive.micro Community Update"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id145,702,798
net_rshares84,579,504,732
author_curate_reward""
vote details (2)
@pizzabot ·
$0.03
<center>PIZZA!


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


<sub>Come get [MOON](https://moon.hive.pizza)ed!</sub></center>
👍  
properties (23)
authorpizzabot
permlinkre-you-asked-i-coded-a-hivemicro-community-update-20250910t213927z
categoryhive-186392
json_metadata"{"app": "pizzabot"}"
created2025-09-10 21:39:27
last_update2025-09-10 21:39:27
depth1
children0
last_payout1969-12-31 23:59:59
cashout_time2025-09-17 21:39:27
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.026 HBD
promoted0.000 HBD
body_length156
author_reputation7,845,100,619,765
root_title"You Asked, I Coded: A hive.micro Community Update"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id145,695,201
net_rshares89,682,350,330
author_curate_reward""
vote details (1)
@snook ·
$0.02
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!
👍  
properties (23)
authorsnook
permlinkt2f4x6
categoryhive-186392
json_metadata{"app":"hiveblog/0.1"}
created2025-09-11 09:55:54
last_update2025-09-11 09:55:54
depth1
children0
last_payout1969-12-31 23:59:59
cashout_time2025-09-18 09:55:54
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.024 HBD
promoted0.000 HBD
body_length112
author_reputation378,975,780,246,369
root_title"You Asked, I Coded: A hive.micro Community Update"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id145,703,398
net_rshares84,493,317,015
author_curate_reward""
vote details (1)
@stresskiller ·
$0.03
|	|	Congratulations you have been curated and upvoted by @ecency 	|	|
|	------------	|	------------	|	------------	|
|	     |	     ![](https://images.ecency.com/DQmbwXxuN78vzFammmxgoUQ2Z4bMsD3jC7574wRy3C1aCJz/monochrome_camera003.png)

My pleasure to assist with a sledgehammer 😜
👍  
properties (23)
authorstresskiller
permlinkre-thecrazygm-2025910t21434688z
categoryhive-186392
json_metadata{"tags":["dev","micro","python","archon","tribes","pimp","proofofbrain"],"app":"ecency/4.2.3-vision","format":"markdown+html"}
created2025-09-10 19:04:39
last_update2025-09-10 19:04:39
depth1
children0
last_payout1969-12-31 23:59:59
cashout_time2025-09-17 19:04:39
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.026 HBD
promoted0.000 HBD
body_length279
author_reputation123,229,020,372,538
root_title"You Asked, I Coded: A hive.micro Community Update"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id145,692,969
net_rshares91,744,923,568
author_curate_reward""
vote details (1)
@tydynrain ·
$0.03
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! 😁🙏💚✨🤙 
👍  ,
properties (23)
authortydynrain
permlinkre-thecrazygm-2025910t222438124z
categoryhive-186392
json_metadata{"tags":["dev","micro","python","archon","tribes","pimp","proofofbrain"],"app":"ecency/4.2.3-vision","format":"markdown+html"}
created2025-09-11 08:24:39
last_update2025-09-11 08:24:39
depth1
children0
last_payout1969-12-31 23:59:59
cashout_time2025-09-18 08:24:39
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.026 HBD
promoted0.000 HBD
body_length186
author_reputation215,038,073,971,241
root_title"You Asked, I Coded: A hive.micro Community Update"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id145,702,265
net_rshares91,502,623,769
author_curate_reward""
vote details (2)