Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Badge Request: Homebrew Cask Installs #10288

Open
MichaelHinrichs opened this issue Jun 26, 2024 · 5 comments
Open

Badge Request: Homebrew Cask Installs #10288

MichaelHinrichs opened this issue Jun 26, 2024 · 5 comments
Labels
good first issue New contributors, join in! service-badge Accepted and actionable changes, features, and bugs

Comments

@MichaelHinrichs
Copy link

馃搵 Description

formulae.brew
downloads|69k

馃敆 Data

https://formulae.brew.sh/docs/api/

馃帳 Motivation

Simple-icons assessing popularity rule 4.
https://github.com/simple-icons/simple-icons/blob/develop/CONTRIBUTING.md#assessing-popularity

This badge would streamline pull requests for the simple icons project.

@MichaelHinrichs MichaelHinrichs added the service-badge Accepted and actionable changes, features, and bugs label Jun 26, 2024
@MichaelHinrichs
Copy link
Author

Nevermind, i see it exists now.

@MichaelHinrichs
Copy link
Author

New problem: it doesn't work.
homebrew downloads
https://img.shields.io/homebrew/installs/dm/freetube?logo=homebrew

@chris48s
Copy link
Member

I think you've just picked an example where the project is dead. The badge itself does work e.g:

- https://img.shields.io/homebrew/installs/dm/cake

@MichaelHinrichs
Copy link
Author

But it's right here. https://formulae.brew.sh/cask/freetube

@chris48s
Copy link
Member

chris48s commented Jul 1, 2024

I don't use macs so I don't really know what I'm talking about here (someone who uses a mac, please save me) but.. it seems like there are 2 types of homebrew package:

  • fomulas
  • casks

Not 100% sure why/what the difference is.

https://img.shields.io/homebrew/installs/dm/freetube is not found because freetube is the name of a cask, not a formula.

We have got

So the request here is for a Homebrew Cask Installs badge. We should also rename the titles of the existing 3 docs pages for clarity. It looks like the cask API response does contain install stats for the last 30, 90 and 365 days e.g: https://formulae.brew.sh/api/cask/freetube.json

@chris48s chris48s changed the title formulae.brew downloads Badge Request: Homebrew Cask Installs Jul 1, 2024
@chris48s chris48s added the good first issue New contributors, join in! label Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue New contributors, join in! service-badge Accepted and actionable changes, features, and bugs
Projects
None yet
Development

No branches or pull requests

2 participants