GithubHelp home page GithubHelp logo

nip05-github's Introduction

nip05-github

a base for setting up nip 05 with github

Follow these steps to get NIP-05 verification on nostr with GitHub Pages

Prerequisites

  • A GitHub account

Fork github repo

  • Go to https://github.com/metasikander/nip05-github and create a fork of it with the "fork"-button in the top right corner
  • Select a name and press the green "create fork" button.
  • Setup github pages from repo.
    • Go into Settings -> Pages
    • Select branch ("main") and root folder (/root)
    • Save
    • Reload page, and press the "Visit site"-button
    • You will gett this README-file
    • In the address-field, add ".well-known/nostr.json" to the end and press enter.
    • This should show a basic json-file.

Edit nostr.json

  • Back at the GitHub repo page, go into the .well-known folder, and edit the nostr.json-file. This can be done on the github website through the edit button.
  • change the values with the name you want to use, and the pubkey you want to associate with it. This example is with multiple accounts, but if you only need one you can just remove the extra line and the ",".
{
  "names": {
    "<your-nostr-nym>": "<your-nostr-pubkey>",
    "<your-nostr-nym>": "<your-nostr-pubkey>"
  }
}
  • Push the changes to your website. If you're doing it on the github website, press the "Commit changes" button on the bottom.
  • Verify that the nostr.json file is accessible by navigating to the page that we created earlier.

Setup NIP05

Sources

https://twitter.com/0xsommerfeld/status/1604795583755161602
https://github.com/vforvalerio87/registry.dude.rund

nip05-github's People

Contributors

vforvalerio87 avatar metasikander avatar nas avatar

Forkers

foreverfit

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.