Comments (5)
You can run it in Docker:
# Ubuntu 22.04
FROM ubuntu:22.04
# Working directory: /root
WORKDIR /root
RUN apt-get update && apt-get install -y wget
# Download file from 'https://github.com/m1guelpf/chatgpt-telegram/releases/download/v0.2/chatgpt-telegram-Linux-amd64.tar.gz'
RUN wget 'https://github.com/m1guelpf/chatgpt-telegram/releases/download/v0.2/chatgpt-telegram-Linux-amd64.tar.gz'
# Extract file
RUN tar -xvf chatgpt-telegram-Linux-amd64.tar.gz
# Mkdir /root/.config
RUN mkdir /root/.config
# Run chatgpt-telegram
CMD ./chatgpt-telegram
Then build & run:
docker build -t chatgpt-tg .
docker run -d --name chatgpt-tg --restart=always -v $PWD/.env:/root/.env -v $PWD/chatgpt.json:/root/.config/chatgpt.json chatgpt-tg:latest
Docker log:
docker logs -f chatgpt-tg
from chatgpt-telegram.
nohup ./chatgpt-telegram &
from chatgpt-telegram.
Could you upload the log?
from chatgpt-telegram.
nohup ./chatgpt-telegram &
this line of command make the bot works well! thanks!
from chatgpt-telegram.
You can run it in Docker:
# Ubuntu 22.04 FROM ubuntu:22.04 # Working directory: /root WORKDIR /root RUN apt-get update && apt-get install -y wget # Download file from 'https://github.com/m1guelpf/chatgpt-telegram/releases/download/v0.2/chatgpt-telegram-Linux-amd64.tar.gz' RUN wget 'https://github.com/m1guelpf/chatgpt-telegram/releases/download/v0.2/chatgpt-telegram-Linux-amd64.tar.gz' # Extract file RUN tar -xvf chatgpt-telegram-Linux-amd64.tar.gz # Mkdir /root/.config RUN mkdir /root/.config # Run chatgpt-telegram CMD ./chatgpt-telegramThen build & run:
docker build -t chatgpt-tg . docker run -d --name chatgpt-tg --restart=always -v $PWD/.env:/root/.env -v $PWD/chatgpt.json:/root/.config/chatgpt.json chatgpt-tg:latestDocker log:
docker logs -f chatgpt-tg
my vps cannt afford docker running 😮💨
from chatgpt-telegram.
Related Issues (20)
- [SOS] The powershell and Telegram has no response.
- support for openai token:sk- HOT 1
- Couldn't start Telegram bot: Post "https://api.telegram.org/ HOT 2
- Human Verification on chromium HOT 4
- the bot always response error HOT 1
- Support custom model
- Couldn't launch headless browser: Couldn't launch headless browser: could not send message: could not send message to server: HOT 2
- Support for new ChatGPT API? HOT 1
- chromium crashes 10 seconds after opening up.
- Error: api.telegram.org no such host
- Invalid .env config
- 【ChatGPT注册登录攻略】
- Error: Couldn't get access token: failed to decode response: invalid character 'e' looking for beginning of value HOT 4
- can't get connection and I have started the proxy
- please help me
- Gpt
- The bot program is deployed according to the readme, but I am in the telegram, and the bot does not respond
- @MagicBuddyBot - ChatGPT for Telegram
- Error: Couldn't get access token: failed to decode response: invalid character 'e' looking for beginning of value HOT 14
- New login method (with password)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chatgpt-telegram.