jaricbot

module
v0.0.0-...-e32bf32 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2024 License: AGPL-3.0

README

JaricBot

Just Another Rather Intelligent Chat Bot - Telegram chat bot powered by Gemini.

Message @JaricBot to try it out!

Setup

  1. Install Go 1.21 or higher
  2. Install air (optional; for dev only): go install github.com/cosmtrek/air@v1.49.0
  3. Clone this repository: git clone https://github.com/AaronCQL/jaricbot.git
  4. Create a .env file in the root directory and fill in your Telegram bot API key and Gemini API key (refer to .env.example)

If you want the bot to reply to messages in groups, you will need to disable privacy mode via @BotFather.

Deploying

# Build the bot and start it
make start

Developing

# Run the bot using `air` which auto-restarts on file changes
make dev

Directories

Path Synopsis
cmd
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL