Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

### Skills

A clear way to give an overview of programming languages, tools, and software that you're familiar with.
A clear way to give an overview of programming languages, tools, software, and AI/LLM tools that you're familiar with.

#### Languages

Expand Down Expand Up @@ -63,6 +63,18 @@ Default | &includeNames=true
[![GitHub WidgetBox](https://github-widgetbox.vercel.app/api/skills?software=linux,windows,vscode)](https://github.com/Jurredr/github-widgetbox)
```

#### AI

Default | &includeNames=true
:-------------------------:|:-------------------------:
[![GitHub WidgetBox](https://github-widgetbox.vercel.app/api/skills?ai=anthropic,claude,googlegemini,githubcopilot,perplexity)](https://github.com/Jurredr/github-widgetbox) | [![GitHub WidgetBox](https://github-widgetbox.vercel.app/api/skills?ai=anthropic,claude,googlegemini,githubcopilot,perplexity&includeNames=true)](https://github.com/Jurredr/github-widgetbox)

```md
[![GitHub WidgetBox](https://github-widgetbox.vercel.app/api/skills?ai=anthropic,claude,googlegemini,githubcopilot,perplexity)](https://github.com/Jurredr/github-widgetbox)
```

Full list: `anthropic`, `claude`, `googlegemini`, `githubcopilot`, `perplexity`, `mistralai`, `metaai`, `huggingface`, `langchain`, `ollama`, `cursor`, `deepseek`, `replicate`.

<br/><br/>
### Profile

Expand Down
11 changes: 6 additions & 5 deletions api/routes/skills-route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,26 @@ import { getBoolean, getTheme } from '../../src/utils'
import errorWidget from '../../src/widgets/error'
/**
* Primary skill path.
*
*
* This path is for the primary skill screen. It has the following possible queries
* @param languages the list of languages to show.
* @param frameworks the list of frameworks to show.
* @param libraries the list of libraries to show.
* @param tools the list of tools to show.
* @param software the list of software to show
* @param ai the list of AI/LLM tools to show
* @param includeNames the option if it has to include names.
* @param theme the theme of the widget.
* @param names @deprecated the full list of all skills it needs to show. deprecated from version 1.1.0 onwards.
*/
router.get('/', function (req: Request, res: Response) {
const { names, languages, frameworks, libraries, tools, software, includeNames, theme} = req.query
const { names, languages, frameworks, libraries, tools, software, ai, includeNames, theme} = req.query

// Set the header's type to svg/xml
res.setHeader('Content-Type', 'image/svg+xml')

// Check if languages argument is not present
if (!languages && !frameworks && !libraries && !names && !tools && !software
if (!languages && !frameworks && !libraries && !names && !tools && !software && !ai
) {
res.send(
errorWidget('Skills', '-24%', 'Languages are undefined!', '-28%')
Expand All @@ -35,9 +36,9 @@ router.get('/', function (req: Request, res: Response) {
}

if (names) {
res.send(skillsWidget(String(names), undefined, undefined, undefined, undefined, getBoolean(String(includeNames)), String(theme)))
res.send(skillsWidget(String(names), undefined, undefined, undefined, undefined, undefined, getBoolean(String(includeNames)), String(theme)))
} else {
res.send(skillsWidget(String(languages), String(frameworks), String(libraries), String(tools), String(software), getBoolean(String(includeNames)), String(theme)))
res.send(skillsWidget(String(languages), String(frameworks), String(libraries), String(tools), String(software), String(ai), getBoolean(String(includeNames)), String(theme)))
}

// Grab the Skills widget
Expand Down
11 changes: 6 additions & 5 deletions public/api/routes/skills-route.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion public/api/routes/skills-route.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading