- Create core/oauth module with OAuthProvider enum and shared types
- Implement providers.rs with auth URLs, token exchange, user info endpoints
- Add routes for /auth/oauth/providers, /auth/oauth/{provider}, and callbacks
- Update login.html with OAuth button grid and dynamic provider loading
- Add OAuth config settings to config.csv with setup documentation and links
- Uses HTMX for login form, minimal JS for OAuth provider visibility
|
||
|---|---|---|
| .. | ||
| api | ||
| guides | ||
| reference | ||
| README.md | ||
| STALWART_API_MAPPING.md | ||
| TESTING_STRATEGY.md | ||
General Bots Documentation
Welcome to the General Bots documentation. This guide covers everything you need to build, deploy, and manage AI-powered bots.
Quick Navigation
| Section | Description |
|---|---|
| Getting Started | Installation and first bot |
| API Reference | REST endpoints and WebSocket |
| BASIC Language | Dialog scripting reference |
| Configuration | Environment and settings |
Documentation Structure
docs/
├── api/ # API documentation
│ ├── README.md # API overview
│ ├── rest-endpoints.md # HTTP endpoints
│ └── websocket.md # Real-time communication
├── guides/ # How-to guides
│ ├── getting-started.md # Quick start
│ ├── deployment.md # Production setup
│ └── templates.md # Using templates
└── reference/ # Technical reference
├── basic-language.md # BASIC keywords
├── configuration.md # Config options
└── architecture.md # System design
Core Concepts
Knowledge Bases (KB)
Store documents, FAQs, and data that the AI can search and reference:
USE KB "company-docs"
Tools
Functions the AI can call to perform actions:
USE TOOL "send-email"
USE TOOL "create-ticket"
Dialogs
BASIC scripts that define conversation flows and automation:
TALK "Hello! How can I help?"
answer = HEAR
Quick Links
Version
This documentation covers General Bots v6.x.