Skip to main content

Hosting Files Using GitHub

GitHub provides a free option for hosting text and/or image files online.

To upload files to GitHub:

  1. Using a Web browser, visit the GitHub Web site.
  2. If you do not have a GitHub account, then click the Sign Up button in the top right corner, and then follow the instructions on screen.
  3. To log in to your account, click the Sign In button, and then follow the prompts.
  4. If you do not want to host files using an existing repository, then create a new repository.
  5. In the GitHub repository where you want to host files, add the files that you want to host.

    Note
    Note

    For example, using GitHub you may host the metadata.json and metadata-extended.json files, as well as the two PNG images containing the logo for the stake pool that you operate. For more details, see the topic Registering a Stake Pool.

  6. To retrieve the URL for a text file that you added in step 5, click to display the file contents in the GitHub repository, then click the Raw button, and then copy the URL that the address bar in the Web browser displays.
    OR
    To retrieve the URL for an image file that you added in step 5, click to display the file contents in the GitHub repository, then right-click the image, and then click Copy Image Address
  7. Paste the URL that you copied in step 6 as needed.