+
Generate Repository Verification File
+
+ This tool helps you generate a verification file for a repository that isn't saved to the server yet.
+ The verification file proves ownership by linking your Nostr repository announcement to your git repository.
+
+
+
+
+ {#if error}
+
+ Error: {error}
+
+ {/if}
+
+ {#if verificationContent}
+
+
Verification File Generated
+
+ Next steps:
+
+
+ - Copy the verification file content below
+ - Create a file named
{VERIFICATION_FILE_PATH} in the root of your git repository
+ - Paste the content into that file
+ - Commit and push the file to your repository
+ - Once the repository is saved to the server, verification will be automatic
+
+
+ {#if announcementEvent}
+
+
Announcement Details
+
+ - Event ID:
{announcementEvent.id}
+ - Created: {new Date(announcementEvent.created_at * 1000).toLocaleString()}
+
+
+ {/if}
+
+
+
+
{verificationContent}
+
+
+ {/if}
+
+
+
About Verification
+
+ Repository verification proves that you own both the Nostr repository announcement and the git repository.
+ There are two methods:
+
+
+ - Self-transfer event (preferred): A Nostr event that transfers ownership to yourself, proving you control the private key.
+ - Verification file (this method): A file in your repository containing the announcement event ID and signature.
+
+
+ The verification file method is useful when your repository isn't on the server yet, as you can generate
+ the file and commit it to your repository before the server fetches it.
+
+
+