Coder Social home page Coder Social logo

avgupta456 / github-trends Goto Github PK

View Code? Open in Web Editor NEW
10.2K 9.0 75.0 4.17 MB

๐Ÿš€ Level up your GitHub profile readme with customizable cards including LOC statistics!

Home Page: https://githubtrends.io

License: MIT License

Python 55.31% JavaScript 42.01% HTML 1.82% CSS 0.14% Dockerfile 0.07% Shell 0.66%
github readme-stats profile-readme github-api github-wrapped

github-trends's Introduction

GitHub Trends

SPECIAL: GitHub Wrapped

Check out your GitHub Wrapped at githubwrapped.io!

github-wrapped


What is GitHub Trends

GitHub Trends dives deep into the GitHub API to bring you exciting and impactful metrics about your code contributions. Generate insights on lines written by language, repository, and time. Easily embed dynamic images into your GitHub profile to share your statistics with the world. Check out some of the examples below:

Quickstart

First, visit https://api.githubtrends.io/auth/signup/public and create an account with GitHub Trends. Then, paste this string into your Markdown content, substituting your username.

[![GitHub Trends SVG](https://api.githubtrends.io/user/svg/avgupta456/langs)](https://githubtrends.io)

And voila, you get a card like above. Keep reading to learn more!

Why GitHub Trends?

Unlike other projects which look at just your public repositories, GitHub Trends computes metrics based on your individual commits. If you commit to open-source projects, or have collaborators contribute to your own repositories, GitHub Trends will better measure your own code contributions. Through this method, GitHub Trends is the first project that allows users to surface lines of code written (LOC) by language and repository. Our web interface also allows for easier customization.

Usage

Website Workflow (Alpha)

Visit githubtrends.io to create an account and get started!

Have questions? Check out the demo!

image


API Workflow (Alpha)

Alternatively, you can communicate directly with the API to create and customize your cards. Read docs/API.md to learn more about the API and customizations.

FAQ

See docs/FAQ.md.

Contributing

See docs/CONTRIBUTING.md.

Acknowledgements

Much inspiration was taken from GitHub Readme Stats. If you haven't already, check it out and give it a star!

github-trends's People

Contributors

avgupta456 avatar deepsourcebot avatar dependabot[bot] avatar rutvikpadhiyar000 avatar vctc 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

github-trends's Issues

Implement async caching for _get_user

Needs to handle max_size, ttl expiry, some method of flagging values not to save, handle exceptions

Current method in utils.py does not handle final two points. Ideally write tests to ensure correctness and move to helper.

"Most User Languages" breakdown not showing all contributions

My card is apparently not showing the hundreds of C++ LOC I've added this year. I'm guessing this is because that work was done in my organization page. Is there currently a way to calculate those in (or is it planned for the future)?

Interestingly, I can see some of my contributions to my org page on the "Most Contributed Repositories" card, but that is also not counting the aforementioned C++ code. Maybe a factor would be that that particular code is being committed to a secondary branch?

Frontend feedback (misc)

remove "progress bar" misconception
make customize link more prominent
change verbige for unreleased features
check font for subheader
don't hide options but grey out

Move demo GitHub API compute to subscriber

Currently loading stats for the demo users happens on the publisher. This can slow other services like authentication and svgs. We want to move the compute to the subscriber instead.

Reduce storage size in MongoDB

Main improvement is to replace individual counts with {"count": [0,0,1,0,0,...]}. Create model and functions to handle compression and decompression

Demo card

Allow users to see public results without logging in using public access tokens while rate limit lasts

Readme updates

Make it easier to embed in your profile (add a TLDR)
Make distinction from other github repos clearer (commit vs repo, loc)

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.