Hi everyone, me and my friends are thinking of making a Telegram bot to use GPT-4 as one of us has access to the API.

We’re not going to release the bot to the public (only use between us), however we’d like the bot to run 24/7 so it’s accessible whenever one of us needs it. Sadly we can’t host it ourselves as neither of us is able to get a Static IP and has a free machine to run 24/7.

My question is, are there any recommended hosting providers (if it’s free even better) where we could host our telegram bot on? Thanks!

1 point

probably could fit into fly.io free tier. also as others have mentioned - oracle oci provides a nice free vm, which can be shut off if usage of resources is low, but you can workaround it by increasing a volume a bit more than free tier allows and pay something like a 1-2$ for it monthly.

permalink
report
reply
1 point
*

Telegram bot doesn’t need static IP, it connects to the service and does a get for updates. Default python wrapper polls.

That being said pythonanywhere or heroku are good cheap options.

permalink
report
reply
1 point

Do you need a static IP? can’t you have a Dynamic DNS running on your router?

permalink
report
reply
2 points
Deleted by creator
permalink
report
parent
reply
5 points

Any $5 VPS (usually single core plus 1GB RAM) should be good enough for this purpose if it is just a bot for you and your friends.

permalink
report
reply
3 points

AWS Lambda is the best for this, my bots run on it. That is, if you’re ok with some delay in response. Otherwise an EC2 might work.

permalink
report
reply

Selfhosted

!selfhosted@lemmy.world

Create post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

Community stats

  • 4.8K

    Monthly active users

  • 3.5K

    Posts

  • 79K

    Comments