Skip to content

BottleRocketStudios/KMP-LaunchPad-AI

Repository files navigation

LaunchPad Quick Start for Kotlin Multiplatform

LaunchPad is an open-source, free-to-use project designed to empower you to bring your Kotlin Multiplatform projects to market faster. It provides a collection of tools and utilities to streamline your development process and eliminate the need for reinventing the wheel.

LaunchPad Utils

With LaunchPad AI, you can:

  • TBA

Key Features

  • TBA

Contributing

We encourage contributions from all developers! Refer to the CONTRIBUTING.md for details.

Usage

Add the following dependency to your build.gradle.kts:

commonMain.dependencies {
...
implementation("com.github.bottlerocketstudios:kmp-launchpad-ai:<version>")
}

Creating Personal Access Token (PAT)

Step 1: Creating a Personal Access Token on GitHub

  1. Log in to GitHub:

    Open your web browser and navigate to GitHub. Log in with your GitHub credentials.

  2. Access Token Settings:
  • Click on your profile picture in the top-right corner.
  • Select "Settings" from the dropdown menu.
  • In the left sidebar, click on "Developer settings."
  1. Generate Token:
  • In the "Access tokens" section, click on "Generate token."
  • Provide a suitable name for your token.
  • Select the scopes (permissions) needed for your use case. For general use, "repo" and "read:user" are often sufficient.
  • Click "Generate token."
  1. Copy Token:
  • After generating the token, copy it to your clipboard immediately.
  • Note: This token is displayed only once. Ensure you securely store it.

Step 2: Configuring the Token Locally

Now that you have generated your PAT, you'll need to configure it on your local machine.

  1. Open your terminal:
  • Open the terminal or command prompt on your computer.
  1. Set Environment Variables:
  • Run the following commands, replacing YOUR_TOKEN_HERE with the actual token you copied:
export REPO_READ_WRITE_USER=YOUR_TOKEN_HERE
export [email protected]

Alternatively, you can add these lines to your shell profile file (e.g., .bashrc, .zshrc, or .bash_profile) to make them persistent.

  1. Verify Configuration:
  • To verify that your environment variables are set correctly, you can echo them in the terminal:
echo REPO_READ_WRITE_USER
echo REPO_READ_WRITE_TOKEN

You should see the values you set.