Skip to content

1weiho/gh-link

Repository files navigation

Banner

GH Link

GH Link is a Link in Bio website that can be configured with only a JSON file.

Usage

To use GH Link, follow these steps:

  1. Add a gh-config.json file to your special repository’s root (the repo with your username).

  2. Configure gh-config.json with the following format:

    Note: icon is optional. If no icon is provided, the default link icon will be used.

    {
      "links": [
        {
          "title": "GitHub",
          "description": "GitHub Official Website",
          "url": "https://github.com",
          "icon": "https://cdn-icons-png.flaticon.com/512/25/25231.png"
        },
        {
          "title": "Click me",
          "description": "Surprise 😃",
          "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
        }
      ]
    }
  3. Done! Visit your own link website at gh-link.vercel.app/YOUR_USERNAME.

Running Locally

To run GH Link locally, follow these steps:

  1. Clone this repository:

    git clone https://github.com/davidho0403/gh-link
  2. Store the API keys in .env.local:

    cp .env.example .env.local
  3. Install the dependencies:

    npm install
  4. Run the application:

    npm run dev
  5. Finally, visit http://localhost:3000 in your web browser.

About

A Link in Bio website configured with only a JSON file.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published