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.
- Python 3.11+
- GitHub personal access token recommended
This project supports uv (recommended) or plain pip.
uv creates an isolated .venv in the repo instead of installing into your default/global environment:
uv syncThen prefix commands below with uv run, e.g. uv run streamlit run scripts/github_ui.py.
pip install -r requirements.txtStart the UI from the repository root:
streamlit run scripts/github_ui.py
# or with uv:
uv run streamlit run scripts/github_ui.pySet 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.tomlThe output path is defined in the config file.
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.tomlAlso show sample repositories:
python3 scripts/query_count.py --config configs/config.toml --samples