Skip to main content

unhacs

A command line alternative to the "Home Assistant Community Store", aka HACS

Installation

pipx install unhacs

Usage

Unhacs provides several commands to manage your Home Assistant packages. It stores installed or requsted packages in a lock file called unhacs.yaml. This makes it possible to version control your packages and easily share them with others.

Add a package

To add a package, use the add command followed by the URL of the package. Optionally, you can specify the package name and version. If no version is specified, the latest non-pre-release version will be installed:

unhacs add <package_url>
unhacs add <package_url> --version <version>

If the package already exists, you can update it by adding the --update flag:

unhacs add <package_url> --update

If the package is a Lovelace plugins or theme, install it using the appropriate flags:

unhacs add --plugin <package_url>
unhacs add --theme <package_url>

If you already have a list of packages in a file, you can add them all at once using the --file flag:

unhacs add --file ./unhacs.yaml

Add a component from a forked Home Assistant Core repository

To add a component from a fork of home-assistant/core, use the --fork-component flag followed by the name ofthe component and then specify the branch with the --fork-branch flag:

unhacs add --fork-component <component_name> --fork-branch <branch_name> <forked_repo_url>

List packages

To list all installed packages, use the list command:

unhacs list
unhacs list --verbose

List tags

To list all tags for a package, use the tags command followed by the name of the package:

unhacs tags <package_url>
unhacs tags <package_url> --limit 20

Remove a package

To remove a package, use the remove command followed by the name of the package:

unhacs remove <package_name>

Upgrade packages

To upgrade all packages, use the upgrade command:

unhacs upgrade

To upgrade specific packages, add their names after the upgrade command:

unhacs upgrade <package_name_1> <package_name_2> ...

Use git tags

By default, identification of releases uses the GitHub API. If you want to use git tags instead, you can add the --git-tags flag to the base command:

unhacs --git-tags add <package_url>

License

Unhacs is licensed under the MIT License. See the LICENSE file for more details.

Original repo

Originally hosted at https://git.iamthefij.com/iamthefij/unhacs.git

Metadata

Release files for unhacs 0.8.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for unhacs 0.8.0
File Size Uploaded
unhacs-0.8.0.tar.gz 12.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for unhacs 0.8.0
File Interpreter ABI Platform
unhacs-0.8.0-py3-none-any.whl Python 3 none any Details

Total release size: 28.5 kB

Release files / unhacs-0.8.0.tar.gz

Download URL unhacs-0.8.0.tar.gz
Size 12.0 kB
Tags Source
SHA-256 checksum
How to use checksums
655bbe20654d05d7ffcf9120cfb94f003164b16d68b21a58cd64698ef6c25b47
BLAKE2b-256 checksum
How to use checksums
88b721a5dd66915a9d4d9fb5be20aebde9c3e01633b059fbc6451a150f876320
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.14.2 Linux/5.15.0-173-generic

Release files / unhacs-0.8.0-py3-none-any.whl

Download URL unhacs-0.8.0-py3-none-any.whl
Size 16.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
532cf6b2fd13e22d7e7f3d61446dfd7446e58ad2805ad1d4df9d13f8d44b1bd0
BLAKE2b-256 checksum
How to use checksums
52f9debace3dc0bfc702e6b3490c4e71e223b0fe2ae13047adc3ed132fbd5a4a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.14.2 Linux/5.15.0-173-generic

Release history Release notifications | RSS feed

This release

0.8.0 This release

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page