Hey there
#Introduction
I’ve created for Telegram a bot that allows you to talk with him like a human:
Well, it’s a bit silly, but it uses one of the bests public bots: CleverBot
So, I thought that it could be a great option to create an app for CleverBot using AppInventor, because it sould be very simple: just a WebComponent, an Input and a Label and you have somebody to talk if you are bored!
#How to build an app
To build an app, just need a TextBox to work like an Input, a Button to submit the Input, a Label to set the Output and a WebComponent to make the interaction:
In the blocks, part, it’s quite simple:
Setup your key requesting one here: Cleverbot API – The official Cleverbot API
The app will function like this: when the user submits the input, it will send to my server in https://scripts.thunkable.ga, and the script cleverbot/index.php
will interacti with CleverBot API sending a quite simple answer that can be holded by GetResponseText
#Resources:
-
Compiled APK: CleverBot.apk (2.2 MB)
-
Source Code (AIA): CleverBot.aia (2.1 KB)
-
Source Code (PHP): https://gist.github.com/barreeeiroo/e890479d35f4021410831595e5b3fd69
-
Source Code (Telegram Bot Plugin): https://github.com/barreeeiroo/GroupButler/blob/master/plugins/talk.lua
#Alternative
An alternative to CleverBot is SimSimi, which (for me) is much better than CleverBot, but it’s a paid service
Some time ago, it was a free service (as you can see in this commit: GitHub). I’ve worked with it for a Telegram Bot months ago, but when they became a paid service, I stopped to use them
So, if anyone wants to pay for SimSimi, ask me and I will send them an .AIA where they can use SimSimi API