Skip to content

A basic "Hello world" Copilot Extension example that talks like Blackbeard the pirate

Notifications You must be signed in to change notification settings

biosugar0/blackbeard-extension

 
 

Repository files navigation

Note

This is a fork modified to run on Cloudflare Workers.

Other changes:

  • js -> ts
  • npm -> pnpm
  • use hono
  • fetch -> openai
  • add function calling example

blackbeard-extension

Blackbeard is a basic example of an agent-based GitHub Copilot Extension. It responds to messages like a pirate, using Copilot's LLM API and special system prompts. This repository should serve as an example of the building blocks of a Copilot Extension. See index.ts for the main logic.

Note

Copilot Extensions are in public preview and may be subject to change.

All enrolled users with a GitHub Copilot Individual subscription can use Copilot Extensions. For organizations and enterprises with a Copilot Business or Copilot Enterprise subscription, organization owners and enterprise administrators can grant access to Copilot Extensions for use within their company.

Development

Install dependencies:

pnpm install

To run for development:

pnpm dev

Documentation

About

A basic "Hello world" Copilot Extension example that talks like Blackbeard the pirate

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%