PostHog / posthog.com

Official docs, website, and handbook for PostHog.
https://posthog.com
Other
407 stars 414 forks source link

Contributor avatars #988

Open corywatilo opened 3 years ago

corywatilo commented 3 years ago

image

To build out the Contributors section of the homepage, we need a couple things:

Contributor avatars

What's the best way to get these? Do we have them all saved in a folder somewhere? How can we periodically update them? It may make sense to manually curate, since some avatars just won't look great in here, so doing this manually seems reasonable.

We'd only show a certain amount at any given time, but I'd like to be able to load a random set on each page load to keep it fun and fresh.

Count of contributors

It would be nice for this to be a "realtime" stat of contributors across all PostHog repos. (The main PostHog repo only shows 74 contributors.) I think that's where I got the number in the mock.

Is there a reasonable way to do this automatically?

timgl commented 3 years ago

I think we should keep contributor avatars just static to A. reduce amount of work and B. so that we're able to pick ones that 'look good' and don't have weird stuff on them (or aren't employees).

corywatilo commented 3 years ago

FYI there's a bit of discussion in Slack

oshura3 commented 3 years ago

@corywatilo @timgl, You could always reach out to the contributors by tagging them in an issue and asking them if they would like to update their GitHub avatars because we're considering using their pictures to honor/credit their contribution to our platform. Most people would probably get really excited about the chance to have their little bit of fame, which would likely then inspire them to contribute even more; a positive feedback loop if you will. Also, it would likely help so that people set up avatars that would look good since they would know the purpose for the pictures; I know I would be motivated to put up a good picture if I knew that the whole world might see it.

Maybe a small script could be written to scrape the GitHub avatars and then use those pictures to show up be based on some sort of leaderboard where the number of contributions that a person does determines if a contributor makes it "on the board", and concurrently if their picture would show up on the page or not. This little bit of healthy competition would likely be a good way to encourage some healthy nerdy competition. I would make the (probably safe) assumption that most contributors have a competitive streak of some kind and would probably take a little extra time to help out a great cause if it would get them brownie points of some kind.

Using a script of some kind to accomplish this picture gathering and sorting would automate the process and therefore keep the amount of work needed to upkeep the picture project to a minimum. This script could also have a portion of code included in it to exclude a pool of people (i.e. the employees or people whose avatars might be inappropriate).