This repository is an ESM version of https://github.com/faros-ai/airbyte-connectors, which is written in CommonJS. If you want to build a source connector that needs to import pure ESM packages, you need something like this. Learn more.
See the READMEs inside destinations/ and sources/ subfolders for more information on each connector.
| Component | Code | Installation | Version |
|---|---|---|---|
| Airbyte CDK | faros-airbyte-cdk | npm i faros-airbyte-cdk |
|
| Faros Destination | destinations/airbyte-faros-destination | npm i airbyte-faros-destination or docker pull farosai/airbyte-faros-destination |
|
| Web3 Analytics Source | sources/airbyte-web3analytics-source | docker pull web3analytics/airbyte-web3analytics-source |
- Install
nvm - Install Node.js
nvm install 16 && nvm use 16 - Install
lernaby runningnpm install -g lerna - Run
npm ito install dependencies for all projects (npm run cleanto clean all) - Run
npm run buildto build all projects (for a single project add scope, e.gnpm run build -- --scope airbyte-faros-destination) - Run
npm run testto test all projects (for a single project add scope, e.gnpm run test -- --scope airbyte-faros-destination) - Run
npm run lintto apply linter on all projects (for a single project add scope, e.gnpm run lint -- --scope airbyte-faros-destination)
👉 Follow our guide on how to develop a new source here.
- Audit fix
npm audit fix - Clean your project
npm run clean
Read more about lerna here.
In order to build a Docker image for a connector run the docker build command and set path and version arguments.
For example for Faros Destination connector run:
docker build . --build-arg path=destinations/airbyte-faros-destination --build-arg version=0.0.1 -t airbyte-faros-destinationAnd then run it:
docker run airbyte-faros-destination