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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add installs badge #333

Merged
merged 1 commit into from
Sep 11, 2021
Merged

Add installs badge #333

merged 1 commit into from
Sep 11, 2021

Conversation

KapJI
Copy link
Collaborator

@KapJI KapJI commented Sep 11, 2021

I found data about custom integration installs at https://analytics.home-assistant.io/custom_integrations.json

Created small endpoint on RunKit to create badge data for shields.io:
https://runkit.com/kapji/google-home-installs-for-shield-io

@KapJI KapJI requested a review from leikoilja September 11, 2021 12:07
@github-actions github-actions bot added the documentation Improvements or additions to documentation label Sep 11, 2021
@github-actions
Copy link

🎉 HACS repository validator action summary 🎉
✅ The repository is not archived
✅ manifest.json file exist
✅ All required keys are present in manifest.json
✅ hacs.json has the 'name' key set
✅ The repository has a description
✅ google_home is added to https://github.com/home-assistant/brands NICE!
✅ The repository has topics
✅ The repository has issues enabled
✅ This day ends with an 'y' (Saturday)
✅ README.md exists
✅ Requirements validation
✅ Python wheels
✅ HACS load check

Copy link
Owner

@leikoilja leikoilja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is increadible! For a long time, I was curious if people use the integration and if they are then how many are they. This is sooo inspiring and humbling to see that so many people use the integration. So so so amazing! 💥

Thank you tons @KapJI, @DurgNomis-drol, @ArnyminerZ, @Drakulix 💥 🔥 💯

@leikoilja leikoilja merged commit f636806 into master Sep 11, 2021
@leikoilja leikoilja deleted the installs-badge branch September 11, 2021 13:26
@DurgNomis-drol
Copy link
Collaborator

I second @leikoilja comment!

@DurgNomis-drol
Copy link
Collaborator

@KapJI I hope it is okay, but you inspired me to add these badges to another integration i'm making. So thanks!!!

I actually learned a lot through this project, thanks especially to you @leikoilja and @KapJI.

@KapJI
Copy link
Collaborator Author

KapJI commented Sep 11, 2021

Sure, free free to use it! Glad you're finding this helpful 🙂

@leikoilja
Copy link
Owner

@KapJI, thanks tons for implementing this one, super interesting stats 💥
As our community grows, I was wondering if it would be cool to either expand the existing badge or add another similar one with the integration's popularity?
I think for that we can use the same json to extract total install from all other packages and compare the numeric popularity of Ha-Google-Home integration? What do you think?

@KapJI
Copy link
Collaborator Author

KapJI commented Oct 19, 2021

You mean in percentage? For that you need to know total number of HA installs, probably there's another json with first party integrations. Currently it's ~2.4%.

Upd: it can be found here https://analytics.home-assistant.io/data.json in reports_integrations field.

@leikoilja
Copy link
Owner

Well that shows popularity of installs amount all HA users. We can either display that or what i was thinking grabbing data from https://analytics.home-assistant.io/custom_integrations.json and comparing relative amount of installs between all custom HACS integrations. So it will end up being like: we have 2000 install and this is 10/321, 10th of 321 3rd party integrations our there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants