https://github.com/gabe565/webos-dev-mode
A command-line tool to extend the webOS dev mode session timer.
https://github.com/gabe565/webos-dev-mode
webos webos-tv
Last synced: 13 days ago
JSON representation
A command-line tool to extend the webOS dev mode session timer.
- Host: GitHub
- URL: https://github.com/gabe565/webos-dev-mode
- Owner: gabe565
- License: mit
- Created: 2024-12-06T23:50:03.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2026-05-27T20:14:40.000Z (23 days ago)
- Last Synced: 2026-05-27T22:10:54.953Z (23 days ago)
- Topics: webos, webos-tv
- Language: Go
- Homepage:
- Size: 87.9 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# webOS Dev Mode CLI
[](https://github.com/gabe565/webos-dev-mode/releases)
[](https://github.com/gabe565/webos-dev-mode/actions/workflows/build.yml)
[](https://goreportcard.com/report/github.com/gabe565/webos-dev-mode)
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](https://ghcr.io/gabe565/webos-dev-mode)
```shell
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](https://github.com/gabe565/homebrew-tap):
```shell
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
```shell
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
```shell
sudo apt update
```
4. Install webos-dev-mode
```shell
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
```shell
sudo dnf install ca-certificates
```
2. Add gabe565 rpm repository to `/etc/yum.repos.d/gabe565.repo`
```ini
[gabe565]
name=gabe565
baseurl=https://rpm.gabe565.com
enabled=1
gpgcheck=0
```
3. Install webos-dev-mode
```shell
sudo dnf install webos-dev-mode
```
### AUR (Arch Linux)
Click to expand
Install [webos-dev-mode-bin](https://aur.archlinux.org/packages/webos-dev-mode-bin) with your [AUR helper](https://wiki.archlinux.org/index.php/AUR_helpers) of choice.
### Manual Installation
Click to expand
Download and run the [latest release binary](https://github.com/gabe565/webos-dev-mode/releases/latest) for your system and architecture.
## Usage
1. Set up the webOS dev mode by following the [webosbrew](https://www.webosbrew.org/devmode/) guide.
3. Fetch the session token:
```shell
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:
```shell
webos-dev-mode extend --token SESSION_TOKEN
```
- To run a task which will extend the webOS dev mode session once per day:
```shell
webos-dev-mode cron --token SESSION_TOKEN
```
- To check the current session expiration:
```shell
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](docs/webos-dev-mode.md).