Dpla community webs ingest

From dpla/ingestion3 · View interactive version

Dpla community webs ingest is an AI agent skill from the GitHub repository dpla/ingestion3. Run Community Webs ingest from SQLite DB. Use when the user says harvest community-webs, run community-webs ingest, export community webs, or process community webs DB.

How to use this skill

Skill file

DPLA Community Webs Ingest

Purpose

Run the Community Webs ingest workflow: export SQLite DB → JSONL → ZIP → harvest → (optional) full pipeline. Internet Archive sends a SQLite database; the scripts handle the intermediate export step automatically.

When to Use

Environment: Source .env before running so JAVA_HOME, DPLA_DATA, I3_CONF are set. Scripts that source common.sh load $I3_HOME/.env when present. Full checklist: AGENTS.md § Environment and build.

Workflow

  1. Place the DB in $DPLA_DATA/community-webs/originalRecords/ (or provide path via --db=).
  2. Run export + harvest (or full pipeline):
  1. Verify outputs: _SUCCESS in harvest/mapping/enrichment/jsonl dirs.

Scripts

| Script | Purpose |

|--------|---------|

| community-webs-export.sh | Export DB → JSONL → ZIP; validates schema before zipping |

| community-webs-ingest.sh | Orchestrates export + harvest (+ optional full pipeline) |

Options

community-webs-export.sh:

community-webs-ingest.sh:

Output

Validation

The export script runs community-webs-validate-jsonl.py on the JSONL before zipping. It checks:

Tests: ./venv/bin/python -m pytest scripts/tests/test_community_webs_validation.py -v

Critical Rules

Key References

| Resource | Path |

|----------|------|

| Script reference | scripts/SCRIPTS.md |

| Ingest docs | README_INGESTS.md |

| Agent guide | AGENTS.md |

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.