Coder Social home page Coder Social logo

akshataggarwal14 / cp-badges Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 23 KB

Support for Competitive Coding badges to add in Github readme or portfolio websites.

Home Page: https://cp-badges.deta.dev/codeforces/master._.mind

License: GNU General Public License v3.0

Python 100.00%

cp-badges's Introduction

CP-Badges

As the kehsihba19/CP-Badges's server was dead, i decided to host this API myself using deta micros.

This repo helps you to create your custom profile badges with Max rating in Codechef, Codeforces and many more.

Endpoints

https://cp-badges.deta.dev/codeforces/<user_name>
https://cp-badges.deta.dev/codechef/<user_name>
https://cp-badges.deta.dev/atcoder/<user_name>
https://cp-badges.deta.dev/topcoder/<user_name>
https://cp-badges.deta.dev/yukicoder/<user_name>
https://cp-badges.deta.dev/uri/<user_name>
https://cp-badges.deta.dev/leetcode/<user_name>
https://cp-badges.deta.dev/leetcode-cn/<user_name>

Usage

[![Badge](https://cp-badges.deta.dev/codechef/gennady.korotkevich)]

This corresponds to

Badge

You can also show the logo along with the website name and rating by including the query parameter with the URL ?logo=true

For example

[![Badge](https://cp-badges.deta.dev/codechef/gennady.korotkevich?logo=true)]

This corresponds to

Badge

You can add custom links also to the badge for reference :

[![Badge](https://cp-badges.deta.dev/codechef/gennady.korotkevich)]
(https://www.codechef.com/users/gennady.korotkevich)

This will add a link to the badge

Badge

Fun Fact

The colour of the badge changes as your maximum rating changes according to the website policy.

Some examples are -

Badge Badge Badge

Badge Badge Badge

Badge Badge Badge

Badge Badge Badge

Badge Badge Badge

Badge Badge Badge

Badge

Badge

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

cp-badges's People

Contributors

akshataggarwal14 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

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.