scmanjarrez / EdgeGPT-Telegram-Bot

Telegram bot using EdgeGPT unofficial API
MIT License
62 stars 22 forks source link

[Request]How to setup locally instead of cloud ? #109

Closed mayankwadhwani closed 1 year ago

mayankwadhwani commented 1 year ago

Is your feature request related to a problem? Please describe.

I want to set this bot up on my local raspberry pi. The raspberry pi is running on a local network. My IP is not static, hence i cannot provide a confirmed IP in the config file. How do i test it further ?

Describe the solution you'd like

Can you please provide the steps on how to run locally ?

Describe alternatives you've considered

No response

Additional context

No response

scmanjarrez commented 1 year ago

You can run it using polling instead of webhooks. If you want to use webhooks, you can use services like duckdns.org that give you a domain and is updated every time you get a new ip address

mayankwadhwani commented 1 year ago

@scmanjarrez - Can it be deployed to heroku and provided a domain name instead of IP ?

scmanjarrez commented 1 year ago

Maybe? I haven't used heroku. You only need internet connection. You can use IP or domain, its the same.