• Stars
    star
    146
  • Rank 245,503 (Top 5 %)
  • Language
    C#
  • License
    MIT License
  • Created about 3 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

๐Ÿš€ Show everyone how amazing you are! Stay motivated and display your total contributions and level on your GitHub profile README

Get an accurate data from your contributions and transform into a card to show at your GitHub profile README
View Demo


Bruno Brito's GitHub Stats Bruno Brito's GitHub Stats Bruno Brito's GitHub Stats Bruno Brito's GitHub Stats

Content

๐Ÿš€ Quick setup

  1. Copy-paste the markdown below into your GitHub profile README
  2. Replace the value after brunobritodev with your GitHub username
[![My Awesome Stats](https://awesome-github-stats.azurewebsites.net/user-stats/brunobritodev)](https://git.io/awesome-stats-card)

๐Ÿ’ป Demo Site

Here you can customize your Card with a live preview: https://awesome-github-stats.azurewebsites.net/

Demo Site

๐Ÿ’๐Ÿป SVGs wanted.

If you are a Jedi Master building SVG, help-me adding new SVG's templates. Then we try to add some data on it!


๐Ÿ–Œ๏ธ Card Types

There are few Card types to show your stats. Change cardType parameter.

Card Preview
level (default) level
level-alternate level-alternate
github github
octocat octocat

๐ŸŽจ Themes

To enable a theme, append &theme= followed by the theme name to the end of the source url:

[![GitHub Streak](https://awesome-github-stats.azurewebsites.net/user-stats/brunobritodev&theme=dark)](https://git.io/awesome-stats-card)
Theme Preview
default default
dark dark
tokyonight highcontrast
More themes! ๐ŸŽจ See a list of all available themes

If you have come up with a new theme you'd like to share with others, open an issue to add it!

๐Ÿ”ง Options

The user field is part of url user-stats/<user>, which is required. All other fields are optional.

If the theme parameter is specified, any color customizations specified will be applied on top of the theme, overriding the theme's values.

Parameter Details Example
theme The theme to apply (Default: default) dark, radical, etc. ๐ŸŽจโžœ
show_icons Dont shown icons at left of labels (Default: true) true or false
preferLogin Use github login instead of name (Default: false) true or false
background Background color hex code (without #) or css color
border Border color hex code (without #) or css color
text Color of the text hex code (without #) or css color
title Color of the title at top hex code (without #) or css color
icon Color of the icons hex code (without #) or css color
ring Color of the ring around the level hex code (without #) or css color

Example

[![My Awesome Custom Stats](https://awesome-github-stats.azurewebsites.net/user-stats/brunobritodev?theme=tokyonight&Ring=DD2727&Border=13DD57&Text=DD2727)](https://git.io/awesome-stats-card)

โ„น๏ธ How these stats are calculated

This tool uses GitHub GraphQL to compute yours contributions since your first day at GitHub.

To include contributions in private repositories, turn on the setting for "Private contributions" from the dropdown menu above the contribution graph on your profile page.

Contributions include:

  • Public commits
  • Private commits
  • Commits in your repositories
  • Commits made in another repositories
  • Pull requests to your repositories
  • Pull requests to another repositories
  • Issues
  • Direct stars - Stars from your repositories
  • Indirect Stars - Stars from repo's you have made some contribution
  • Repositories you have created

If stats not showing look at Learn more about what is considered a contribution.

Note: You may need to wait up to 24 hours for new contributions to show up (Learn how contributions are counted)

Note: To prevent too many requests at GitHub we have an agressive cache strategy. You have to wait 24 hours to our server fetch your data again.

To check your stats go to:

The magic๐ŸŒŸ begins from these endpoints!

๐Ÿค— Contributing

Contributions are welcome! Feel free to open an issue or submit a pull request if you have a way to improve this project.

Make sure your request is meaningful and you have tested the app locally before submitting a pull request.

๐Ÿค” Motivations

Actually another repositories with the same goal doesn't count stats with accuracy. The main goal is to have a strong data first, then a beatiful svg.

๐Ÿงฐ Installing Requirements

Requirements

Authorization

To get the GitHub API to run locally you will need to provide a token.

  1. Go to https://github.com/settings/tokens
  2. Click "Generate new token"
  3. Add a note (ex. "GitHub Pat"), then scroll to the bottom and click "Generate token"
  4. Copy the token to your clipboard
  5. Go to file appsettings.json in the src/AwesomeGithubStats.Api directory and add your PAT at PATS: [...] with your token
"PATS": [
  "your_pat_here"
]

Running the tests

Before you can run tests, you have to add your PAT in appsettings.json at tests/Tests. Just how you have done above.

dotnet test

๐Ÿ’• Special thanks

Special thanks for github-readme-streak-stats who build a Demo site. This version is almost the same code from there.

And another special thank to Sindre Sorhus to increase the difficult to find a magical number to create Levels. The levels are based in his contributions.


๐Ÿ™‹โ€โ™‚๏ธ Support

๐Ÿ’™ If you like this project, give it a โญ and share it with friends!


Made .NET 6 โค๏ธ

More Repositories

1

JPProject.IdentityServer4.AdminUI

๐Ÿ”ง ASP.NET Core 3 & Angular 8 Administration Panel for ๐Ÿ’žIdentityServer4 and ASP.NET Core Identity
HTML
741
star
2

JPProject.IdentityServer4.SSO

๐Ÿ”’ ASP.NET Core 3.1 Open Source SSO. Built within IdentityServer4 ๐Ÿ”‘
HTML
444
star
3

MongoDB-RepositoryUoWPatterns

Example of an implementation of Repository and Unit of Work Patterns with MongoDB for ASP.NET Core.
C#
193
star
4

AspNetCore.IQueryable.Extensions

LINQ extensions to help build IQueryAble Expressions
C#
141
star
5

JPProject.Core

Administration classes for ASP.NET Identity and IdentityServer4
Smalltalk
47
star
6

RESTFul.API-Example

A RESTFul API demo for ASP.NET Core
C#
44
star
7

santander.pix.integracao

Demo para gerar Token PIX com o Santander com mutual TLS
C#
39
star
8

RabbitMQ-EventSourcing

Example app for Event Sourcing with RabbitMQ. To build high available services.
C#
30
star
9

refresh-token-sample

C#
22
star
10

ProtectApplicationsDemo

Several samples showing how to protect an application. By Cookies, JWT and OAuth 2.0
C#
22
star
11

IdentityServer4AngularOIDC

Example App - IdentityServer4 login through Angular 6 and OpenId Connect
HTML
18
star
12

secure-api-identityserver4

Securing an ASP.NET Core 3.1 API with IdentityServer4
C#
18
star
13

Palestras

HTML
17
star
14

AspNetCore-IdentityServer4-Example

Sample application
C#
16
star
15

AsymetricEncryption.JWE

Using JWE to cryptograph a credit card before send it through network to Server.
C#
16
star
16

DecoratorDemo

An example showing how to use Decorator both manual and using Scruptor
C#
15
star
17

criptografia-devs

C#
15
star
18

CacheStrategy

A IOC technique to add Cache to some components without change component itself.
C#
14
star
19

DapperExamples

Many use case for Dapper
C#
12
star
20

JWT-Step-by-Step

C#
10
star
21

Hashcat.ASPNET.Identity

Several demos showing how bad some hash algorithms can be to protect password. One demo show how to transform ASP.NET Identity hash to hashcat format
C#
9
star
22

Generate-And-StoreJwt

C#
5
star
23

identityserver4-angular-demo

Demo showing how to integrate angular 8 and IdentityServer4
HTML
5
star
24

oidc-samples

Many samples using OpenId Connect against Is4
JavaScript
3
star
25

ASP.NET-Core-SQL-Injection-Example

This repo shows how to made a Sql Injection attacks and how to prevent it
C#
3
star
26

Tests-RSA-ECDsa-HMAC-JWK

Examples how to generate and store asymmetric algorithms with JsonWebKey
C#
3
star
27

oauth2-custom-authorizer

OAuth 2.0 Custom Authorizer for AWS API Gateway. It validate bearer tokens. Both JWT and Reference Token
TypeScript
3
star
28

Identity-SecurePassword-Passprotect

Demo showing how to improve password security with Passprotect using ASP.NET Core MVC & Identity
C#
2
star
29

rinha-backend-dotnet

Uma versรฃo otimizando banco de dados
C#
2
star
30

BlazorInteropJS

Interoprabilidade Blazor - Gerando PDF atravรฉs da lib javascript JSPdf.
C#
2
star
31

Blazor-FirstStep

Projeto exemplo do Blazor
C#
2
star
32

CognitiveServicesExamples

Computer Vision Api through Angular and Web Api
TypeScript
2
star
33

project-renamer

C#
1
star
34

DevOps-Example

Sample project for Azure DevOps demonstration
C#
1
star
35

brunobritodev

1
star
36

ThreadPool-Example

An example to show how async / await can improve scalability at ASP.NET
C#
1
star
37

AutoTranslate-ResxJson

C#
1
star
38

node-accesstoken-validation

OAuth 2.0 Bearer token validation. It validate JWT tokens and reference tokens (Introspection) as well. Supports RSA, ECDsa, HMAC.
TypeScript
1
star
39

FIDO2.Demo

Passwordless e Usernameless flows demo integrated with ASP.NET Identity
C#
1
star
40

kubernetes-site

Sample to show how to use Git Volumes
HTML
1
star
41

manga

C#
1
star
42

PathTooLongRemove

App to delete Windows folder with Path Too Long problem
C#
1
star
43

PhotoGPS-Update

This project aims to update the geolocation information of photos using Google Timeline data
C#
1
star
44

NET.Core-ConsoleDocker

An alternative for Web Jobs
C#
1
star
45

ConsoleApp-DockerCron

This demo show up how to build and schedule a .NET Core Console App to run every 15 seconds within a Docker
Dockerfile
1
star