Skip to content

Instantly share code, notes, and snippets.

@traumverloren
Last active October 7, 2023 07:54
Show Gist options
  • Star 11 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save traumverloren/a7fa4c89c27fc3adedf1ff96b0514472 to your computer and use it in GitHub Desktop.
Save traumverloren/a7fa4c89c27fc3adedf1ff96b0514472 to your computer and use it in GitHub Desktop.
How to Create a Guestbook for Your Github Personal Readme!

How to Create a Guestbook for Your Github Personal Readme!

To create a "guestbook", like this we can use the image hosting & commenting abilities of Github Gists ftw! ✨

Create a Gist to Host Your Guestbook & Image

  1. Log into Github

  2. Go to https://gist.github.com

  3. Select "+" in the top right corner of the toolbar to create a new gist and save it as public gist.

  4. Then, get an image to use for your link to "Sign your guestbook". I went to https://gifcities.org/ to find the perfect geocities era gif.

  5. Save the image locally.

  6. Clone the gist:

    # Replace <hash> with your gist's hash!!!
    git clone https://gist.github.com/<hash>.git # with https
    git clone git@gist.github.com:<hash>.git     # or with ssh
  7. Add your image to your gist's repository:

    git add guestbook.gif
  8. Commit the image:

    git commit -m "Add image"
  9. Update gist:

    git push origin master

Note: Steps 6-9 above are adapted from this wonderful and helpful gist!

Create a Github Personal Readme

  1. Back at your github profile, https://github.com/YOUR_USERNAME, create a repo that is named: YOUR_USERNAME.

  2. In that repo, create a README.md file.

    Screen Shot 2020-07-09 at 09 45 03

Add your Guestbook Gist to your Personal Readme

  1. Add this HTML code snippet to README.md:

    <p align="center">
      <a href="https://gist.github.com/traumverloren/<HASH>">
        <img src="<YOUR IMAGE PATH GOES HERE!>" alt="Click here to sign my guestbook!">
      </a>
    </p>
  2. Replace the link in the a with your gist's URL! <a href="https://gist.github.com/traumverloren/<HASH>">

  3. Replace the image src with the one from your gist! (You'll need to inspect the page in the browser)

    <img src="<YOUR IMAGE PATH GOES HERE!>" alt="Click here to sign my guestbook!">

    Screen Shot 2020-07-09 at 09 52 37

  4. Save it!

  5. Now check out your github profile page and bask in the glory of your own guestbook! Tada! ✨

Let me know if you create one, and I'll sign it! 😊 🖊️ 📓

@himanshuk-dev
Copy link

Thank you for sharing this. I created mine here: https://github.com/Himanshukumar30

@amithm3
Copy link

amithm3 commented Aug 21, 2023

thanks for sharing this, check mine here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment