This is a chat application that has been built upon the UI of Textbase [✨ Textbase is a framework for building chatbots using NLP and ML. ✨], a powerful and flexible UI framework for creating chat interfaces. The app integrates various APIs to provide additional functionalities like URL shortening, text translation, holiday information, internet queries, and meme generation.
- Clone the Textbase repository:
git clone https://github.com/cofactoryai/textbase.git
- Clone this Chat App repository:
git clone https://github.com/your-username/chat-app.git
-
Copy the contents of the "chat-app" repository into the "textbase" repository.
-
Navigate to the "textbase" directory:
cd textbase
- Start the server to run the Chat App:
python server.py
- Open your web browser and go to
http://localhost:5000
to access the Chat App.
The Chat App extends the capabilities of the Textbase UI with the following API integrations:
urlshorten [Link]
: To get a shortened link for your long URL.translate [Text]
: To translate your text from English to Hindi.holidays
: To fetch all the public holidays of your country.ask [Query]
: To ask any query from the internet.meme
: To generate a meme.
- Type your message in the text input at the bottom of the Chat App.
- To use any of the integrated APIs, type the corresponding command followed by the required parameters (if any).
- Press "Enter" or click the "Send" button to submit your message and view the response.
Examples:
-
To get a shortened link: 💡
urlshorten https://www.example.com
-
To translate text: 🔤
translate Hello, how are you?
-
To fetch holidays: 🏖️
holidays
-
To ask a query: ❓
ask What is the capital of France?
-
To generate a meme: 🎭
meme
Contributions to the Chat App with Textbase UI are welcome! If you have any feature suggestions, bug reports, or improvements, feel free to create a pull request or open an issue on the repository.
This Chat App with Textbase UI is licensed under the MIT License.
- The Textbase UI framework by CofactoryAI (https://github.com/cofactoryai/textbase) for providing the foundation for this chat application.
- The developers of the various APIs used in this app for their invaluable services.