- Clone this repository
- Initialize your virtual environment (Guide)
python -m venv .venv
- Activate environment:
source .venv/bin/activate
- Install Poetry and the project dependencies:
pip install poetry
poetry install
- Install extractor:
meltano install extractor tap-github
- Install loaders:
meltano install loader target-jsonl
meltano install loader target-csv
- Visit the Github tokens page
- Click on the "Generate New Token" button
- Give it a name, expiration, and permissions to access public repositories only
- Click on "Generate Token"
- Copy the token and add it to a .env file
TAP_GITHUB_AUTH_TOKEN=token
- Alternatively, export it to the terminal
- export TAP_GITHUB_AUTH_TOKEN=token
- Run the following command
meltano run tap-github target-jsonl
- Feel free to modify the meltano.yml in the "select" to modify what to extract