{"id":31655043,"url":"https://github.com/gitpolyakoff/chatbot-truckersmp","last_synced_at":"2026-05-14T21:36:57.821Z","repository":{"id":314899542,"uuid":"1057197152","full_name":"GitPolyakoff/chatbot-truckersmp","owner":"GitPolyakoff","description":"A chat bot for TruckersMP that provides server stats, player count, events, and AI chat powered by GPT","archived":false,"fork":false,"pushed_at":"2026-05-10T10:39:11.000Z","size":67284,"stargazers_count":9,"open_issues_count":0,"forks_count":4,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-10T12:34:37.283Z","etag":null,"topics":["ai","ats","chatbot","csharp","dotnet","ets2","ets2mp","gpt","groq-api","multiplayer","truckersmp"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GitPolyakoff.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-15T12:02:36.000Z","updated_at":"2026-05-10T10:39:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"f71cc2d0-3330-4cb2-9bda-15f9d35ce902","html_url":"https://github.com/GitPolyakoff/chatbot-truckersmp","commit_stats":null,"previous_names":["gitpolyakoff/chatbot-truckersmp"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/GitPolyakoff/chatbot-truckersmp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GitPolyakoff%2Fchatbot-truckersmp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GitPolyakoff%2Fchatbot-truckersmp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GitPolyakoff%2Fchatbot-truckersmp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GitPolyakoff%2Fchatbot-truckersmp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GitPolyakoff","download_url":"https://codeload.github.com/GitPolyakoff/chatbot-truckersmp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GitPolyakoff%2Fchatbot-truckersmp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33044352,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","ats","chatbot","csharp","dotnet","ets2","ets2mp","gpt","groq-api","multiplayer","truckersmp"],"created_at":"2025-10-07T12:50:05.608Z","updated_at":"2026-05-14T21:36:57.809Z","avatar_url":"https://github.com/GitPolyakoff.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TMP Chat Bot\n\nA simple chat bot for **TruckersMP** (ETS2 / ATS).  \nThis bot reads your chat log file and can respond with useful commands.  \nIt also connects to **Groq API (LLaMA model)** for AI answers.\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://visitor-badge.laobi.icu/badge?page_id=GitPolyakoff.chatbot-truckersmp\" /\u003e\n  \u003cimg src=\"https://img.shields.io/github/stars/GitPolyakoff/chatbot-truckersmp?style=flat\u0026logo=github\u0026label=stars\" /\u003e   \n\u003c/div\u003e\n\n---\n\n## ✨ Features\n- `!gpt \u003ctext\u003e` → ask AI (LLaMA model via Groq API). The bot will answer in the same language as the question.  \n- Works inside the TruckersMP chat (reads the log file).  \n- Filters messages using a **banned words list** to prevent inappropriate content.  \n- Lightweight and easy to use.  \n\n---\n\n## 🚀 Usage\n\n1. Download the following files:\n   - `tmp-bot.exe`\n   - `banned_words.txt`\n\n2. Place both files in the same folder (recommended: Desktop).\n\n3. Run `tmp-bot.exe`.\n\n4. On first launch, the app will ask for:\n   - **Groq API key** (create one at [Groq Console](https://console.groq.com/keys))\n   - **Path to `banned_words.txt`**  \n     Example:\n     ```\n     C:\\Users\\YourName\\Desktop\\banned_words.txt\n     ```\n\n5. The app will save this configuration automatically. On subsequent launches, no input is required.\n\n---\n\n## 🖼 Screenshots\n\n\u003cimg width=\"619\" height=\"368\" alt=\"image\" src=\"https://github.com/user-attachments/assets/e2641981-ea73-4122-ba40-83ad96eb6322\" /\u003e\n\n\u003cimg width=\"609\" height=\"376\" alt=\"image\" src=\"https://github.com/user-attachments/assets/1f918bdc-c0e1-406f-a152-c49909b8da5d\" /\u003e\n\n---\n\n## 🔹 Bot Commands (examples)\n\n`!help`\n```bash\nUser: !help\nBot: 🤖 Hello! I am PolyakoffBot v3, ready to assist you. Commands: !help, !gpt \u003cquestion\u003e, !serverinfo, !players, !version, !socials, !events.\n```\n\n`!gpt \u003cyour message\u003e`\n```bash\nUser: !gpt who is best driver in truckersmp?\nBot: 🤖 GPT: Hard to say! Many players are skilled, but everyone has their own style. 🚛\n```\n\n`!serverinfo`\n```bash\nUser: !serverinfo\nBot: 🖥️ Server: Simulation 1 | 145.239.0.11:443 | Players: 2500/3500 | Queue: 35\n```\n\n`!players`\n```bash\nUser: !players\nBot: 👥 Total players online (all servers): 5421\n```\n\n`!version`\n```bash\nUser: !version\nBot: 📦 Supported ETS2 version: 1.52.1 | Supported ATS: 1.52.1\n```\n\n`!socials`\n```bash\nUser: !socials\nBot: 🔗 My Discord Nickname: polyakoff | Github: github.com/GitPolyakoff |\n```\n\n`!events`\n```bash\nUser: !events\nBot: 📅 Events now/soon: Real Operations at 2025-09-20 | Convoy Community Event at 2025-09-25\n```\n\n---\n\n## 🛡 Content Filtering\n\n- Detects full words and word fragments\n- Ignores symbols, spaces, numbers, and obfuscation (`f@ck`, `n1gga`, `sh!t`, etc.)\n- Works in multiple languages\n- Ensures the bot never outputs prohibited words\n  \n---\n\n## 👥 Credits\n\n**Developers:**\n- **polyakoff** - Main developer \u0026 project creator\n- **lrnsxgod** - Contributor\n\n**GitHub Profiles:**\n- [GitPolyakoff](https://github.com/GitPolyakoff)\n- [lrnsxdev](https://github.com/lrnsxdev)\n\n**Discord:**\n- polyakoff \u0026 lrnsxgod\n\n---\n\n## 📌 Notes\n\n- Answers from GPT are short (1–2 sentences), because game chat has limited space.\n\n- The bot only works while the log file is updating (so you must be in TruckersMP).\n\n- The app automatically saves the API key and banned words path on first launch for future use.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitpolyakoff%2Fchatbot-truckersmp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgitpolyakoff%2Fchatbot-truckersmp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitpolyakoff%2Fchatbot-truckersmp/lists"}