Skip to content

About

A command-line tool to extend the webOS dev mode session timer.

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Repository files navigation

webOS Dev Mode CLI

GitHub release (latest by date) Build Go Report Card

A command-line tool to extend the webOS dev mode session timer.

Installation

Docker

Click to expand

A Docker image is available at ghcr.io/gabe565/webos-dev-mode

sudo docker run --rm -it ghcr.io/gabe565/webos-dev-mode cron --token SESSION_TOKEN

Homebrew (macOS, Linux)

Click to expand

Install webos-dev-mode from gabe565/homebrew-tap:

brew install gabe565/tap/webos-dev-mode

APT (Ubuntu, Debian)

Click to expand
  1. If you don't have it already, install the ca-certificates package

    sudo apt install ca-certificates
  2. Add gabe565 apt repository

    echo 'deb [trusted=yes] https://apt.gabe565.com /' | sudo tee /etc/apt/sources.list.d/gabe565.list
    
  3. Update apt repositories

    sudo apt update
  4. Install webos-dev-mode

    sudo apt install webos-dev-mode

RPM (CentOS, RHEL)

Click to expand
  1. If you don't have it already, install the ca-certificates package

    sudo dnf install ca-certificates
  2. Add gabe565 rpm repository to /etc/yum.repos.d/gabe565.repo

    [gabe565]
    name=gabe565
    baseurl=https://rpm.gabe565.com
    enabled=1
    gpgcheck=0
  3. Install webos-dev-mode

    sudo dnf install webos-dev-mode

AUR (Arch Linux)

Click to expand

Install webos-dev-mode-bin with your AUR helper of choice.

Manual Installation

Click to expand

Download and run the latest release binary for your system and architecture.

Usage

  1. Set up the webOS dev mode by following the webosbrew guide.
  2. Fetch the session token:
    ares-novacom --run 'cat /var/luna/preferences/devmode_enabled; echo'

Now you are ready to run webos-dev-mode commands.

  • To extend the webOS dev mode session:
    webos-dev-mode extend --token SESSION_TOKEN
  • To run a task which will extend the webOS dev mode session once per day:
    webos-dev-mode cron --token SESSION_TOKEN
  • To check the current session expiration:
    webos-dev-mode check --token SESSION_TOKEN

Flag values can also be set using environment variables. To do this, capitalize all characters, replace - with _, and prefix with WEBOS_. For example, --token=example would become WEBOS_TOKEN=example, and --request-timeout=10m would become WEBOS_REQUEST_TIMEOUT=10m.

For full command-line reference, see docs.

About

A command-line tool to extend the webOS dev mode session timer.

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages