jthingelstad
jthingelstad

I had wished for a micro.blog plugin for NIP-05 Verification and then I realized there are many things that use Well-Known URI including NIP-05 Verification and Lightning. Maybe a micro.blog plugin to create Well-Known endpoints would be better? Could have templates for services.

|
Embed
Progress spinner
jthingelstad
jthingelstad

@jthingelstad FYI @manton @mtt and other micro.blog plugin creators. If anyone created this (or just the original wish list) would be super cool. 😎🛠️

|
Embed
Progress spinner
manton
manton

@jthingelstad @Mtt I think you would need a separate plug-in for each .well-known endpoint. Which is probably best anyway if they are unrelated to each other.

|
Embed
Progress spinner
jthingelstad
jthingelstad

@manton yeah you are right. And once one exists it would be easy to fork for another use case.

|
Embed
Progress spinner
Mtt
Mtt

@jthingelstad I’ll look into it at the least.

|
Embed
Progress spinner
jthingelstad
jthingelstad

@Mtt 🤩

|
Embed
Progress spinner
Mtt
Mtt

@jthingelstad I toyed with making this plugin, and while it is possible…it's a little too complex for me to make and manage. However, in the process, I worked through an easy way for you to DIY it.

  1. Go to Design Settings in Micro.blog
  2. Click Edit custom themes
  3. Click New Plugin
  4. Name it "Nostr Verification" or anything else, leave Github field blank
  5. Click Add Plugin (you'll be taken back to the custom themes page)
  6. Click the plugin you just created
  7. Click new template
  8. Name it exactly this: static/.well-known/nostr.json
  9. Insert the below code with your changes
  10. Save it then add your domain to the verification settings in your Nostr app
{
    "names": {
        "your_preferred_name": "your_nostr_pub_key"
    }
}

Can get your pubkey here. I broke down the steps thoroughly so it looks harder than it is. Shouldn't take more than 5 mins. Let me know if any questions. There are also ways to accomplish it similarly using a Custom theme, but that could have negative implications elsewhere (such as with plugin/theme updates). @manton may have more to add.

|
Embed
Progress spinner
manton
manton

@Mtt @jthingelstad Thanks for writing that up! That's exactly what I did, but I put it in my custom theme because I already had it.

|
Embed
Progress spinner
rmdes
rmdes

@Mtt wow that's neat.. Will try this when I'm home!

|
Embed
Progress spinner
In reply to
Mtt
Mtt

@rmdes Good luck!

|
Embed
Progress spinner
jthingelstad
jthingelstad

Thank you!

|
Embed
Progress spinner
rmdes
rmdes

@Mtt Have tried it but, I cannot get verified on Nostr side, unclear if I have to use rmdes@micro.blog or rmdes@blog.rmendes.net, any hint?

|
Embed
Progress spinner
Mtt
Mtt

@rmdes In your case, it should be rmdes@blog.rmendes.net. I'm not sure how picky it is about formatting, but here's a direct link to mine as an example. Notice how it isn't all on one line like yours. Micro.blog removed the line breaks when I posted the steps.

If you wanted to be verified at your root domain instead, you could follow similar steps with whoever is hosting that. But it should work through Micro.blog with the subdomain.

|
Embed
Progress spinner
rmdes
rmdes

@Mtt I copied your formatting and input my values now, but it's still not being picked up on the nostr side, blog.rmendes.net is really the subdomain used by micro.blog, did you do anything else at the DNS level ?

|
Embed
Progress spinner
Mtt
Mtt

@rmdes I did not. A few others have had good luck with it. You’re doing the part on the Nostr side right?

Once I added it on the Nostr side, it took about an hour to show as verified.

|
Embed
Progress spinner
rmdes
rmdes

@Mtt correct, I just can't have it working, for now have set it aside.. Not sure what it could be or how to debug why Nostr can't see it properly :/

|
Embed
Progress spinner
jthingelstad
jthingelstad

@Mtt thank you for these detailed directions! I got a few minutes this morning to do it and it worked great!

|
Embed
Progress spinner