Giter Site home page Giter Site logo

sourcerer-io / hall-of-fame Goto Github PK

View Code? Open in Web Editor NEW
945.0 19.0 89.0 106 KB

:trophy: Show some love to your contributors! A widget for your repo README. Visual and clean. Refreshes every hour.

License: MIT License

Python 100.00%
readme contributors readme-badges social-buttons readme-quality commits badges contributing contributions readme-template

hall-of-fame's Introduction

Hall-Of-Fame

Hall-of-fame helps you show some love to your contributors. It automatically highlights your new, trending, and top contributors, and updates every hour. You can put this widget anywhere inside your README, e.g. to "Contributing" section. No maintenance is required.

How it works

Every hour, Hall-of-fame looks into recent commits of your repo using GitHub API. It then selects three categories of contributors: new (those who made their first commit to your repo in the last 7 days), trending (those with most commits in the last 7 days), and top (those with most commits of all time). It then selects up to three new contributors, up to 4 trending contributors, and if total is less than 7, it fill up the remaining spots with top contributors.

Each contributor in the Hall-of-fame is represented with their avatar, and a badge new/trending/top with the corresponding number of commits. Each avatar links to a contributor's profile. Which means that anyone has a chance to be prominently featured on your README for some time!

Hall-of-fame works with Sourcerer (https://sourcerer.io), but it's not required for your contributors. If a contributor has a Sourcerer profile, their Sourcerer avatar with a halo is used, and the avatar links to their Sourcerer profile. If they don't, an avatar based on their GitHub is used, and it is linked to their GitHub profile.

Live examples

Getting started

Hall-of-fame code is entirely open source. You can run it in Google cloud yourself but we already do it for you. In order to add Hall-of-fame to your repository:

  1. Sign in to sourcerer.io with your GitHub: (https://sourcerer.io/start)
  2. Go to Settings/Hall-of-fame (https://sourcerer.io/settings#hof)
  3. Add your repository there.
  4. You should see code to insert in your README.md. It will look something like this:
[![](https://sourcerer.io/fame/$USER/$OWNER/$REPO/images/0)](https://sourcerer.io/fame/$USER/$OWNER/$REPO/links/0)

...

[![](https://sourcerer.io/fame/$USER/$OWNER/$REPO/images/7)](https://sourcerer.io/fame/$USER/$OWNER/$REPO/links/7)

Paste that code into your README.md, and you should be good to go. Hall-of-fame will take care of the rest.

Note that Hall-of-fame will use your GitHub token for hourly updates via GitHub API. This will count towards your GitHub API limit. For a very large repo, you shoud expect a few dozen requests every hour, which is a small percentage of 5,000 hourly limit that GitHub sets.

FAQ

Q: Why do you only show 7 entries?

A: 7 is a lucky number. But seriously, recognition means that you stand out. It's hard to stand out in a crowd, so we limit to 7. If you strongly feel a different number is better, file an issue. We'll consider.

Q: What is the reason to show new, trending, top, in this order?

A: We want Hall-of-fame to change frequently (hence emphasis on changes in the last week), and we want it to be immediately exciting for your first time contributors. You need new contributors, right? We better make them excited.

Q: I just commited, and I don't see my face on Hall-of-fame! What is going on?

A: It refreshes once an hour, and sometimes takes a bit longer. Just wait, it will be there. Another possibility is there are enough contributors with more commits this week. Contributors are sorted by the number of commits, so if you push another commit, you will increase your chance to show in Hall-of-fame.

Contributing

Contribute to Hall-of-fame by all means. Here is the live Hall-of-fame for this repo:

hall-of-fame's People

Contributors

8bit-pixies avatar anatolystansler avatar feerglas avatar ocnly avatar sergey48k avatar shubhamavasthi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hall-of-fame's Issues

Add username below the picture?

First off, thank you for this awesome tool. Contributions to open source projects should definitely get more recognition than they do, so I was excited to add this to my projects.

My question: Is there a way to add contributors' user names below their pictures? If not, I think this would be a great feature. Even with pictures (which a lot of contributors don't have), it's often hard to tell who a person is unless you click into their profile.

Thanks!

Define custom bots to exclude

In fame/github_tracker.py you have some bot-names hardcoded. Would be nice if one could add additional bot-names or other github-account via the gui on sourcerer.

Example-Repo: https://github.com/lyne-design-system/lyne-components

In our case:

  • semantic-release-bot will update the package.json after successfull release, which we would like to exclude from the hall of fame.
  • travis pushes the file DEPLOYMENTS.md back to the repo after a successfull release. It does it with the admin account from our organisation. But no human developer is using that account, so we would like to exclude that one as well.

Do you think that is possible? Or did I miss something in the documentation?

Thank you very much for your efforts
yves

Hall of fame repositories not loading

Hello,

  • the one repository that I added a few months ago seems to not be updating
  • new repositories are not being processed

screenshot_2020-07-27_21-15-44@2x

--
Thanks for the great service.

Looking for a way to show GitHub sponsors

Hi Sourcerer team, I like hall-of-fame a lot. Meanwhile I'm wondering if you can have similar stuff for GitHub sponsors, because so far there isn't any service that can show a graph of your sponsors that you can put into a README. Would really hope to see it from Sourcerer!

Reduce the width of border circles of avatar images

Would you reduce the width of border circles of avatar images?

For example, in the below picture, the avatar icon of the leftmost person is surrounded by a thick colored circle. It consumes almost 33% of the radius and make the avatar image smaller. It seems a donuts chart about programming languages, but I think that what languages are used is not so important. The avatar icons are essential, since this is a tool of hall-of-fame. So I want it to become thinner.

How to add hall-of-fame to my organization's repo?

Hello, I have been using it for a while. Yesterday, I found the repo of organization I manage isn't in hall-of -frame list. So what should I do if I want to use it in that repo.
(To show hall-of-frame, I fork that repo as my repo so that I could add it to hallof-frame lists. But it's too complicated due to update frequently. )
: )

An automatic way of updating repos

Explicitly clicking on an update button to update the repos is not a good way to maintain a profile and is also not a good UX. Can this feature be updated?

Fix markdown lint

Code: [![](https://sourcerer.io/fame/$USER/$OWNER/$REPO/images/0)](https://sourcerer.io/fame/$USER/$OWNER/$REPO/links/0)

Issue: MD045/no-alt-text: Images should have alternate text (alt text) markdownlint(MD045)

usernames in title tags? also in links?

If the anchor tags or images had usernames on them, using a title attribute, I could hover over them and see the usernames of the users, without clicking on them. This especially helps with users that don't have avatars.

It would also be nice for them to be in the links. If numbers are better for implementing them, they could just be added to the end of the URLs in addition to the numbers but not used by the web server.

Badge is not available

I got follows code from https://sourcerer.io/settings#hof , but it does not seem to be working.

[![](https://sourcerer.io/fame/zonuexe/emacs-php/php-mode/images/0)](https://sourcerer.io/fame/zonuexe/emacs-php/php-mode/links/0)[![](https://sourcerer.io/fame/zonuexe/emacs-php/php-mode/images/1)](https://sourcerer.io/fame/zonuexe/emacs-php/php-mode/links/1)[![](https://sourcerer.io/fame/zonuexe/emacs-php/php-mode/images/2)](https://sourcerer.io/fame/zonuexe/emacs-php/php-mode/links/2)[![](https://sourcerer.io/fame/zonuexe/emacs-php/php-mode/images/3)](https://sourcerer.io/fame/zonuexe/emacs-php/php-mode/links/3)[![](https://sourcerer.io/fame/zonuexe/emacs-php/php-mode/images/4)](https://sourcerer.io/fame/zonuexe/emacs-php/php-mode/links/4)[![](https://sourcerer.io/fame/zonuexe/emacs-php/php-mode/images/5)](https://sourcerer.io/fame/zonuexe/emacs-php/php-mode/links/5)[![](https://sourcerer.io/fame/zonuexe/emacs-php/php-mode/images/6)](https://sourcerer.io/fame/zonuexe/emacs-php/php-mode/links/6)[![](https://sourcerer.io/fame/zonuexe/emacs-php/php-mode/images/7)](https://sourcerer.io/fame/zonuexe/emacs-php/php-mode/links/7)
% curl -I https://sourcerer.io/fame/zonuexe/emacs-php/php-mode/images/0
HTTP/2 404
server: nginx/1.13.12
date: Fri, 24 Aug 2018 03:45:16 GMT
x-powered-by: Express
vary: Origin
access-control-allow-credentials: true
cache-control: no-cache
cache-control: no-store
cache-control: must-revalidate
via: 1.1 google
alt-svc: clear

refs emacs-php/php-mode#481

repos could be listed in a more useful order

I know I can type to search, but this drop-down menu would be much easier to browse if the repos were sorted alphabetically by organisation or user name first and then repo name second

hof

Add mailmap support

Sometimes people commit from multiple github accounts, which results them to show twice. .mailmap support could help consolidate those.

Hall of fame for a team

I would like a hall of fame for a whole team, where there are many small projects that people can contribute to.

Images are 404'ing for hall-of-fame embed

[![](https://sourcerer.io/fame/pirate/pirate/ArchiveBox/images/0)](https://sourcerer.io/fame/pirate/pirate/ArchiveBox/links/0)[![](https://sourcerer.io/fame/pirate/pirate/ArchiveBox/images/1)](https://sourcerer.io/fame/pirate/pirate/ArchiveBox/links/1)[![](https://sourcerer.io/fame/pirate/pirate/ArchiveBox/images/2)](https://sourcerer.io/fame/pirate/pirate/ArchiveBox/links/2)[![](https://sourcerer.io/fame/pirate/pirate/ArchiveBox/images/3)](https://sourcerer.io/fame/pirate/pirate/ArchiveBox/links/3)[![](https://sourcerer.io/fame/pirate/pirate/ArchiveBox/images/4)](https://sourcerer.io/fame/pirate/pirate/ArchiveBox/links/4)[![](https://sourcerer.io/fame/pirate/pirate/ArchiveBox/images/5)](https://sourcerer.io/fame/pirate/pirate/ArchiveBox/links/5)[![](https://sourcerer.io/fame/pirate/pirate/ArchiveBox/images/6)](https://sourcerer.io/fame/pirate/pirate/ArchiveBox/links/6)[![](https://sourcerer.io/fame/pirate/pirate/ArchiveBox/images/7)](https://sourcerer.io/fame/pirate/pirate/ArchiveBox/links/7)

This is is the provided embed copy-pasted straight from https://sourcerer.io/settings#hof for https://github.com/pirate/ArchiveBox.

The images and links all seem to 404, I also tried fixing the double pirate/pirate/ -> pirate/ to see if that was the issue, but both versions still 404'd.

Screen Shot 2019-03-12 at 3 46 59 PM

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.