npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

tauri-liquid-icon

v1.1.0

Published

CLI tool to integrate Icon Composer (.icon) assets into Tauri macOS applications

Readme

tauri-liquid-icon

A command-line utility to seamlessly integrate Icon Composer (.icon) assets into Tauri macOS applications. This tool automates the entire process of compiling liquid glass icons and configuring your Tauri project.

Features

  • Compiles .icon files using Apple's actool to generate Assets.car
  • Automatically updates Info.plist with the correct icon reference
  • Configures tauri.conf.json to bundle the generated assets
  • Full automation - no manual configuration needed
  • Supports custom output paths and icon names

Requirements

  • macOS (uses Apple's actool)
  • Node.js 16 or higher
  • Tauri project

Installation

Global Installation

npm install -g tauri-liquid-icon

Local Installation (per project)

npm install --save-dev tauri-liquid-icon

Or use directly with npx:

npx tauri-liquid-icon --icon ./Icon.icon --name AppIcon

Usage

Basic Usage

tauri-liquid-icon --icon <path-to-icon> --name <icon-name>

Example:

tauri-liquid-icon --icon ./Icon.icon --name AppIcon

Arguments

Required Arguments

  • --icon, -i <path> - Path to your .icon file (Icon Composer asset)
  • --name, -n <name> - Icon name to use (e.g., 'AppIcon', 'Icon')

Optional Arguments

  • --output, -o <path> - Output directory for compiled assets (default: ./src-tauri/resources)
  • --tauri-dir <path> - Tauri directory path (default: ./src-tauri)
  • --min-target <version> - Minimum macOS deployment target (default: 14.0)
  • --help, -h - Show help message

Examples

Standard Setup

tauri-liquid-icon --icon ./Icon.icon --name AppIcon

Custom Output Directory

tauri-liquid-icon -i ./assets/Icon.icon -n Icon -o ./src-tauri/icons

Specify Minimum macOS Version

tauri-liquid-icon -i ./Icon.icon -n AppIcon --min-target 13.0

Custom Tauri Directory Structure

tauri-liquid-icon -i ./Icon.icon -n AppIcon --tauri-dir ./tauri

As an npm Script

Add to your package.json:

{
  "scripts": {
    "setup-icon": "tauri-liquid-icon --icon ./Icon.icon --name AppIcon"
  }
}

Then run:

npm run setup-icon

What This Tool Does

  1. Compiles your .icon file: Uses Apple's actool to compile the Icon Composer asset into an Assets.car file
  2. Updates Info.plist: Adds or updates the CFBundleIconFile entry in your Info.plist
  3. Updates Tauri config: Adds the Assets.car to your tauri.conf.json bundle resources
  4. Provides feedback: Shows clear success/error messages throughout the process

Creating .icon Files

To create .icon files, use Apple's Icon Composer app available on macOS. Icon Composer allows you to create modern liquid glass icons with the new macOS visual style.

Troubleshooting

"actool: command not found"

This tool requires actool, which comes with Xcode Command Line Tools. Install it with:

xcode-select --install

Icon not appearing in built app

  1. Ensure you've run the tool before building
  2. Verify Assets.car exists in your output directory
  3. Check that your tauri.conf.json includes the Assets.car in bundle.resources
  4. Rebuild your Tauri application

Info.plist or tauri.conf.json not found

If your project structure is non-standard, use the --tauri-dir option to specify the correct path to your Tauri directory.

Project Structure

After running this tool, your project should have:

your-tauri-project/
├── src-tauri/
│   ├── Info.plist (updated with CFBundleIconFile)
│   ├── tauri.conf.json (updated with Assets.car in resources)
│   └── resources/
│       ├── Assets.car (compiled from your .icon file)
│       └── assetcatalog_generated_info.plist

License

MIT

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.