{"id":23084309,"url":"https://github.com/swetrix/cq-source-swetrix","last_synced_at":"2025-08-16T01:32:10.427Z","repository":{"id":65917205,"uuid":"594230945","full_name":"Swetrix/cq-source-swetrix","owner":"Swetrix","description":"Swetrix CloudQuery integration","archived":false,"fork":false,"pushed_at":"2023-11-20T19:44:43.000Z","size":52,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-20T06:27:24.512Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Swetrix.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-27T22:54:11.000Z","updated_at":"2024-01-27T13:59:51.000Z","dependencies_parsed_at":"2024-06-20T05:44:33.435Z","dependency_job_id":"660c12d9-1045-4232-951c-68121f75c9a2","html_url":"https://github.com/Swetrix/cq-source-swetrix","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Swetrix%2Fcq-source-swetrix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Swetrix%2Fcq-source-swetrix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Swetrix%2Fcq-source-swetrix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Swetrix%2Fcq-source-swetrix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Swetrix","download_url":"https://codeload.github.com/Swetrix/cq-source-swetrix/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229989012,"owners_count":18155847,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-16T15:51:05.583Z","updated_at":"2024-12-16T15:51:06.179Z","avatar_url":"https://github.com/Swetrix.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CloudQuery Swetrix Source Plugin\n\nA Swetrix source plugin for CloudQuery that loads data from Swetrix to any database, data warehouse or data lake supported by [CloudQuery](https://www.cloudquery.io/), such as PostgreSQL, BigQuery, Athena, and many more.\n\n## Links\n\n- [CloudQuery Quickstart Guide](https://www.cloudquery.io/docs/quickstart)\n- [Configuration](docs/overview.md)\n- [Supported Tables](docs/tables/README.md)\n\n## Authentication\n\nThe Swetrix source plugin uses the [Swetrix API](https://docs.swetrix.com/statistics-api) to fetch data. You will need to create an API key in the Swetrix portal. See the [Configuration](docs/overview.md) section for more information on running the Swetrix plugin.\n\n## Development\n\n### Run tests\n\n```bash\nmake test\n```\n\n### Run linter\n\n```bash\nmake lint\n```\n\n### Generate docs\n\n```bash\nmake gen-docs\n```\n\n### Compile\n```bash\nmake build\n```\n\n### Release a new version\n\n1. Run `git tag v1.0.0` to create a new tag for the release (replace `v1.0.0` with the new version number)\n2. Run `git push origin v1.0.0` to push the tag to GitHub  \n\nOnce the tag is pushed, a new GitHub Actions workflow will be triggered to build the release binaries and create the new release on GitHub.\nTo customize the release notes, see the Go releaser [changelog configuration docs](https://goreleaser.com/customization/changelog/#changelog).\n\n### Publish a new version to the Cloudquery Hub\n\nAfter tagging a release, you can build and publish a new version to the [Cloudquery Hub](https://hub.cloudquery.io/) by running the following commands.\nReplace `v1.0.0` with the new version number.\n\n```bash\n# \"make dist\" uses the README as main documentation and adds a generic release note. Output is created in dist/\nVERSION=v1.0.0 make dist\n\n# Login to cloudquery hub and publish the new version\ncloudquery login\ncloudquery plugin publish --finalize\n```\n\nAfter publishing the new version, it will show up in the [hub](https://hub.cloudquery.io/).\n\nFor more information please refer to the official [Publishing a Plugin to the Hub](https://www.cloudquery.io/docs/developers/publishing-a-plugin-to-the-hub) guide.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswetrix%2Fcq-source-swetrix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswetrix%2Fcq-source-swetrix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswetrix%2Fcq-source-swetrix/lists"}