Skip to content

vikas5914/helium-drm-fixer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Helium DRM Fixer

A CLI tool that fixes DRM issues in the Helium browser by copying WidevineCdm from Chrome (or other Chrome-based browsers).

Why Helium DRM?

Helium browser often has issues with DRM-protected content because it doesn't include WidevineCdm. This tool automatically copies WidevineCdm from your Chrome installation to Helium, enabling DRM support for streaming services like Netflix, Disney+, etc.

Installation

bun install

Usage

bun run cli.ts

Or after building:

bun run build
./dist/fix-helium-drm

How It Works

  1. Finds Chrome WidevineCdm: The tool searches for your Chrome (or other Chromium-based browser) installation and locates the WidevineCdm directory.
  2. Finds Helium installation: Locates your Helium browser installation.
  3. Copies WidevineCdm: Copies the WidevineCdm files from Chrome to Helium.
  4. Automatic download: If Chrome is not found locally, the tool will download it from GitHub releases (Windows only).

Features

  • Automatic Chrome/Helium detection
  • Automatic Chrome download if not found (Windows only)
  • Download caching with checksum verification
  • Progress tracking for downloads
  • Cross-platform support (Windows, macOS, Linux)
  • Type-safe TypeScript implementation

Custom paths

If this script fails to find your browser, you can specify the path to it manually:

sudo bun run cli.ts --chrome-path /usr/bin/google-chrome-stable --helium-path /usr/bin/helium-browser

You can find the path on your system by running which google-chrome-stable on macOS and Linux.

Development

# Run tests
bun test

# Lint code
bun run lint

# Auto-fix lint issues
bun run lint:fix

# Type checking
bun run typecheck

# Build executable
bun run build

Troubleshooting

"Helium browser not found"

Ensure you have Helium browser installed. Download it from https://helium.is/.

"Chrome not found"

The tool will automatically download Chrome. If this fails, install Chrome manually from https://www.google.com/chrome/.

"Failed to copy WidevineCdm"

Make sure you have write permissions to the Helium application directory.

License

This project is private.

Credits

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors