Giter Club home page Giter Club logo

dockhunt-cli's Introduction

Dockhunt CLI

Website โ‹… Twitter โ‹… npm

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

Dockhunt - Discover the apps everyone is docking about

Usage

npx dockhunt

What does it do?

  1. Scans your macOS dock
    • For each app, find its name and the path to its icon file
      • Using defaults export com.apple.dock - (see defaults help)
    • Converts each icon file from .icns to .png
    • Uploads the app names and PNGs to the Dockhunt server
  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.

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. Currently, the dockhunt executable isn't being used as it was intended for non-technical users, but prooved to complicated to user. The npx command is used instead.

dockhunt-cli's People

Contributors

jeremysarchet avatar maxmusing avatar robertcoopercode avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.