Quickstart Guide

Quickstart Guide

  1. Clone the repository:
git clone [email protected]:berbyte/ber-os.git
cd ber-os
  1. Install the dependencies:
go mod tidy

Choose how to run BER:

As a GitHub Application

  1. Create a GitHub App by following our documentation guide. This will provide you with the required credentials for the next steps.
  2. Set the environment variables
export GH_APP_ID=""
export GH_PRIVATE_KEY="" # base64 decoded pem
export GH_WEBHOOK_SECRET="sUpEr-Str0nG-S3cr3t-!!@"

export OPENAI_API_KEY=""
  1. Start ngrok
ngrok http http://localhost:8080
  1. Run the application:
go run . webhook --debug

As a Terminal User Interface

Warning

The TUI adapter is currently in an experimental state

  1. Set the environment variable
export OPENAI_API_KEY=""
  1. Run the TUI:
go run . tui

Next Steps

  1. Configure the BERAdapter for GitHub to start communicating immediately with BERAgents.

  2. Solve your problems with BER.