@markeljan/bitte-test-temp
v0.0.1-beta-9
Published
Bitte AI chat component
Downloads
135
Readme
Bitte AI Chat
A React component library for building AI chat interfaces with support for multiple AI providers (Anthropic, OpenAI, XAI) and blockchain integration (NEAR, EVM).
Features
- 🤖 Multi-provider AI support (Anthropic, OpenAI, XAI)
- ⛓️ Blockchain integration (NEAR, EVM)
- 🎨 Tailwind CSS styling
- 📝 Markdown rendering support
- 🔌 Plug-and-play React components
- 🎯 TypeScript support
- 💪 Fully tree-shakeable
- 🎁 Zero configuration required
Installation
# Using npm
npm install bitte-ai-chat
# Using yarn
yarn add bitte-ai-chat
# Using pnpm
pnpm add bitte-ai-chat
Peer Dependencies
This package requires the following peer dependencies:
{
"react": "^18.2.0",
"react-dom": "^18.2.0"
}
Optional Dependencies
The following dependencies are optional based on your use case:
near-api-js
@near-js/providers
Usage
import { BitteAIChat } from "bitte-ai-chat";
function App() {
return (
<BitteAIChat
// Your configuration here
/>
);
}
Development
Clone the repository
Install dependencies:
pnpm install
- Start development server:
pnpm dev
- Build the library:
pnpm build
Scripts
build
- Builds the library using Rollupdev
- Starts development server with watch modelint
- Runs ESLintlint:types
- Runs TypeScript type checkingprettier:write
- Formats code using Prettierclean
- Removes build artifacts
License
MIT © [Rui Santiago]
Keywords
- bitte
- near
- ai
- agents
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.