Mary  Turcotte

Mary Turcotte

1672336980

Telegram ChatGPT: Interact with chatGPT via Telegram

Telegram ChatGPT

It's a telegram bot (for personal only). Help you interact with chatGPT without open web browser.

Usage

Setup with PIP

pip install -r requirements.txt

Copy .env-example into new file named .env.

Add your OpenAPI API key, Telegram Bot Token, and your Telegram ID.

# File .env
OPEN_API_KEY = <YOUR_OPENAPI_KEY>
TELEGRAM_BOT_TOKEN = <YOUR_BOT_TOKEN>
USER_ID = <YOUR_USER_ID>

Run

python main.py

.env-example

OPEN_API_KEY =
TELEGRAM_BOT_TOKEN =
USER_ID =

.gitignore

# Created by https://www.toptal.com/developers/gitignore/api/python
# Edit at https://www.toptal.com/developers/gitignore?templates=python

### Python ###
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
#  Usually these files are written by a python script from a template
#  before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
cover/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
.pybuilder/
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
#   For a library or package, you might want to ignore these files since the code is
#   intended to run in multiple environments; otherwise, check them in:
# .python-version

# pipenv
#   According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
#   However, in case of collaboration, if having platform-specific dependencies or dependencies
#   having no cross-platform support, pipenv may install dependencies that don't work, or not
#   install all needed dependencies.
#Pipfile.lock

# poetry
#   Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
#   This is especially recommended for binary packages to ensure reproducibility, and is more
#   commonly ignored for libraries.
#   https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
#poetry.lock

# pdm
#   Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
#pdm.lock
#   pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
#   in version control.
#   https://pdm.fming.dev/#use-with-ide
.pdm.toml

# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
__pypackages__/

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/

# pytype static type analyzer
.pytype/

# Cython debug symbols
cython_debug/

# PyCharm
#  JetBrains specific template is maintained in a separate JetBrains.gitignore that can
#  be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
#  and can be added to the global gitignore or merged into this file.  For a more nuclear
#  option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/

### Python Patch ###
# Poetry local configuration file - https://python-poetry.org/docs/configuration/#local-configuration
poetry.toml


# End of https://www.toptal.com/developers/gitignore/api/python

main.py

import os

import openai
from dotenv import load_dotenv
from telegram.ext import Filters, MessageHandler, Updater


class TelegramChatGPT:
    def __init__(self):
        load_dotenv()
        try:
            self.OPEN_API_KEY = os.environ["OPEN_API_KEY"].strip()
            self.TELEGRAM_BOT_TOKEN = os.environ["TELEGRAM_BOT_TOKEN"].strip()
            self.USER_ID = int(os.environ["USER_ID"].strip())
        except Exception as err:
            print(err)
            exit()

    def run(self):
        print("Init bot...")
        try:
            openai.api_key = self.OPEN_API_KEY
            updater = Updater(self.TELEGRAM_BOT_TOKEN, use_context=True)
        except Exception as err:
            print(err)
            exit()
        dispatcher = updater.dispatcher
        chat_handler = MessageHandler(Filters.text & Filters.user(user_id=self.USER_ID), self._chat_cmd)
        dispatcher.add_handler(chat_handler)
        updater.start_polling()
        print("Listening...")

    def _chat_cmd(self, update, context):
        message = update.message.text
        print(f"[~] {message}")
        try:
            response = openai.Completion.create(
                engine="text-davinci-002",
                prompt=message,
                max_tokens=1024,
                temperature=0.7,
                top_p=1,
                frequency_penalty=0,
                presence_penalty=0
            )
            msg = response.choices[0].text
            update.message.reply_text( msg)
        except Exception:
            update.message.reply_text("Yamete! It's too fast! I can't handle this!")

if __name__ == "__main__":
    TelegramChatGPT().run()

Download details:

Author: faea726
Source code: https://github.com/faea726/telegram-chatGPT

#telegram #chatgpt 

What is GEEK

Buddha Community

Telegram ChatGPT: Interact with chatGPT via Telegram
Mary  Turcotte

Mary Turcotte

1672336980

Telegram ChatGPT: Interact with chatGPT via Telegram

Telegram ChatGPT

It's a telegram bot (for personal only). Help you interact with chatGPT without open web browser.

Usage

Setup with PIP

pip install -r requirements.txt

Copy .env-example into new file named .env.

Add your OpenAPI API key, Telegram Bot Token, and your Telegram ID.

# File .env
OPEN_API_KEY = <YOUR_OPENAPI_KEY>
TELEGRAM_BOT_TOKEN = <YOUR_BOT_TOKEN>
USER_ID = <YOUR_USER_ID>

