{"id":22612078,"url":"https://github.com/embeddinglayer/fastify-clickhouse","last_synced_at":"2026-05-03T04:36:48.818Z","repository":{"id":266957804,"uuid":"898713292","full_name":"embeddinglayer/fastify-clickhouse","owner":"embeddinglayer","description":"A Fastify Clickhouse Plugin","archived":false,"fork":false,"pushed_at":"2024-12-07T09:05:44.000Z","size":71,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-03T10:11:37.998Z","etag":null,"topics":["clickhouse","fastify","fastify-plugin"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/embeddinglayer.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":"2024-12-04T22:29:25.000Z","updated_at":"2024-12-07T09:05:48.000Z","dependencies_parsed_at":"2024-12-07T09:24:11.575Z","dependency_job_id":"c4e16756-b232-444e-8901-2102ef8f8d2b","html_url":"https://github.com/embeddinglayer/fastify-clickhouse","commit_stats":null,"previous_names":["embeddinglayer/fastify-clickhouse"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/embeddinglayer%2Ffastify-clickhouse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/embeddinglayer%2Ffastify-clickhouse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/embeddinglayer%2Ffastify-clickhouse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/embeddinglayer%2Ffastify-clickhouse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/embeddinglayer","download_url":"https://codeload.github.com/embeddinglayer/fastify-clickhouse/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246117688,"owners_count":20726068,"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":["clickhouse","fastify","fastify-plugin"],"created_at":"2024-12-08T17:09:25.316Z","updated_at":"2026-05-03T04:36:48.742Z","avatar_url":"https://github.com/embeddinglayer.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fastify ClickHouse\n\nA Fastify plugin that simplifies access to the ClickHouse client.\n\nCode rewritten from [Fastify Prisma plugin](https://github.com/joggrdocs/fastify-prisma/blob/main/src/index.ts) to instead use the ClickHouse client.\n\n## Installation\n\nNPM\n\n```bash\nnpm i fastify-clickhouse\n```\n\nYarn\n\n```bash\nyarn add fastify-clickhouse\n```\n\n## Usage\n\nYou can register it with the clickhouse client config\n\n```javascript\nimport fastifyClickHouse from 'fastify-clickhouse';\nawait server.register(fastifyClickHouse, {\n    clientConfig: {\n        url: 'localhost:8123',\n        username: \"USERNAME\",\n        password: \"PASSWORD\"\n    }\n});\n```\n\nOr pass a ClickHouse client instance\n\n```javascript\nimport { createClient } from '@clickhouse/client';\n\nconst clickhouse = await createClient({\n    url: 'localhost:8123',\n    username: \"USERNAME\",\n    password: \"PASSWORD\"\n});\n\nserver.register(fastifyClickHouse, clickhouse);\n```\n\n- [ClickHouse Javascript Documentation](https://github.com/ClickHouse/clickhouse-js)\n  ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fembeddinglayer%2Ffastify-clickhouse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fembeddinglayer%2Ffastify-clickhouse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fembeddinglayer%2Ffastify-clickhouse/lists"}