SkillAgentSearch skills...

TelegoGPT

telegoGPT adalah bot telegram dan integrasi openai dengan menggunakan bahasa golang.

Install / Use

/learn @1amkaizen/TelegoGPT
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<div align="center"> <img loading="lazy" width="30px" src="https://github.com/montasim/montasim/blob/main/media/icons/code.png " alt="code png" /> <img loading="lazy" src="https://readme-typing-svg.demolab.com?font=Poppins&weight=700&size=30&duration=1&pause=1&color=EB008B&center=true&vCenter=true&repeat=false&width=395&height=29&lines=TelegoGPT" alt="hello nice to meet you svg" /> <img loading="lazy" width="30px" src="https://github.com/montasim/montasim/blob/main/media/icons/layers.png " alt="layers png" /> </div> <div align="center"> <img src="https://media.giphy.com/media/9yRMxLuRqyQ0x3jJXD/giphy.gif" width="100px"/> </div>

<p align="center"> <img src="https://quotes-github-readme.vercel.app/api?type=vertical&theme=dark&quote=telegoGPT%20adalah%20bot%20telegram%20dan%20integrasi%20openai%20dengan%20menggunakan%20bahasa%20golang&author=1amkaizen" /> </p>
<!-- ### Github fotks ![GitHub forks](https://img.shields.io/github/forks/1amkaizen/telegoGPT?style=social) ![GitHub Repo stars](https://img.shields.io/github/stars/1amkaizen/telegoGPT?style=social) -->

Catatan: bot ini masih tahap awal dan sedang dalam pengembangan

🚀 cara menggunakan :

  • Buat bot Telegram baru : Buka Telegram dan cari BotFather kemudian buat bot baru dengan mengirimkan perintah /newbot . Ikuti instruksi untuk memberi nama dan nama pengguna pada bot Anda. Anda akan menerima token API untuk bot Anda yang akan Anda gunakan untuk mengautentikasi dengan API Telegram. Gunakan kunci API Telegram untuk membuat instance bot baru.
bot, err := tgbotapi.NewBotAPI("TELEGRAMBOT_TOKEN")
  • Buat akun di https://beta.openai.com/ dan dapatkan api nya,kemudian massukan ke sini: c := gogpt.NewClient("OPENAI_API")

  • Hosting ke railway dan konfigurasi variabel environment.

  • Buat database di railway

  • Konfigurasi variabel environment database telegoGPT

  • Contoh konfigurasi variabel environment

 {
  "DATABASES": "root:5YUTSCHvx0yXwcsJUQFW@tcp(containers-us-west-139.railway.app:6522)/railway",
  "MYSQLDATABASE": "${{MySQL.MYSQLDATABASE}}",
  "MYSQLHOST": "${{MySQL.MYSQLHOST}}",
  "MYSQLPASSWORD": "${{MySQL.MYSQLPASSWORD}}",
  "MYSQLPORT": "${{MySQL.MYSQLPORT}}",
  "MYSQLUSER": "${{MySQL.MYSQLUSER}}",
  "MYSQL_URL": "${{MySQL.MYSQL_URL}}",
  "OPENAI_API": "sk-526u5wZVplXk518QhaJaT3BlbkJZTk4k1PtcaS5yBbVsnB",
  "TELEGRAM_BOT_TOKEN": "5898177748:AAE-4HBM9Ma9Wm7bICqhmMIQFJK0GnlVbf8"
}

Catatan: Yang harus di ganti hanya DATABASES,TELEGRAM_BOT_TOKEN & OPENAI_API.

Demo

<a href="https://t.me/TelegoGPTbot"><img src="https://img.shields.io/badge/telegoGPT-2CA5E0?style=for-the-badge&logo=telegram&logoColor=white" />

follow

<a href="https://twitter.com/1amkaizen"><img src="https://img.shields.io/badge/Twitter-2CA5E0?style=for-the-badge&logo=twitter&logoColor=white" /> <a href="https://replit.com/@1amkaizen?tab=status"><img src="https://img.shields.io/badge/Replit-ff5722?style=for-the-badge&logo=replit&logoColor=white" /> <a href="https://railway.app?referralCode=v-jhtw"><img src="https://img.shields.io/badge/Railway-ff5722?style=for-the-badge&logo=railway&logoColor=white" />

<p align="center"> <a href="https://www.buymeacoffee.com/1amkaiz3n"> <img align="center" src="https://cdn.buymeacoffee.com/buttons/v2/default-orange.png" height="50" width="210" alt="1amkaizen" /></a> </p> <!-- build with love svg start --> <div align="center"> <p align="center"><img src="https://raw.githubusercontent.com/catppuccin/catppuccin/main/assets/footers/gray0_ctp_on_line.svg?sanitize=true" /></p> <img loading="lazy" src="https://readme-typing-svg.demolab.com?font=Anton&weight=600&size=16&duration=2500&pause=1&color=00B8B5&center=true&vCenter=true&width=185&height=15&lines=%C2%A9+BUILD+WITH+%E2%9D%A4%EF%B8%8F;%C2%A9+BUILD+BY+1amkaizen" alt="build with love svg" /> </div> <!-- build with love svg end --> <p align="center"><a href="https://github.com/1amkaizen/telegoGPT/blob/main/LICENSE"><img src="https://img.shields.io/static/v1.svg?style=for-the-badge&label=License&message=MIT&logoColor=d9e0ee&colorA=363a4f&colorB=b7bdf8"/></a></p>
View on GitHub
GitHub Stars4
CategoryDevelopment
Updated1y ago
Forks3

Languages

Go

Security Score

70/100

Audited on Jun 2, 2024

No findings