Skip to content

Latest commit

 

History

18 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Repository Collector

Searches GitHub for repositories matching configurable queries and exports the results to CSV. The output is formatted to be compatible with AiSysRev for screening GitHub repositories in a systematic literature review.

Requirements

  • Python 3.11+
  • GitHub personal access token recommended

Install dependencies

This project supports uv (recommended) or plain pip.

Using uv (recommended)

uv creates an isolated .venv in the repo instead of installing into your default/global environment:

uv sync

Then prefix commands below with uv run, e.g. uv run streamlit run scripts/github_ui.py.

Using pip

pip install -r requirements.txt

Running the Streamlit UI

Start the UI from the repository root:

streamlit run scripts/github_ui.py
# or with uv:
uv run streamlit run scripts/github_ui.py

Running from the command line

Set a GitHub token:

export GITHUB_TOKEN="your_token_here"

Run the repository search tool in the repository root:

python3 scripts/github_search_to_csv.py --config configs/config.toml
# or with uv:
uv run scripts/github_search_to_csv.py --config configs/config.toml

The output path is defined in the config file.

Count query results

To count how many repositories each query matches:

python3 scripts/query_count.py --config configs/config.toml
# or with uv:
uv run scripts/query_count.py --config configs/config.toml

Also show sample repositories:

python3 scripts/query_count.py --config configs/config.toml --samples

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages