> For the complete documentation index, see [llms.txt](https://doc.duaer.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.duaer.com/getting-started/github-repos.md).

# GitHub repositories in Duaer

In Duaer: GitHub: public repositories by words and language, most starred or most recently updated. One successful search uses 1 credit.
## What you get

Duaer GitHub repositories searches public GitHub repositories and returns stars, forks, license, and the last push.

Pick Duaer Data → GitHub repositories in the node creator, or open the [data market](/getting-started/data-market.md). Related: [Hacker News](/getting-started/hacker-news.md), [npm packages](/getting-started/npm.md).

## When to use it

- Find the most starred vector database projects in Python.
- Spot recently updated LLM tools.

## When not to use it

- Security advisories. Use [OSV vulnerabilities](/getting-started/osv.md).
- Published packages. Use [PyPI package](/getting-started/pypi.md).

## Search on the canvas

1. Open the node creator and pick Duaer Data → GitHub repositories.
2. Fill Words (such as vector database). Optional: Language (such as Python), Sort (updated).
3. Limit defaults to 10, max 20. Execute.

A search uses 1 credit only when it returns rows. No rows, wrong input, or an upstream failure uses 0.

## Call the API

- GET https://api.duaer.com/v1/data/github-repos?words=vector%20database
- Authorization: Bearer <Duaer key>

The call skill below matches Copy skill in the Duaer data market, with parameters, examples, and result fields.

## Call skill

Same text as Copy skill.

```
---
name: duaer-github-repos
description: >-
  Duaer GitHub repositories. GitHub: public repositories by words and language, most starred or most recently updated.
  One successful search uses 1 Duaer credit.
---

# Duaer GitHub repositories

Duaer GitHub repositories searches public GitHub repositories and returns stars, forks, license, and the last push.

## When to use

- Find the most starred vector database projects in Python.
- Spot recently updated LLM tools.

## When not to use

- Security advisories. Use https://skills.duaer.com/osv.md.
- Published packages. Use https://skills.duaer.com/pypi.md.

## Call

`GET https://api.duaer.com/v1/data/github-repos?words=vector%20database`

Header: `Authorization: Bearer <Duaer key>`

Use an account key or a model API key.

Get a Duaer key: https://skills.duaer.com/keys.md

## Parameters

Provide `words` or `language`.

- `words` — Words to search, such as vector database.
- `language` — Optional. Programming language such as Python.
- `sort` — Optional. `stars` or `updated`. Default stars.
- `limit` — Optional. Rows to return, from 1 to 20. Default 10.

## Examples

- `GET https://api.duaer.com/v1/data/github-repos?words=vector%20database&language=Python` — top Python vector database projects.
- `GET https://api.duaer.com/v1/data/github-repos?words=llm&sort=updated` — recently updated LLM repositories.

## Result

The response is `{ "items": [...] }`. Each item has `source`, `title`, `url`, and `summary`, plus:

- `repository`, `description`, `homepage` — owner/name and about.
- `stars`, `forks`, `openIssues` — popularity and activity.
- `language`, `topics`, `license` — stack, tags, and SPDX license.
- `pushedAt`, `archived` — last push and whether it is archived.

Fields without a value are left out.

## Credits

A search that returns at least one row uses 1 credit.
An empty search, a search that finds nothing, or a failed search uses 0.
Wrong input returns 400 with a message and uses 0.
No remaining credits returns 402 and does not search.
A missing key returns 401.

## Related

- https://skills.duaer.com/hacker-news.md — Duaer Hacker News
- https://skills.duaer.com/npm.md — Duaer npm packages

```
## Questions

### How many credits does a GitHub repositories search use in Duaer?

One credit when Duaer returns rows. A search with no rows or an error uses 0.

### Can Duaer GitHub repositories search private repositories?

No. Duaer searches public GitHub repositories only.

## Related

- [Hacker News in Duaer](https://doc.duaer.com/getting-started/hacker-news.md)
- [npm packages in Duaer](https://doc.duaer.com/getting-started/npm.md)

