Skip to content

hakisolos/amatullah

Repository files navigation

Amatullah AI

A playful Telegram bot created by Haki 🧠💬


✨ Features

  • AI-powered chat
  • Fast response system
  • Modular command structure
  • Bun runtime support
  • Works on VPS, locally, or cloud (Render)

🚀 Installation & Setup

🧶 Install Bun (if not installed):

curl -fsSL https://bun.sh/install | bash

Then restart terminal or source your shell config.

📦 Clone the Project

git clone https://github.com/hakisolos/amatullah.git
cd amatullah

🔧 Install Dependencies

bun install

🔐 Add Bot Token

Create or edit /config.ts like this:

export default {
  BOT_TOKEN: process.env.BOT_TOKEN || "your_token_here"
};

Then create a .env file:

BOT_TOKEN=your_telegram_bot_token_here

Keep .env private — do not commit it.

🏁 Start the Bot

bun start

☁️ Deploy Options

✅ Render.com

  1. Push this project to GitHub
  2. Create a new Web Service on Render
  3. Set Build Command to: bun install
  4. Set Start Command to: bun start
  5. Add your BOT_TOKEN in Render's Environment Variables
  6. Deploy 🚀

✅ VPS (Ubuntu/Debian)

sudo apt update && sudo apt install git curl
curl -fsSL https://bun.sh/install | bash

# Clone and setup
git clone https://github.com/hakisolos/amatullah.git
cd amatullah
bun install

# Add your .env
nano .env

# Run
bun start

🤝 Contributing

🧸 Pull Request

  1. Fork the repo
  2. Create a new branch: git checkout -b feature-name
  3. Make your changes
  4. Commit: git commit -m "Add: cool feature"
  5. Push: git push origin feature-name
  6. Open a Pull Request

🐞 Found a Bug?

  • Open an Issue
  • Describe what happened
  • Add logs or screenshots if needed

🪪 License

This project is licensed under the MIT License


Made with 💖 by Nikka Tech Inc

About

Ai Chatbot By Haki

Resources

License

Contributing

Stars

Watchers

Forks

Contributors 2

  •  
  •