Run

python main.py

.env-example

OPEN_API_KEY =
TELEGRAM_BOT_TOKEN =
USER_ID =

.gitignore

# Created by https://www.toptal.com/developers/gitignore/api/python
# Edit at https://www.toptal.com/developers/gitignore?templates=python

### Python ###
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
#  Usually these files are written by a python script from a template
#  before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
cover/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
.pybuilder/
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
#   For a library or package, you might want to ignore these files since the code is
#   intended to run in multiple environments; otherwise, check them in:
# .python-version

# pipenv
#   According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
#   However, in case of collaboration, if having platform-specific dependencies or dependencies
#   having no cross-platform support, pipenv may install dependencies that don't work, or not
#   install all needed dependencies.
#Pipfile.lock

# poetry
#   Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
#   This is especially recommended for binary packages to ensure reproducibility, and is more
#   commonly ignored for libraries.
#   https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
#poetry.lock

# pdm
#   Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
#pdm.lock
#   pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
#   in version control.
#   https://pdm.fming.dev/#use-with-ide
.pdm.toml

# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
__pypackages__/

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/

# pytype static type analyzer
.pytype/

# Cython debug symbols
cython_debug/

# PyCharm
#  JetBrains specific template is maintained in a separate JetBrains.gitignore that can
#  be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
#  and can be added to the global gitignore or merged into this file.  For a more nuclear
#  option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/

### Python Patch ###
# Poetry local configuration file - https://python-poetry.org/docs/configuration/#local-configuration
poetry.toml


# End of https://www.toptal.com/developers/gitignore/api/python

main.py

import os

import openai
from dotenv import load_dotenv
from telegram.ext import Filters, MessageHandler, Updater


class TelegramChatGPT:
    def __init__(self):
        load_dotenv()
        try:
            self.OPEN_API_KEY = os.environ["OPEN_API_KEY"].strip()
            self.TELEGRAM_BOT_TOKEN = os.environ["TELEGRAM_BOT_TOKEN"].strip()
            self.USER_ID = int(os.environ["USER_ID"].strip())
        except Exception as err:
            print(err)
            exit()

    def run(self):
        print("Init bot...")
        try:
            openai.api_key = self.OPEN_API_KEY
            updater = Updater(self.TELEGRAM_BOT_TOKEN, use_context=True)
        except Exception as err:
            print(err)
            exit()
        dispatcher = updater.dispatcher
        chat_handler = MessageHandler(Filters.text & Filters.user(user_id=self.USER_ID), self._chat_cmd)
        dispatcher.add_handler(chat_handler)
        updater.start_polling()
        print("Listening...")

    def _chat_cmd(self, update, context):
        message = update.message.text
        print(f"[~] {message}")
        try:
            response = openai.Completion.create(
                engine="text-davinci-002",
                prompt=message,
                max_tokens=1024,
                temperature=0.7,
                top_p=1,
                frequency_penalty=0,
                presence_penalty=0
            )
            msg = response.choices[0].text
            update.message.reply_text( msg)
        except Exception:
            update.message.reply_text("Yamete! It's too fast! I can't handle this!")

if __name__ == "__main__":
    TelegramChatGPT().run()

Download details:

Author: faea726
Source code: https://github.com/faea726/telegram-chatGPT

#telegram #chatgpt 

ChatGPT Telegram Bot: a AI Chat Telegram Bot with ChatGPT in Fly.io

ChatGPT Telegram Bot

由于 ChatGPT 套上了 Cloudflare 代理,本项目已停止维护。

部署 - Docker

docker run -p 80:8080 -dit \
    -e BOT_TOKEN="telegram bot token" \
    -e WEB_HOOK="https://your_host.com/" \
    -e session_token="123" \
