Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ferasaljoudi/toplanguages


https://github.com/ferasaljoudi/toplanguages

Last synced: 7 days ago
JSON representation

Awesome Lists containing this project

README

        


Top Languages


Top Languages Service is a web service that generates a language usage image for a given GitHub username.




Overview


The service provides an API endpoint that returns an image showing the most used programming languages of a specified GitHub user, including both forked and not forked repositories.

### Parameters:

- `username` (required): The GitHub username for which to generate the language usage image.
- `format` (optional): The format of the image. Valid options are `list` or `chart`. If you choose not to select one, the default is `chart`.
- `titleColor` (optional): The color of the image title in hex format. Default is `#FFFFFF`.
- `backgroundColor` (optional): The background color of the chart in hex format. Default is `#0d1117`.




Technologies Used


👨‍💻 Languages



JavaScript

🌐 Web Development



NPM


Node Js

💻 Tools and Platforms



VS CODE


Docker


Casa Os

⚙️ Hardware Development



RASPBERRY PI




Request Demonstrations


## Default request:

Replace the `username` value with your github username
```sh
![Most Used Languages](https://top-languages.aljoudi.ca/api/top-langs/image?username=ferasaljoudi)
```
### Demo:

![Most Used Languages](https://top-languages.aljoudi.ca/api/top-langs/image?username=ferasaljoudi)

## Format request:

`format` value can be `chart`, which is the default, or `list` as the below example

Replace the `username` value with your github username

```sh
![Most Used Languages](https://top-languages.aljoudi.ca/api/top-langs/image?username=ferasaljoudi&format=list)
```
### Demo:

![Most Used Languages](https://top-languages.aljoudi.ca/api/top-langs/image?username=ferasaljoudi&format=list)

## Color request:

`titleColor` and `backgroundColor` can be applied to both `chart` and `list` format

Replace the `username` value with your github username

Replace the `titleColor` and `backgroundColor` values with the color of your choice

```sh
![Most Used Languages](https://top-languages.aljoudi.ca/api/top-langs/image?username=ferasaljoudi&format=list&titleColor=1E90F0&backgroundColor=000020)
```
### Demo:

![Most Used Languages](https://top-languages.aljoudi.ca/api/top-langs/image?username=ferasaljoudi&format=list&titleColor=1E90F0&backgroundColor=000020)