linkpen

Getting Started with LinkPen

This guide will help you get LinkPen up and running on your system.

Prerequisites

Before you begin, ensure you have:

Installation

  1. Clone the repository:
    git clone https://github.com/sleepingami/linkpen.git
    cd linkpen
    

    or alternatively, if you want to clone to the current directory:

    git clone https://github.com/sleepingami/linkpen.git .
    
  2. Install dependencies:
    npm install
    
  3. Customise configuration file:
    {
      "rootDomain": "http://your-domain.com",                 // NOTE: Adding http:// is mandatory. HTTPS is recommended!
      "hostPort": "5500",
      "siteTitle": "LinkPen",                                 // String; 8 characters or less
      "discordInvite": "https://discord.gg/your-invite-link", // Preferrably a permanent link
      "database_key": "your_database_secret_key",             // DO NOT SHARE THIS KEY WITH ANYONE!
      "isPublic": false                                       // Set this to true if you want to allow anyone to use your instance
    }
    
  4. Start the development server:
    npm run dev
    

    or alternatively, if you don’t want to modify source code:

    npm run start
    

First Steps

  1. Visit http://localhost:5500 (replace 5500 with the port specified in step 3) in your browser
  2. Create an account through the sign-up button
  3. Choose your custom URL
  4. OPTIONAL - Choose a theme!
  5. Start adding your links!

Next Steps