#    -e email="openai-chatgpt-email" \
#    -e password="openai-chatgpt-password" \
    chatgpt:1.0
  • MODE: 可选,设置生产环境/开发环境, 默认生产环境。可选值:'dev'|'prod'。
  • BOT_TOKEN: 你需要在 BotFather 创建一个 bot 以获取 BOT_TOKEN 。
  • WEB_HOOK: 参考 webhook,不包含 BOT_TOKEN 。(例如:https://chatgptbot.fly.dev/
  • NICK: 可选,NICK 是机器人的名字。当用户输入消息以 NICK 开头,机器人才会回答,否则机器人会回答任何消息。尤其在群聊里,没有 NICK,机器人会对所有消息进行回复。
  • session_token: ChatGPT 的 cookie 中 __Secure-next-auth.session-token 的值
  • email,password: openai 的账号密码,如果使用 session_token,就不需要传入邮箱密码,目前 ChatGPT 套了 Cloudflare 代理,账号密码登陆是不可用状态,请用 session_token 登陆。

或者你想使用 Docker Compose,下面是 docker-compose.yml 示例:

version: "3.5"
services:
  chatgptbot:
    container_name: chatgptbot
    image: yym68686/chatgpt:1.0
    environment:
      # telegram
      # - NICK=
      - BOT_TOKEN=
      - WEB_HOOK=
      # openai session
      - session_token=

      # - EMAIL=
      # - PASSWORD=
    ports:
      - 80:8080

部署 - fly.io

官方文档:https://fly.io/docs/

使用 Docker 镜像部署 fly.io 应用

flyctl launch --image yym68686/chatgpt:1.0

输入应用的名字,若提示初始化 Postgresql 或 Redis,一律选择否。

按照提示部署。在官网控制面板会提供一个二级域名,可以使用这个二级域名访问到服务。

设置环境变量

flyctl secrets set WEB_HOOK=https://*****.fly.dev/
flyctl secrets set BOT_TOKEN=bottoken
flyctl secrets set session_token=
flyctl secrets set user_agent=
flyctl secrets set cf_clearance=
# flyctl secrets set EMAIL=
# flyctl secrets set PASSWORD=
# 可选
flyctl secrets set NICK=javis

查看所有环境变量

flyctl secrets list

移除环境变量

flyctl secrets unset MY_SECRET DATABASE_URL

ssh 连接 fly.io 容器

# 生成密钥
flyctl ssh issue --agent
# ssh 连接
flyctl ssh establish

查看 webhook url 是否正确

https://api.telegram.org/bot<token>/getWebhookInfo

Reference

参考项目:

https://github.com/acheong08/ChatGPT

https://github.com/franalgaba/chatgpt-telegram-bot-serverless


Download Details:

Author: yym68686
Source Code: https://github.com/yym68686/ChatGPT-Telegram-Bot

#chatgpt #telegram 

Ella  Windler

Ella Windler

1672518480

Unofficial OpenAI Telegram Bot to interact with ChatGPT

ChatGPT-OpenAI-Telegram-Bot

Unofficial openAI telegram bot to use personally for chats

I'll be constantly adding more features and improving it. Enjoy

IMPORTANT: You must have Node >= 18 to run this program.

Npm Packages

Optional:

  • puppeteer: Optional peer dependency used to automate bypassing the Cloudflare protections via getOpenAIAuth

Use

Firstly, make sure you have all the environment variables in the 'config.env' file(See an example below in the next section).

$ git clone https://github.com/EzeSandes/ChatGPT-OpenAI-TelegramBot.git

$ cd ChatGPT-OpenAI-Telegram-Bot

$ npm i

#run
npm start

When you execute npm start, a browser window will open to authenticate in your openAI account. Once done, you will be able to use it.

Note: Use Google Chrome to avoid errors.

Environment Variables

Example(See env.example):

TELEGRAM_TOKEN=123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11

OPENAI_API_KEY=W2v1u123ew11EF1234ghIkl7W2v1

OPENAI_EMAIL=<your email from your openai account>

OPENAI_PASSWORD=<your password from your openai account>

Commands

As I said before, I'll constantly be adding new commands in the future, but if you have recommendations, be free to share them!


/start

Message of welcome.

/start

/ask

Ask different questions to the bot to answer it. The bot has the capacity to remember previous questions and answers.

/ask Can you explain how the Dijkstra algorithm works?

/help

Display a list of the different available commands on the bot chat.

/help

Download details:

Author: EzeSandes
Source code: https://github.com/EzeSandes/ChatGPT-OpenAI-TelegramBot

#chatgpt #openai #telegram 

Lenna  Kihn

Lenna Kihn

1672198860

A simple bot for Telegram that allows interaction with ChatGPT

chatgpt-telegram-bot

Este es un script de Python que permite a un usuario enviar mensajes a un bot de Telegram y recibir respuestas generadas utilizando la API de ChatGPT. También permite a los usuarios generar imágenes utilizando la API de stability.ia y obtener una transcripción de la respuesta de ChatGPT en formato de nota de voz generada por Amazon Polly.

Requisitos

Para utilizar este script, necesitarás:

Todos estos servicios dan créditos gratuitos de inicio, a Diciembre de 2022, estos son los costes de sus APIs:

  • ChatGPT web: Gratis
  • OpenIA API: 0,004$/petición
  • Stability IA: 0,002$/petición (con 30 steps)
  • Amazon Polly: Aprox. 0,0125$/minuto de audio

Instalación

Para instalar las dependencias necesarias para ejecutar este script en Python, se puede utilizar el administrador de paquetes pip.

Primero, asegúrate de tener pip instalado en tu sistema. Puedes verificar si ya lo tienes ejecutando el siguiente comando en una terminal:

pip --version

Si no tienes pip instalado, puedes instalarlo siguiendo las instrucciones en la página oficial de pip

Para instalar las dependencias, ejecuta el siguiente comando en una terminal en el mismo directorio que el archivo requirements.txt:

pip install -r requirements.txt

Esto instalará todos los paquetes necesarios en tu sistema. Una vez que se hayan instalado, podrás ejecutar el script sin problemas.

Configuración

Antes de ejecutar el script, necesitarás configurar las credenciales de acceso para OpenAI, AWS, Telegram y stability.ai. Para hacerlo, renombra el archivo llamado config.py.sample en el mismo directorio que el script Python a config.py y rellena las variables con tus credenciales de acceso.

Importante: EL 12/12/22 el modo web dejó de funcionar (detalles técnicos)

Se puede conectar mediante web o api a OpenIA, se controla por la siguiente configuración:

openai_mode = "web"

El modo web va más lento, pero solo necesitas tu usuario y contraseña, recuerda las conversaciones (a menos que ejecutes /resetchat) y de momento no tiene coste asociado.

Ejecución

Para ejecutar el script, asegúrate de estar en el mismo directorio que el archivo chatgpt-telegram.py y ejecuta el siguiente comando en una terminal:

python chatgpt-telegram.py

Esto iniciará el bot de Telegram. Una vez que esté en ejecución, puedes enviarle mensajes utilizando la aplicación de Telegram.

El bot acepta los siguientes comandos:

  • /chatgpt: Enviar un mensaje al bot para que genere una respuesta utilizando la API de ChatGPT
  • /draw: Dibujar una imagen utilizando el API de stability.ia
  • /voice: Devuelve la respuesta de ChatGPT, pero adjunta una transcripción como nota de voz generada por Amazon Polly
  • /resetchat: En el modo openai_mode='web' permite reiniciar la conversación para que no recuerde nada de lo anterior

El bot puede ser también incluido en grupos, pero solo responderá a los usuarios autorizados que hayas configurado. Ten cuidado dando acceso a otras personas ya que el bot estará usando tus APIs de los servicios y estas suelen tener un coste.

Puedes parar el script en cualquier momento pulsando Ctrl+D

Configurar el bot como un servicio en tu servidor Linux

Para configurar el script chatgpt-telegram.py como un servicio en un servidor Linux, puedes seguir los siguientes pasos:

Nota: Las siguientes instrucciones están optimizadas para un servidor Ubuntu Linux, pueden ser diferentes para otras distribuciones.

  1. Crea un archivo de configuración para el servicio en el directorio /etc/systemd/system. Puedes hacerlo con el comando sudo nano /etc/systemd/system/chatgpt-telegram.service.
  2. Agrega el siguiente contenido al archivo, reemplazando con la ruta completa del script chatgpt-telegram.py en tu servidor:
[Unit]
Description=ChatGPT Telegram Bot Service

[Service]
Type=simple
WorkingDirectory=<RUTA_DEL_SCRIPT>
ExecStart=<RUTA_DEL_SCRIPT>/chatgpt-telegram.py
Restart=on-failure

[Install]
WantedBy=multi-user.target
  1. Guarda y cierra el archivo.
  2. Haz que el sistema operativo cargue la configuración del nuevo servicio con el comando sudo systemctl daemon-reload.
  3. Inicia el servicio con el comando sudo systemctl start chatgpt-telegram.
  4. Opcionalmente, puedes habilitar el servicio para que se inicie automáticamente cada vez que se inicie el servidor con el comando sudo systemctl enable chatgpt-telegram.

Una vez que hayas seguido estos pasos, el script chatgpt-telegram.py se ejecutará como un servicio en tu servidor. Puedes verificar el estado del servicio con el comando sudo systemctl status chatgpt-telegram.

English

This is a Python script that allows a user to send messages to a Telegram bot and receive responses generated using the ChatGPT API. It also allows users to generate images using the stability.ia API and get a transcript of the ChatGPT response in Amazon Polly generated voice memo format.

Requirements.

To use this script, you will need:

All these services give free startup credits, as of December 2022, these are the costs of their APIs:

  • ChatGPT web: Free
  • OpenIA: $0.004/request.
  • Stability IA: 0,002$/request (with 30 steps)
  • Amazon Polly: Approx. $0.0125/audio minute

Installation

To install the dependencies needed to run this Python script, you can use the pip package manager.

First, make sure you have pip installed on your system. You can check if you already have it by running the following command in a terminal:

pip --version

If you don't have pip installed, you can install it by following the instructions on the official pip homepage

To install the dependencies, run the following command in a terminal in the same directory as the requirements.txt file:

pip install -r requirements.txt

This will install all the necessary packages on your system. Once they are installed, you will be able to run the script without any problems.

Configuration

Before running the script, you will need to configure the login credentials for OpenAI, AWS, Telegram and stability.ai. To do this, rename the file named config.py.sample in the same directory as the Python script to config.py and fill in the variables with your login credentials.

Important: On 12/12/22 web mode stopped working (technical details)

It can be connected via web or api to OpenIA, it is controlled by the following configuration:

openai_mode = "web"

The web mode is slower, but you only need your username and password, it remembers the conversations (unless you run /resetchat) and for the moment it has no associated cost.

Execution

To run the script, make sure you are in the same directory as the chatgpt-telegram.py file and run the following command in a terminal:

python chatgpt-telegram.py

This will start the Telegram bot. Once it is running, you can send messages to it using the Telegram app.

The bot accepts the following commands:

  • /chatgpt: Send a message to the bot to generate a response using the ChatGPT API.
  • /draw: Draw an image using the stability.ia API
  • /voice: Return the ChatGPT response, but attach a transcript as a voice memo generated by Amazon Polly.
  • /resetchat: In openai_mode='web' mode allows you to restart the conversation so that it does not remember anything of the previous one.

The bot can also be included in groups, but will only respond to authorized users that you have configured. Be careful giving access to other people as the bot will be using your services APIs and these usually come at a cost.

You can stop the script at any time by pressing Ctrl+D

Configuring the bot as a service on your Linux server

To configure the chatgpt-telegram.py script as a service on a Linux server, you can follow the steps below:

Note: The following instructions are optimized for an Ubuntu Linux server, they may be different for other distributions.

Create a configuration file for the service in the /etc/systemd/system directory. You can do this with the command sudo nano /etc/systemd/system/chatgpt-telegram.service. 2. Add the following content to the file, replacing with the full path to the chatgpt-telegram.py script on your server:

[Unit]
Description=ChatGPT Telegram Bot Service

[Service]
Type=simple
WorkingDirectory=<RUTA_DEL_SCRIPT>
ExecStart=<RUTA_DEL_SCRIPT>/chatgpt-telegram.py
Restart=on-failure

[Install]
WantedBy=multi-user.target
  1. Save and close the file.
  2. Have the operating system load the new service configuration with the command sudo systemctl daemon-reload.
  3. Start the service with the command sudo systemctl start chatgpt-telegram.
  4. Optionally, you can enable the service to start automatically every time the server starts with the command sudo systemctl enable chatgpt-telegram.

Once you have followed these steps, the chatgpt-telegram.py script will run as a service on your server. You can check the status of the service with the command sudo systemctl status chatgpt-telegram.


Download details:

Author: nukeador
Source code: https://github.com/nukeador/chatgpt-tegram-bot

License: AGPL-3.0 license

#chatgpt #Telegram 

sherly dazz

1621418319

Telegram Clone | White Label Telegram Like App Development

It is the basic nature of humans to share emotions with their fellow people by communicating with them. Instant messaging platforms provide a means for communication. With the availability of smartphones and high-speed internet connections, instant messaging apps like Telegram are gaining popularity with each passing day. Telegram clone app is similar to Telegram that helps people connect with their loved ones across the world. If you’re an entrepreneur who wants to actuate your business dream, get started with Telegram clone app development embedding with advanced features to deliver the best app in the market.

You can add these mandatory features in your App like Telegram to ensure the robust functioning of the app.

Onboarding: You can allow your user to simply drop their contact number and sign in to the app after the verification is done
**Profile Management:**This feature enables your user to create their desired profile by uploading a high-quality profile picture of their choice and adding bio defining them.
Auto-syncing of contacts: You can have a feature to synchronize the user’s mobile contact into the app automatically once the user grants permission to access contacts
Notifications: This feature can enable the user to be notified when they receive any messages
Groups: This feature allows the user to connect with their friends, family, colleagues, etc. in groups to give updates about any upcoming events
Multiple device login: You can enable the user to use Telegram account on multiple

At TurnkeyTown, we provide you a superior Telegram clone script with end-to-end encryption features to offer your customers a secured messaging experience. The Our Telegram clone solution is absolutely flexible to be remodeled and rebranded to meet your expectations and business requirements. So, why wait? Contact us and get your solution now!

#telegram clone app #telegram clone script #telegram clone #app like telegram