Skip to content

Telollama - A fun Telegram bot built with Deno, powered by Ollama AI for interactive conversations.

License

Notifications You must be signed in to change notification settings

radyakaze/telollama

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telollama

Telollama is a fun Telegram bot project built with Deno and utilizes Ollama to enhance its functionality. The bot is designed for entertainment and interactive conversations with Telegram users, using the default Ollama model gemma2:2b.

Features

  • 🤖 Telegram Bot Integration: Connects seamlessly with Telegram using Telegram Bot API.
  • 💬 Ollama AI Integration: Uses Ollama for generating fun and intelligent responses.

Installation

  1. Clone this repository:

    git clone https://github.com/radyakaze/telollama.git
    cd telollama
  2. Create a new Telegram bot using BotFather.

  • Open BotFather on Telegram.
  • Follow the instructions to create a new bot and get your bot token.
  1. Set up your environment variables by creating a .env file and adding your Telegram bot token and Ollama model (optional):

    TELEGRAM_BOT_TOKEN=your_telegram_bot_token
    OLLAMA_MODEL=gemma2:2b  # Change this to use a different Ollama model
  2. Start the bot in development mode:

    deno task dev

Usage

Just chat with the bot—have fun and enjoy the AI-powered responses! Hehe 😄

Changing the Ollama Model

To change the default Ollama model, modify the OLLAMA_MODEL variable in your .env file. For example:

OLLAMA_MODEL=another_model_name

This allows you to experiment with different AI models depending on your use case.

Technologies Used

  • Deno - A modern runtime for JavaScript and TypeScript
  • Telegram Bot API - For creating the bot
  • Ollama AI - AI platform using the gemma2:2b model for generating responses

Contributing

Contributions are welcome! Feel free to submit a pull request or open an issue to improve Telollama.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Telollama - A fun Telegram bot built with Deno, powered by Ollama AI for interactive conversations.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published