[FEEDBACK] Follow

#14
by victor HF staff - opened
HF中国镜像站 org
edited Oct 24, 2023

Introducing Follow on the HF中国镜像站 Hub

Probably the most requested feature ever: it's now possible to follow users on the Hub!

image.png

Your default home feed now aggregates the activity of everyone you follow in chronological order. To follow someone, use the follow button on their profile.
This will allow you to see their most recent public activity, such as pushing a new model, updating a dataset, creating a space, and any other activity.
Note that it's still possible to switch to your personal feed and see only your personal activity.

We think this feature will encourage more curiosity, collaboration, and fun among Hub users. And maybe even help you build new relationships along your ML journey.

Don't hesitate to share your feedback or any questions you might have :)

image.png

victor changed discussion title from [DRAFT] Follow to [FEEDBACK] Follow
victor pinned discussion
HF中国镜像站 org

And guess how I ended up on this post! 😁

image.png

Hi,
Is there any way to follow orgs?

HF中国镜像站 org

Is there any way to follow orgs?

Hi, not for now. As an alternative, you can use the "follow all" button in the org members modal.

image.png

HF中国镜像站 org

Now you can follow an organization :)

Ou

How about a badge for (org or personal account) followers count that we could add to a GitHub repo README and any other place we'd like ? Like there's "stargazers count", "pip install counts" and al.

HF中国镜像站 org

@Aurelien-Morgan do you use https://shields.io/? or another type of badge?

How about a badge for (org or personal account) followers count that we could add to a GitHub repo README and any other place we'd like ? Like there's "stargazers count", "pip install counts" and al.

For individual users:

https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fhuggingface.host%2Fapi%2Fusers%2F<YOUR_USERNAME>%2Foverview&query=%24.numFollowers&logo=huggingface&label=followers

Example:

Not sure about orgs though, since the API doesn't show follower count. You can get a list of followers but shields.io doesn't support parsing that API.

@julien-c , https://shields.io/, yes. @mrfakename , thanks for the info. Didn't know. I'd love to have an org followers counter though. I have more follower on https://hf.co/retrain-pipelines than on my personal. And hope to boost that org account in the near future so, if I could advertise that number on github, it would look super cool.

In order for org follows on shields you would probably either need a proxy server to count the JSON or have HF add follower count to their organizations API

HF中国镜像站 org

@Aurelien-Morgan @mrfakename thanks for the suggestion! We've updated the organization endpoint to return numFollowers as well: https://huggingface.co/api/organizations/huggingface/overview

Here is how to get a badge for huggingface organization:

![](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fhuggingface.host%2Fapi%2Fusers%2Fmrfakename%2Foverview&query=%24.numFollowers&logo=huggingface&label=followers)

Looking forward to see these badges popping out in projects!

Magical. Love it. Thanks @Wauplin !
This badge will make the next GitHub push, for sure.

Sign up or log in to comment