Categorygithub.com/hermanschaaf/cq-source-xkcd
repositorypackage
2.0.0+incompatible
Repository: https://github.com/hermanschaaf/cq-source-xkcd.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# README

CloudQuery XKCD Source Plugin

test Go Report Card

This CloudQuery source plugin fetches data from the XKCD API, allowing you to load the XKCD comic data into any CloudQuery-supported destination (e.g. PostgreSQL, Elasticsearch, Snowflake, etc.). See CloudQuery destinations for a complete list of supported destinations.

It was originally developed as part of a live-coding tutorial on how to write your own CloudQuery source plugin. It only took 30 minutes! You can watch the video here: https://www.youtube.com/watch?v=3Ka_Ob8E6P8

Links

Configuration

The following source configuration file will sync all comics to a local SQLite database. See the CloudQuery Quickstart for more information on how to configure the source and destination.

kind: source
spec:
  name: xkcd
  path: hermanschaaf/xkcd
  version: v1.0.1
  destinations: ["sqlite"]
  spec:
---
kind: destination
spec:
  name: sqlite
  path: cloudquery/sqlite
  version: v1.2.3
  spec:
    connection_string: ./db.sqlite

Save the file as config.yaml, then run:

cloudquery sync config.yaml