chatgpt-plugin
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published
ChatGPT Plugin TS

ChatGPT Plugin TS

Types and utilities for building ChatGPT Plugins with TypeScript.

chatgpt-plugin NPM package Build Status MIT License Prettier Code Formatting

Intro

Currently, this package only contains types for .well-known/ai-plugin.json manifest files. We're actively working on adding more utilities to validate plugin manifests and OpenAPI specs.

We'll also be consolidating best practices as we develop more plugins.

The goals of this package are to:

  • Help developers build ChatGPT Plugins with TS
  • Distill best practices for building ChatGPT Plugins with TS
  • Be agnostic to the underlying server framework (e.g. itty-router, Express, Fastify, etc)
  • Be agnostic to the underlying hosting provider (e.g. Cloudflare, Vercel, AWS, etc)

Framework-specific and hosting provider-specific examples can be found in the example plugins folder.

See the main readme for more details.

Install

npm install chatgpt-plugin
# or
yarn add chatgpt-plugin
# or
pnpm install chatgpt-plugin

Usage

import { type AIPluginManifest, isValidChatGPTIPAddress } from 'chatgpt-plugin'

// see the example plugins for more details

License

MIT © Travis Fischer

If you found this project interesting, please consider sponsoring me or following me on twitter twitter

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i chatgpt-plugin

    Weekly Downloads

    44

    Version

    0.1.2

    License

    MIT

    Unpacked Size

    43.5 kB

    Total Files

    16

    Last publish

    Collaborators

    • fisch0920