0.0.1-beta-12 • Published 5 months ago

bitte-test-temp v0.0.1-beta-12

Weekly downloads
-
License
MIT
Repository
-
Last release
5 months ago

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

  1. Clone the repository

  2. Install dependencies:

pnpm install
  1. Start development server:
pnpm dev
  1. Build the library:
pnpm build

Scripts

  • build - Builds the library using Rollup
  • dev - Starts development server with watch mode
  • lint - Runs ESLint
  • lint:types - Runs TypeScript type checking
  • prettier:write - Formats code using Prettier
  • clean - Removes build artifacts

License

MIT © Rui Santiago

Keywords

  • bitte
  • near
  • ai
  • agents

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.