Build an integration โ
This section is for adapter authors and developers embedding Portline's shared infrastructure. To use an existing application library or command, start with Libraries. For moving a supported saved connection, follow Workflows.
Choose the integration task โ
| Task | Guide |
|---|---|
| Query normalized metadata | Shared API quick start |
| Implement a reader or discovery provider | Profile/source model and architecture |
| Execute files or SSH with a selected profile | Shared Dockline bridge |
| Resolve credential references explicitly | Credential providers |
| Embed commands in an executable | CLI toolkit quick start |
| Plan sync or implement a native writer | Sync planning and native writing |
| Look up public exports and exact types | API contracts and TypeScript signatures |
Shared packages โ
| Package | Responsibility |
|---|---|
@jalsoedesign/portline-abstract | Profiles, sources, credentials, writer and provider contracts |
@jalsoedesign/portline-core | Catalogs, queries, credential resolution, connector registration and sync planning |
@jalsoedesign/portline-platform | Native discovery/storage primitives and guarded writer infrastructure |
@jalsoedesign/portline-cli | Embeddable CLI parsing, commands and presentation |
@jalsoedesign/portline-dockline | Optional shared file-transfer and SSH execution bridge |
Choose packages based on the installation guide. The shared CLI package provides a toolkit; each application repository supplies its own executable.
The complete examples retain TypeScript, JavaScript, MJS and CommonJS tabs, matching run commands and verified output. Example setup explains the language variants. Contributor builds and packed-package checks live under development.