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 ๐Ÿ™

ยฉ 2025 โ€“ย Pkg Stats / Ryan Hefner

aliastron

v1.0.2

Published

๐Ÿš€ A beautiful, interactive CLI tool to manage Electron app aliases with style!

Downloads

22

Readme

๐Ÿš€ Aliastron

npm version license

A beautiful, interactive CLI tool to manage your Electron application aliases with style!

Demo Node

โœจ Features

  • ๐ŸŽจ Beautiful UI - Colorful gradients, ASCII art banner, and styled tables
  • ๐Ÿ–ฑ๏ธ Interactive Menus - Easy-to-use arrow key navigation
  • ๐Ÿ“‹ List Aliases - View all your Electron app aliases in a formatted table
  • โž• Create Aliases - Add new Electron app shortcuts with validation
  • ๐Ÿ—‘๏ธ Remove Aliases - Multi-select checkboxes to remove multiple aliases at once
  • โœ… Input Validation - Ensures proper alias names and URLs
  • ๐Ÿ”„ Persistent Storage - Stores aliases in ~/.electron-apps
  • ๐Ÿ”— Auto .bashrc Integration - Automatically configures your shell

๐Ÿ“ฆ Installation

From npm (Recommended)

# Install globally
npm install -g aliastron

# Run it
aliastron
# or use aliases
electron-manager
eam

From Source

# Clone the repository
git clone https://github.com/yourusername/aliastron.git
cd aliastron

# Install dependencies
npm install

# Run locally
npm start

# Or link globally
npm link
aliastron

๐ŸŽฎ Usage

Simply run the application:

node index.js

Or if installed globally:

electron-manager

Menu Options

  1. ๐Ÿ“‹ List all aliases - Display all configured Electron app aliases
  2. โž• Create new alias - Add a new Electron app shortcut
  3. ๐Ÿ—‘๏ธ Remove aliases - Select and remove one or more aliases
  4. ๐Ÿšช Exit - Exit the application

๐Ÿ› ๏ธ How It Works

The tool manages aliases in ~/.electron-apps file and automatically ensures your .bashrc sources this file. Each alias is a shortcut that launches an Electron app with a specified URL.

Example Alias Format

alias myapp="/usr/lib/electron37/electron https://example.com > /dev/null 2>&1 &"

๐Ÿ“š Dependencies

  • chalk - Terminal string styling
  • inquirer - Interactive command line prompts
  • ora - Elegant terminal spinners
  • boxen - Create boxes in the terminal
  • gradient-string - Beautiful gradient text
  • figlet - ASCII art text
  • cli-table3 - Pretty tables for the terminal

๐ŸŽจ Screenshots

The app features:

  • Colorful ASCII art banner
  • Gradient colored text
  • Beautiful boxed messages
  • Formatted tables with borders
  • Smooth spinners for operations
  • Interactive checkboxes and lists

๐Ÿ“ Notes

After creating or removing aliases, remember to either:

  • Open a new terminal, OR
  • Run: source ~/.electron-apps

๐Ÿ“„ License

MIT