Skip to content

Latest commit

 

History

History
101 lines (68 loc) · 3.21 KB

README.md

File metadata and controls

101 lines (68 loc) · 3.21 KB

moving your data from a to b, one shovel at a time.

FeaturesInstallationHow to use

This is a proof of concept to generate Airbyte low-code YAML connectors from API documentation. We want this to serve as inspiration to what can be done with LLMs. Here's how it works:

This will generate an OpenAPI specificatin and a Airbyte low-code connector. Try it!

📽️ Demo

Notion

skyffel-notion.mp4

Perplexity

skyffel-compressed.mp4

✅ Key features

  • Co-pilot for generating ETL code for HTTP APIs
  • Support Airbyte low-code YAML connectors
  • Scrapes API documentation
  • Produces OpenAPI specifications

📦 Installation

  1. Clone the repository

    git clone https://github.com/skyffel/airbyte-connector-generator-poc
    cd airbyte-connector-generator-poc
  2. Setup virtual environment

    # Using virtualenv
    virtualenv env
    source env/bin/activate
    
    # Or using venv
    python3 -m venv env
    source env/bin/activate
    
    # Or using poetry
    poetry shell
  3. Install required packages

    poetry install
    playwright install

🚀 How to use

Generates an Airbyte low-code YAML connector using the API documentation provided via URLs.

Set DEBUG=true in .env to enable logs

skyffel --goal "<MY ETL GOAL>" --urls "<URL DOC 1>" --urls "<URL DOC 2>"

Here we generate a connector for extracting all blog posts from the Department of Justice.

skyffel \
    --goal "extract all blog entries from department of justice" \
    --urls https://www.justice.gov/developer/api-documentation/api_v1

📥 Import to Airbyte

After generating the connector, you need to import it to Airbyte. Eventually they might expose an API to do this programatically 🤞 Until then, here's how:

  1. Go to your Airbyte workspace

  2. Click on Builder [BETA] in the menu

  3. Click “New custom connector” in the upper right corner

  4. Click “Import a YAML” and select the generated airbyte_connector.yaml

  5. Fill in the test values and run the test

  6. Press “Publish to workspace”