Skip to content
This repository was archived by the owner on Jan 12, 2026. It is now read-only.

yuchannslv5/lobechat-plugin-template

Repository files navigation

🤯 lobechat-plugin-template

A Lobe-chat plugin template for Cloudflare Workers.

An example to provide the weather query service

⚙️ Development

We use pnpm as package manager. Follow these simple steps to get started:

# 📦 Install dependencies pnpm install # 🛠️ Start development server pnpm dev

This will start a local development server at http://localhost:5173.

Add your plugins to the src/apis directory. Each plugin should be added to the providers array in src/apis/index.ts.

Miscellaneous

There is something you need to replace in files:

  • wrangler.toml: Replace name and service with your own values.
  • src/manifest.ts: Replace all the constants with your own values.

🌟 Deployment

This is a Cloudflare Worker project. Deploy it to Cloudflare Workers with just one command:

# 🚀 Build and deploy pnpm run deploy

Once deployed, you can access your plugin manifest at: https://your-worker-name.your-account.workers.dev/manifest.json

About

🤯 A Lobe-chat plugin template for Cloudflare Workers

Topics

Resources

License

Stars

Watchers

Forks

Contributors