Skip to content

nostrize/github-connect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

github-connect

Example project on how to connect your nostr and github accounts together. NIP-05 is a way to verify connection between domain names and nostr accounts. Because github pages requires ownership over github repositories, we can leverage this fact to prove a github user owns a nostr account.

Steps to produce [nostr-name]@[github-name].github.io/[repo]

  • fork https://github.com/nostrize/github-connect
  • edit _site/.well-known/nostr.json (change with your nostr username you want to use and pubkey accordingly)
  • Go to Settings -> Pages -> Set Source: Github actions
  • Go to Actions -> Enable workflows if necessary
  • Go to Workflows -> Deploy static site to Pages -> Run workflow
  • Check
    • Evaluated environment url: https://[github-name].github.io/github-connect/
  • Check NIP-05 URL on browser: https://[github-name].github.io/github-connect/.well-known/nostr.json
  • Edit your profile in metadata nostr using alby extension
    • check NIP-05 is valid for [nostr-name]@[github-name].github.io/github-connect

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages