All Projects → urban-bot → Urban Bot

urban-bot / Urban Bot

Licence: mit
🤖 The universal chatbot library based on React. Write once, launch Telegram, Facebook, Slack, ... every messenger with chatbots

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Urban Bot

Java Telegram Bot Tutorial
Java Telegram Bot Tutorial. Feel free to submit issue if you found a mistake.
Stars: ✭ 165 (-26.01%)
Mutual labels:  bot, chatbot, telegram-bot, chatbots, telegram
Awesome Bots
The most awesome list about bots ⭐️🤖
Stars: ✭ 2,864 (+1184.3%)
Mutual labels:  chatbot, telegram-bot, bot-framework, chatbots, slack-bot
Telegram Bot Sdk
🤖 Telegram Bot API PHP SDK. Lets you build Telegram Bots easily! Supports Laravel out of the box.
Stars: ✭ 2,212 (+891.93%)
Mutual labels:  bot, chatbot, telegram-bot, bot-framework, telegram
Slacker
Slack Bot Framework
Stars: ✭ 495 (+121.97%)
Mutual labels:  bot, chatbot, bot-framework, slack-bot
Telegraf
Modern Telegram Bot Framework for Node.js
Stars: ✭ 5,178 (+2221.97%)
Mutual labels:  bot, telegram-bot, bot-framework, telegram
Stealth
An open source Ruby framework for text and voice chatbots. 🤖
Stars: ✭ 481 (+115.7%)
Mutual labels:  bot, chatbot, bot-framework, facebook-messenger-bot
Node Telegram Bot Api
Telegram Bot API for NodeJS
Stars: ✭ 5,782 (+2492.83%)
Mutual labels:  bot, chatbot, bot-framework, telegram
Torpedo
Pluggable, multi-network asynchronous chat bot written in Go
Stars: ✭ 19 (-91.48%)
Mutual labels:  telegram-bot, facebook-messenger-bot, slack-bot, telegram
Expressbot
一个可以帮你订阅、查询快递物流、跟你闲聊Telegram机器人
Stars: ✭ 137 (-38.57%)
Mutual labels:  bot, chatbot, telegram-bot, telegram
Fb Botmill
A Java framework for building bots on Facebook's Messenger Platform.
Stars: ✭ 67 (-69.96%)
Mutual labels:  bot, chatbot, bot-framework, chatbots
Marvin
The paranoid bot (framework)
Stars: ✭ 51 (-77.13%)
Mutual labels:  bot, telegram-bot, slack-bot, telegram
Botpress
🤖 Dev tools to reliably understand text and automate conversations. Built-in NLU. Connect & deploy on any messaging channel (Slack, MS Teams, website, Telegram, etc).
Stars: ✭ 9,486 (+4153.81%)
Mutual labels:  bot, chatbot, bot-framework, chatbots
Poshbot
Powershell-based bot framework
Stars: ✭ 410 (+83.86%)
Mutual labels:  bot, chatbot, bot-framework, chatbots
Intelligo
🤖 Chatbot Framework for Node.js.
Stars: ✭ 347 (+55.61%)
Mutual labels:  bot, chatbot, bot-framework, slack-bot
Swiftybot
How to create a Telegram, Facebook Messenger, and Google Assistant bot with Swift using Vapor on Ubuntu / macOS.
Stars: ✭ 247 (+10.76%)
Mutual labels:  bot, telegram-bot, facebook-messenger-bot, telegram
Telegram.bot
.NET Client for Telegram Bot API
Stars: ✭ 1,964 (+780.72%)
Mutual labels:  bot, chatbot, telegram-bot, telegram
C4bot
Chat bot that plays Connect Four with you
Stars: ✭ 21 (-90.58%)
Mutual labels:  chatbot, telegram-bot, bot-framework, facebook-messenger-bot
Botfuel Dialog
Botfuel SDK to build highly conversational chatbots
Stars: ✭ 96 (-56.95%)
Mutual labels:  bot, chatbot, bot-framework, chatbots
Rasa
💬 Open source machine learning framework to automate text- and voice-based conversations: NLU, dialogue management, connect to Slack, Facebook, and more - Create chatbots and voice assistants
Stars: ✭ 13,219 (+5827.8%)
Mutual labels:  bot, chatbot, bot-framework, chatbots
Example Bot
[WIP] An A-Z example of a PHP Telegram Bot.
Stars: ✭ 211 (-5.38%)
Mutual labels:  bot, telegram-bot, telegram

Build Community Chat

Urban Bot

The universal chatbot library based on React.

  • Declarative. You don't need to know any messenger API, just write simple react components.
  • Multiplatform. Write once, launch any messenger.
  • Reusable. Easy share logic between different chatbots or just use common parts.
  • Session. App renders unique for every chat, so just write your app as if it is client-side rendering.
  • Types. Full typescript support.

Platforms we are supporting

Soon

Get Started

API

Tutorials

Installation

Please use our zero configuration starter.

typescript

npx create-urban-bot my-app

javascript

npx create-urban-bot my-app --template js

Or install manually:

npm i react @urban-bot/core @urban-bot/telegram @urban-bot/facebook ...

Example

import React from 'react';
import { render, Route, Router, Root, Text, ButtonGroup, Button, useText } from '@urban-bot/core';
import { UrbanBotTelegram } from '@urban-bot/telegram';
import { UrbanBotSlack } from '@urban-bot/slack';

function Echo() {
    const [text, setText] = React.useState('Say something');

    useText(({ text }) => {
        setText(text);
    });

    return (
        <Text>
            <i>{text}</i>
        </Text>
    );
}

function Counter() {
    const [count, setCount] = React.useState(0);

    const increment = () => setCount(count + 1);
    const decrement = () => setCount(count - 1);

    return (
        <ButtonGroup title={count} isNewMessageEveryRender={false}>
            <Button onClick={increment}>+1</Button>
            <Button onClick={decrement}>-1</Button>
        </ButtonGroup>
    );
}

function App() {
    return (
        <Router>
            <Route path="/echo">
                <Echo />
            </Route>
            <Route path="/counter">
                <Counter />
            </Route>
        </Router>
    );
}

const urbanBotTelegram = new UrbanBotTelegram({
    token: 'telegramToken',
});

const urbanBotSlack = new UrbanBotSlack({
    signingSecret: 'slackSigningSecret',
    token: 'slackToken',
});

render(
    <Root bot={urbanBotTelegram}>
        <App />
    </Root>
);

render(
    <Root bot={urbanBotSlack}>
        <App />
    </Root>
);
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].