AlessandroSpallina / LocalMeowgram

Telegram client for the Cheshire Cat 😺

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Meowgram

Telegram client for the CheshireCat Ai.

Prerequisites

  • python >=3.10
  • Access to an instance of the Cheshire Cat
  • The TOKEN of a Telegram bot, you can create one using Bot Father

Install

Clone the repo:

git clone https://github.com/Pingdred/Meowgram.git

Enter in the created folder:

cd Meowgram

Install the requirements:

pip install -r requirements.txt

Create an .env file setting the following parameters:

BOT_TOKEN="YOUR-BOT-TOKEN"

CHESHIRE_CAT_URL="localhost"
CHESHIRE_CAT_PORT=1865

In the repot there is a file .env.example you can use.

After that make sure you chashire Cat instance is up and reachable, you can follow this quick start to do that.

Run the telegram bot and start chatting:

python main.py

Set-up speech to text

First thing to do is install the plugin Whispering cat from the page Plugin in the Cheshire Cat Admin:

Screenshot from 2023-12-12 12-08-02

Screenshot from 2023-12-12 12-07-16

Then click on the settings wheel set your Api Key, the language and in the field Audio Key write meowgram_voice.

About

Telegram client for the Cheshire Cat 😺

License:GNU General Public License v3.0


Languages

Language:Python 100.0%