Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/johndev19/github-skill-matrix
This API generates a skill matrix in SVG format based on a GitHub user’s repositories.
https://github.com/johndev19/github-skill-matrix
api github javascript node-js readme-md skill-matrix skills
Last synced: 17 days ago
JSON representation
This API generates a skill matrix in SVG format based on a GitHub user’s repositories.
- Host: GitHub
- URL: https://github.com/johndev19/github-skill-matrix
- Owner: JohnDev19
- License: mit
- Created: 2024-11-07T12:10:15.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-11-08T12:19:48.000Z (3 months ago)
- Last Synced: 2024-11-17T07:35:00.522Z (2 months ago)
- Topics: api, github, javascript, node-js, readme-md, skill-matrix, skills
- Language: JavaScript
- Homepage: https://github-skill-matrix.onrender.com/
- Size: 6.68 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GitHub Skill Matrix API
This API generates a skill matrix in SVG format based on a GitHub user's repositories. The matrix displays programming languages used by the user, with skill levels calculated from the number of repositories in each language.
## Demo
Below are examples of each theme:
### Available Themes
---
## Usage
### API Endpoints
#### Get Skill Matrix
- **Endpoint**: `/api/skills/:username/:theme?`
- **Method**: `GET`
- **Description**: Generates an SVG skill matrix for a specified GitHub username with an optional theme.- **Parameters**:
- `username` (required): The GitHub username.
- `theme` (optional): Theme for the SVG. Options include:
- `light`, `dark`, `vibrant`, `neon`, `futuristic`, `pastel`, `retro`, `nature`, `warm`, `cool`- **Example Request**:
```bash
curl https://github-skill-matrix.onrender.com/api/skills/JohnDev19/cool
```- **Example Response**:
The endpoint returns an SVG image based on the user’s repositories and selected theme. This SVG includes each language used by the user, along with a visual skill level indicator based on the number of repositories in each language.### Installation & Setup
1. Clone the repository:
```bash
git clone https://github.com/JohnDev19/GitHub-Skill-Matrix.git
cd GitHub-Skill-Matrix
```2. Install dependencies:
```bash
npm install
```3. Create a `.env` file in the root directory and add your environment variables:
```plaintext
PORT=3000
```4. Start the server:
```bash
node index.js
```5. The API will be available at `http://localhost:3000`.
### Configuration
- **PORT**: Set the port in `.env`. The default is `3000` if not specified.
---
## Contributing
Contributions to add more themes or enhance the functionality are welcome. Please create a pull request or submit an issue for new ideas or bug reports.
---
## License
This project is licensed under the MIT [LICENSE](LICENSE).