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 🙏

© 2024 – Pkg Stats / Ryan Hefner

dockhunt

v1.0.17

Published

Share which apps you have in your macOS dock with Dockhunt.

Downloads

35

Readme

Dockhunt CLI

WebsiteTwitternpm

Scans which apps you have in your macOS dock and shares the result with Dockhunt.

Dockhunt - Discover the apps everyone is docking about

This repositofy is for the CLI tool. The resposity for the Dockhunt web application is: https://github.com/Basedash/dockhunt

Usage

Option 1: Basic users

Download and use the Dockhunt Mac app.

Note: To create the Mac app, we first build an executable and then we've been using Platypus to package it into a macOS app bundle.

Option 2: JavaScript developers

Run the following command from your terminal

npx dockhunt

You can find the dockhunt package on npm.

What does it do?

  1. Scans your macOS dock
    • For each app, find its name and the best-guess path to its icon file
      • Using defaults export com.apple.dock - (see defaults help)
    • Converts each icon file from .icns to .png
    • Checks if your dock contains any apps not yet known to Dockhunt
      • For any apps not yet known to Dockhunt, it uploads the app names and PNGs
  2. Opens the Dockhunt website in your browser
    • You'll be invited to authenticate with Twitter to add your dock to the site
    • You can share your dock and see who else has the same apps in their dock

Incorrect app icons

If you notice that the app icon that for an app is incorrect, it means the CLI tool picked the wrong icon file. We can resolve this if you open a GitHub issue with the name(s) of the app(s) that have incorrect icons and their corresponding .icns file(s). You can find the .icns file by right-clicking on the app from the Finder and selecting Show Package Contents. Then, navigate to Contents/Resources/ and find the .icns file. If it's not in Contents/Resources/, then it may be somewhere else in the package contents. It seems you can't attach an .icns file in a GitHub issue, but if you compress it into a .zip first, it should be attachable.

Here's how that looks like for Figma:

Show package contents Finding the icns file in the package contents

Development

  • It is only necessary to build the app if you want to package it into an executable. The building of the app will package all the dependencies into a single file, which can then be packaged into an executable using pkg.