Overview
Add a new webhook-server command that automatically sets up and manages webhooks to track schema changes in Airtable bases. This feature will enable real-time schema tracking without manual polling.
Motivation
Currently, users need to manually run get-schema to capture base structure changes. An automated webhook system would:
- Capture schema changes in real-time
- Improve the Version-control workflow by automating schema version control
Proposed Implementation
New Command
./airtable-devops webhook-server --base-id <your_base_id> --port 3000 --output-dir <output_directory>
Key Features
- Automated Setup
- Create ngrok tunnel automatically when server starts
- Register webhook with Airtable API pointing to ngrok URL
- Clean up resources on server shutdown
- Versioning
- Use the existing timestamped files for each change, before we develop a git integration
Technical Requirements
Questions to Resolve
- Can we really create free ngrok tunnels automatically ? Should the user register its ngrok API key ?
- Which system to handle versioning ? Should we start with the existing timestamped files for each change ? O
Overview
Add a new
webhook-servercommand that automatically sets up and manages webhooks to track schema changes in Airtable bases. This feature will enable real-time schema tracking without manual polling.Motivation
Currently, users need to manually run
get-schemato capture base structure changes. An automated webhook system would:Proposed Implementation
New Command
Key Features
Technical Requirements
Questions to Resolve