captcha-bot 用于Telegram 加群验证机器人,采用golang编写,支持全平台编译运行

captcha-bot

用于Telegram 加群验证机器人,采用golang编写,支持全平台编译运行。

license MIT Go version 1.16 Echo Framework v4 version 1.0.0

项目初衷

Telegram(简称:小飞机),全球知名的非常方便且优雅的匿名IM工具(比微信更伟大的产品)。
但由于该软件的匿名性,导致该软件上各种加群推广机器人满天飞,我们无法无时无刻的判断加入群组的“某个人”是否为推广机器人。
还好Telegram为我们提供了非常强大的Api,我们可以利用这些Api开发出自动验证的机器人。

如果你是Telegram的群组管理员,你可以直接使用本项目部署私有化的验证机器人。
如果你是开发者,你可以利用本项目熟悉Go语言Telegram的交互式开发,以便后续利用Api开发出自己的机器人!

文档参考:
Telegram Api文档:Telegram Api
机器人开发框架:Telebot

使用方式

一、自行编译

此安装方式多用于开发者,需电脑上安装go语言环境。
go语言官网

下载:

# 下载项目
git clone https://github.com/assimon/captcha-bot && cd captcha-bot && cp .env.example .env

编译:

# 编译
go build -o  cbot
# 给予执行权限
chmod +x ./cbot

执行:

# 调试启动
./cbot
# nohup 常驻启动
nohup ./cbot >> run.log 2>&1 &

二、下载已经编译好的二进制程序

此方式可以直接使用,用于服务器生产环境。 进入打包好的版本列表,下载程序:https://github.com/assimon/captcha-bot/releases
配置:

cp .env.example .env

运行:

# linux
# 调试启动
./captcha-bot
# nohup 常驻启动

# windows
captcha-bot.exe

配置:

请将项目目录下.env.example文件重命名为.env, 然后对.env文件进行编辑即可!
里面的配置项有详细的注释。

预览

禁言.png 验证.png

Similar Resources

A Discord bot for managing ephemeral roles based upon voice channel member presence.

A Discord bot for managing ephemeral roles based upon voice channel member presence.

ephemeral-roles A Discord bot for managing ephemeral roles based upon voice channel member presence. Quickstart Click on the Ephemeral Roles logo head

Dec 19, 2022

IRC, Slack, Telegram and RocketChat bot written in go

IRC, Slack, Telegram and RocketChat bot written in go

go-bot IRC, Slack & Telegram bot written in Go using go-ircevent for IRC connectivity, nlopes/slack for Slack and Syfaro/telegram-bot-api for Telegram

Dec 20, 2022

Simple yet customizable bot framework written in Go.

Simple yet customizable bot framework written in Go.

Introduction Sarah is a general-purpose bot framework named after the author's firstborn daughter. This comes with a unique feature called "stateful c

Dec 12, 2022

Golang telegram bot API wrapper, session-based router and middleware

go-tgbot Pure Golang telegram bot API wrapper generated from swagger definition, session-based routing and middlewares. Usage benefits No need to lear

Nov 16, 2022

A golang implementation of a console-based trading bot for cryptocurrency exchanges

A golang implementation of a console-based trading bot for cryptocurrency exchanges

Golang Crypto Trading Bot A golang implementation of a console-based trading bot for cryptocurrency exchanges. Usage Download a release or directly bu

Dec 30, 2022

VK bot package for Go

Go VK bot package This is simple VK.com bot API. At 2019-03-01 VK was restrict messages.send for user_tokens. This bot can work with group_token, and

Sep 26, 2022

Kelp is a free and open-source trading bot for the Stellar DEX and 100+ centralized exchanges

Kelp is a free and open-source trading bot for the Stellar DEX and 100+ centralized exchanges

Kelp Kelp is a free and open-source trading bot for the Stellar universal marketplace and for centralized exchanges such as Binance, Kraken, CoinbaseP

Jan 6, 2023

Telegram Bot Framework for Go

Margelet Telegram Bot Framework for Go is based on telegram-bot-api It uses Redis to store it's states, configs and so on. Any low-level interactions

Dec 22, 2022

Client lib for Telegram bot api

Micha Client lib for Telegram bot api. Supports Bot API v2.3.1 (of 4th Dec 2016). Simple echo bot example: package main import ( "log" "git

Nov 10, 2022
Bot-template - A simple bot template for creating a bot which includes a config, postgresql database

bot-template This is a simple bot template for creating a bot which includes a c

Sep 9, 2022
A bot based on Telegram Bot API written in Golang allows users to download public Instagram photos, videos, and albums without receiving the user's credentials.

InstagramRobot InstagramRobot is a bot based on Telegram Bot API written in Golang that allows users to download public Instagram photos, videos, and

Dec 16, 2021
Dlercloud-telegram-bot - A Telegram bot for managing your Dler Cloud account

Dler Cloud Telegram Bot A Telegram bot for managing your Dler Cloud account. Usa

Dec 30, 2021
Quote-bot - Un bot utilisant l'API Twitter pour tweeter une citation par jour sur la programmation et les mathématiques.

Description Ceci est un simple bot programmé en Golang qui tweet une citation sur la programmation tout les jours. Ce bot est host sur le compte Twitt

Jan 1, 2022
Discord-bot - A Discord bot with golang

JS discord bots Install Clone repo git clone https://github.com/fu-js/discord-bo

Aug 2, 2022
Bot - Telegram Music Bot in Go

Telegram Music Bot in Go An example bot using gotgcalls. Setup Install the serve

Jun 28, 2022
Pro-bot - A telegram bot to play around with the community telegram channels

pro-bot ?? Pro Bot A Telegram Bot to Play Around With The Community Telegram Cha

Jan 24, 2022
Slack-emoji-bot - This Slack bot will post the newly created custom Slack emojis to the channel of your choice

Slack Emoji Bot This Slack bot will post the newly created custom Slack emojis t

Oct 21, 2022
Sex-bot - The sex bot and its uncreative responses
Sex-bot - The sex bot and its uncreative responses

Sex Bot The sex bot, made with golang! The sex bot can't hear the word "sexo" he

Nov 11, 2022
Feline-bot - Feline Bot for Discord using Golang

Feline Bot for Discord Development This bot is implemented using Golang. Feature

Feb 10, 2022