{"id":19356298,"url":"https://github.com/johndev19/github-skill-matrix","last_synced_at":"2025-04-13T06:21:45.046Z","repository":{"id":261603538,"uuid":"884798181","full_name":"JohnDev19/GitHub-Skill-Matrix","owner":"JohnDev19","description":"This API generates a skill matrix in SVG format based on a GitHub user’s repositories.","archived":false,"fork":false,"pushed_at":"2024-11-08T12:19:48.000Z","size":7008,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T22:51:19.463Z","etag":null,"topics":["api","github","javascript","node-js","readme-md","skill-matrix","skills"],"latest_commit_sha":null,"homepage":"https://github-skill-matrix.onrender.com/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JohnDev19.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-07T12:10:15.000Z","updated_at":"2025-01-12T18:30:18.000Z","dependencies_parsed_at":"2024-11-07T13:23:21.221Z","dependency_job_id":"f40f46f8-6d2a-440c-bbca-e41305f75e92","html_url":"https://github.com/JohnDev19/GitHub-Skill-Matrix","commit_stats":{"total_commits":18,"total_committers":1,"mean_commits":18.0,"dds":0.0,"last_synced_commit":"f5f79271851ab1aaf1e3feb41ff66b2cf37a1462"},"previous_names":["johndev19/github-skill-matrix"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnDev19%2FGitHub-Skill-Matrix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnDev19%2FGitHub-Skill-Matrix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnDev19%2FGitHub-Skill-Matrix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnDev19%2FGitHub-Skill-Matrix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JohnDev19","download_url":"https://codeload.github.com/JohnDev19/GitHub-Skill-Matrix/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248671628,"owners_count":21143136,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","github","javascript","node-js","readme-md","skill-matrix","skills"],"created_at":"2024-11-10T07:03:52.151Z","updated_at":"2025-04-13T06:21:45.024Z","avatar_url":"https://github.com/JohnDev19.png","language":"JavaScript","readme":"# GitHub Skill Matrix API\n\nThis 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.\n\n## Demo\n\nBelow are examples of each theme:\n\n### Available Themes\n\n- **Light Theme**  \n  \u003ca href=\"https://github-skill-matrix.onrender.com/api/skills/JohnDev19/light\"\u003e\n    \u003cimg src=\"https://github-skill-matrix.onrender.com/api/skills/JohnDev19/light\" alt=\"Light Theme\" width=\"300\"\u003e\n  \u003c/a\u003e\n\n- **Dark Theme**  \n  \u003ca href=\"https://github-skill-matrix.onrender.com/api/skills/JohnDev19/dark\"\u003e\n    \u003cimg src=\"https://github-skill-matrix.onrender.com/api/skills/JohnDev19/dark\" alt=\"Dark Theme\" width=\"300\"\u003e\n  \u003c/a\u003e\n\n- **Vibrant Theme**  \n  \u003ca href=\"https://github-skill-matrix.onrender.com/api/skills/JohnDev19/vibrant\"\u003e\n    \u003cimg src=\"https://github-skill-matrix.onrender.com/api/skills/JohnDev19/vibrant\" alt=\"Vibrant Theme\" width=\"300\"\u003e\n  \u003c/a\u003e\n\n- **Neon Theme**  \n  \u003ca href=\"https://github-skill-matrix.onrender.com/api/skills/JohnDev19/neon\"\u003e\n    \u003cimg src=\"https://github-skill-matrix.onrender.com/api/skills/JohnDev19/neon\" alt=\"Neon Theme\" width=\"300\"\u003e\n  \u003c/a\u003e\n\n- **Futuristic Theme**  \n  \u003ca href=\"https://github-skill-matrix.onrender.com/api/skills/JohnDev19/futuristic\"\u003e\n    \u003cimg src=\"https://github-skill-matrix.onrender.com/api/skills/JohnDev19/futuristic\" alt=\"Futuristic Theme\" width=\"300\"\u003e\n  \u003c/a\u003e\n\n- **Pastel Theme**  \n  \u003ca href=\"https://github-skill-matrix.onrender.com/api/skills/JohnDev19/pastel\"\u003e\n    \u003cimg src=\"https://github-skill-matrix.onrender.com/api/skills/JohnDev19/pastel\" alt=\"Pastel Theme\" width=\"300\"\u003e\n  \u003c/a\u003e\n\n- **Retro Theme**  \n  \u003ca href=\"https://github-skill-matrix.onrender.com/api/skills/JohnDev19/retro\"\u003e\n    \u003cimg src=\"https://github-skill-matrix.onrender.com/api/skills/JohnDev19/retro\" alt=\"Retro Theme\" width=\"300\"\u003e\n  \u003c/a\u003e\n\n- **Nature Theme**  \n  \u003ca href=\"https://github-skill-matrix.onrender.com/api/skills/JohnDev19/nature\"\u003e\n    \u003cimg src=\"https://github-skill-matrix.onrender.com/api/skills/JohnDev19/nature\" alt=\"Nature Theme\" width=\"300\"\u003e\n  \u003c/a\u003e\n\n- **Warm Theme**  \n  \u003ca href=\"https://github-skill-matrix.onrender.com/api/skills/JohnDev19/warm\"\u003e\n    \u003cimg src=\"https://github-skill-matrix.onrender.com/api/skills/JohnDev19/warm\" alt=\"Warm Theme\" width=\"300\"\u003e\n  \u003c/a\u003e\n\n- **Cool Theme**  \n  \u003ca href=\"https://github-skill-matrix.onrender.com/api/skills/JohnDev19/cool\"\u003e\n    \u003cimg src=\"https://github-skill-matrix.onrender.com/api/skills/JohnDev19/cool\" alt=\"Cool Theme\" width=\"300\"\u003e\n  \u003c/a\u003e\n\n- **Starry Night Theme**  \n  \u003ca href=\"https://github-skill-matrix.onrender.com/api/skills/JohnDev19/starrynight\"\u003e\n    \u003cimg src=\"https://github-skill-matrix.onrender.com/api/skills/JohnDev19/starrynight\" alt=\"Starry Night Theme\" width=\"300\"\u003e\n  \u003c/a\u003e\n\n- **Cyberpunk Theme**  \n  \u003ca href=\"https://github-skill-matrix.onrender.com/api/skills/JohnDev19/cyberpunk\"\u003e\n    \u003cimg src=\"https://github-skill-matrix.onrender.com/api/skills/JohnDev19/cyberpunk\" alt=\"Cyberpunk Theme\" width=\"300\"\u003e\n  \u003c/a\u003e\n\n- **Ocean Theme**  \n  \u003ca href=\"https://github-skill-matrix.onrender.com/api/skills/JohnDev19/ocean\"\u003e\n    \u003cimg src=\"https://github-skill-matrix.onrender.com/api/skills/JohnDev19/ocean\" alt=\"Ocean Theme\" width=\"300\"\u003e\n  \u003c/a\u003e\n\n- **Hacker Theme**  \n  \u003ca href=\"https://github-skill-matrix.onrender.com/api/skills/JohnDev19/hacker\"\u003e\n    \u003cimg src=\"https://github-skill-matrix .onrender.com/api/skills/JohnDev19/hacker\" alt=\"Hacker Theme\" width=\"300\"\u003e\n  \u003c/a\u003e\n\n- **Twilight Theme**  \n  \u003ca href=\"https://github-skill-matrix.onrender.com/api/skills/JohnDev19/twilight\"\u003e\n    \u003cimg src=\"https://github-skill-matrix.onrender.com/api/skills/JohnDev19/twilight\" alt=\"Twilight Theme\" width=\"300\"\u003e\n  \u003c/a\u003e\n\n- **Autumn Theme**  \n  \u003ca href=\"https://github-skill-matrix.onrender.com/api/skills/JohnDev19/autumn\"\u003e\n    \u003cimg src=\"https://github-skill-matrix.onrender.com/api/skills/JohnDev19/autumn\" alt=\"Autumn Theme\" width=\"300\"\u003e\n  \u003c/a\u003e\n\n- **Ice Theme**  \n  \u003ca href=\"https://github-skill-matrix.onrender.com/api/skills/JohnDev19/ice\"\u003e\n    \u003cimg src=\"https://github-skill-matrix.onrender.com/api/skills/JohnDev19/ice\" alt=\"Ice Theme\" width=\"300\"\u003e\n  \u003c/a\u003e\n\n- **Galaxy Theme**  \n  \u003ca href=\"https://github-skill-matrix.onrender.com/api/skills/JohnDev19/galaxy\"\u003e\n    \u003cimg src=\"https://github-skill-matrix.onrender.com/api/skills/JohnDev19/galaxy\" alt=\"Galaxy Theme\" width=\"300\"\u003e\n  \u003c/a\u003e\n\n- **Monochrome Theme**  \n  \u003ca href=\"https://github-skill-matrix.onrender.com/api/skills/JohnDev19/monochrome\"\u003e\n    \u003cimg src=\"https://github-skill-matrix.onrender.com/api/skills/JohnDev19/monochrome\" alt=\"Monochrome Theme\" width=\"300\"\u003e\n  \u003c/a\u003e\n\n---\n\n## Usage\n\n### API Endpoints\n\n#### Get Skill Matrix\n\n- **Endpoint**: `/api/skills/:username/:theme?`\n- **Method**: `GET`\n- **Description**: Generates an SVG skill matrix for a specified GitHub username with an optional theme.\n\n- **Parameters**:\n  - `username` (required): The GitHub username.\n  - `theme` (optional): Theme for the SVG. Options include:\n    - `light`, `dark`, `vibrant`, `neon`, `futuristic`, `pastel`, `retro`, `nature`, `warm`, `cool`\n\n- **Example Request**:\n\n  ```bash\n  curl https://github-skill-matrix.onrender.com/api/skills/JohnDev19/cool\n  ```\n\n- **Example Response**:\n  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.\n\n### Installation \u0026 Setup\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/JohnDev19/GitHub-Skill-Matrix.git\n   cd GitHub-Skill-Matrix\n   ```\n\n2. Install dependencies:\n\n   ```bash\n   npm install\n   ```\n\n3. Create a `.env` file in the root directory and add your environment variables:\n\n   ```plaintext\n   PORT=3000\n   ```\n\n4. Start the server:\n\n   ```bash\n   node index.js\n   ```\n\n5. The API will be available at `http://localhost:3000`.\n\n### Configuration\n\n- **PORT**: Set the port in `.env`. The default is `3000` if not specified.\n\n---\n\n## Contributing\n\nContributions 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.\n\n---\n\n## License\n\nThis project is licensed under the MIT [LICENSE](LICENSE).\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohndev19%2Fgithub-skill-matrix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohndev19%2Fgithub-skill-matrix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohndev19%2Fgithub-skill-matrix/lists"}