Skip to content

gleanwork/copier-glean-connector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

copier-glean-connector

A copier template for scaffolding custom Glean indexing connectors using the glean-indexing-sdk.

Prerequisites

Install copier:

uv tool install copier

Usage

Generate a new connector project:

copier copy gh:gleanwork/copier-glean-connector my-connector

The wizard will prompt for project name, connector type, and other options. After generation, the template automatically runs git init, uv sync, and ruff format.

Connector Types

Datasource Connectors

Index documents and content into Glean.

Type SDK Base Class Best For
Basic BaseDatasourceConnector Small data sources (~1,000 records) where all data fits in memory
Streaming BaseStreamingDatasourceConnector Paginated APIs or larger datasets; yields records in batches
Async Streaming BaseAsyncStreamingDatasourceConnector Large or high-latency data sources; concurrent I/O with async generators

People Connectors

Index employee/people data into Glean using BasePeopleConnector.

Updating a Generated Project

When this template is updated, pull changes into your project:

copier update

About

Copier template for scaffolding custom Glean indexing connectors

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages