All Projects → filirnd → owbot

filirnd / owbot

Licence: other
OpenWrt Telegram Bot

Programming Languages

go
31211 projects - #10 most used programming language
shell
77523 projects
Makefile
30231 projects

Projects that are alternatives of or similar to owbot

Sierra Wireless Modems
EM7565/EM7455/MC7455 - Modem Configuration
Stars: ✭ 217 (+734.62%)
Mutual labels:  openwrt
openipc.github.io
Alternative IP Camera firmware from an open community, http://openipc.org site source code
Stars: ✭ 28 (+7.69%)
Mutual labels:  openwrt
TzumiMagicTV-RTLSDR
Working with the 13 dollar Tzumi MagicTV.
Stars: ✭ 38 (+46.15%)
Mutual labels:  openwrt
Openwrt Trojan
trojan and its dependencies for OpenWrt
Stars: ✭ 236 (+807.69%)
Mutual labels:  openwrt
ct-frontend
Frontend Demo for Cucumber Tony API
Stars: ✭ 20 (-23.08%)
Mutual labels:  openwrt
saklarku
Aplikasi mobile remote control untuk mengendalikan saklar/relay yang terhubung dengan port LED/GPIO di router berbasis OpenWRT
Stars: ✭ 20 (-23.08%)
Mutual labels:  openwrt
Django Netjsonconfig
Configuration manager for embedded devices, implemented as a reusable django-app
Stars: ✭ 213 (+719.23%)
Mutual labels:  openwrt
OpenWrt-UEFI-Support
Add UEFI-Boot Support to Openwrt v19.07 & v18.06 (Unofficial Support)
Stars: ✭ 13 (-50%)
Mutual labels:  openwrt
wrt-hisicam
OpenWrt based HiSilicon`s System-On-a-Chip ip camera firmware
Stars: ✭ 21 (-19.23%)
Mutual labels:  openwrt
openlumi.github.io
OpenWrt for Xiaomi Zigbee gateway with imx6 SoC DGNWG05LM, ZHWG11LM
Stars: ✭ 134 (+415.38%)
Mutual labels:  openwrt
Drcom Gdut Hc5661a Openwrt
在Dr.COM下使用路由器上校园网WIFI(以广东工业大学、极路由1S HC5661A、OpenWrt为例)
Stars: ✭ 245 (+842.31%)
Mutual labels:  openwrt
go-uci
Native Go bindings for OpenWrt's UCI.
Stars: ✭ 69 (+165.38%)
Mutual labels:  openwrt
owrtwifi2mqtt
Using your OpenWRT Router's Wifi to detect if a person's smartphone is still in/near the apartment and publish via MQTT
Stars: ✭ 70 (+169.23%)
Mutual labels:  openwrt
Ddns Scripts aliyun
OpenWrt/LEDE DDNS support for aliyun (阿里云)
Stars: ✭ 224 (+761.54%)
Mutual labels:  openwrt
openwrt-tailscale-enabler
Brings Tailscale to low powered OpenWRT devices
Stars: ✭ 409 (+1473.08%)
Mutual labels:  openwrt
Windowsspyblocker
WindowsSpyBlocker 🛡️ is an application written in Go and delivered as a single executable to block spying and tracking on Windows systems.
Stars: ✭ 2,913 (+11103.85%)
Mutual labels:  openwrt
NueXini Packages
Packages for OpenWrt【每日更新luci-app OpenWrt Packages】
Stars: ✭ 269 (+934.62%)
Mutual labels:  openwrt
lede-dockercompiler
Docker image to compile LEDE/OpenWrt from source
Stars: ✭ 21 (-19.23%)
Mutual labels:  openwrt
docker-openwrt-builder
A Docker container to build OpenWrt images
Stars: ✭ 98 (+276.92%)
Mutual labels:  openwrt
theairportwiki
http://theairportwiki.com
Stars: ✭ 26 (+0%)
Mutual labels:  openwrt

OWBot - Openwrt Telegram Bot

   \      /                  #### OWbot ####  v. 0.1.0b
   _\___/_
 /______ /|  Yet another telegram bot, but for your router.
|_°_____|/   Made with <3 by Filirnd (https://github.com/filirnd/)

Version

0.1.1b

This software is in beta stage, so don't use it in production environments.

Description

OWBot is a telegram bot for OpenWrt, made in golang and easily expandable.

It answers only to configured telegram id (only one for now) for privacy reasons.

Functions

Actual implemented functions are:

  • /clients: return list of connected clients (name - ip - mac address)

  • /reboot: reboot the router

Actual async implemented functions are:

  • New Client trigger: when new client connects on router, the bot received a notification with same format of clients list (name - ip - mac address)

Installation:

Prerequisites:

For installing this bot you need of course openwrt installed. Then need to know witch kind of cpu architecture and model you have on your router. Check this for choosing right package to download.

For checking this:

root@OpenWrt:~/owbot_install# dmesg | grep "CPU0 revision is"
[    0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)

In this case the router have a MIPS 74Kc CPU then download the mips_74Kc.zip package for installing the bot.

Another prerequisite is create a new telegram bot from @botfather bot (follow this https://core.telegram.org/bots#3-how-do-i-create-a-bot) and get bot token. Get your personal telegram id too, with @GiveChatId_bot or other similar bots.

Install:

  • Unzip the correct zip package on your pc

  • Transfer the directory unziped to the /root of your router

        scp -r owbot_install [email protected]:/root
  • Open ssh session on your router and enter on copied directory (/root/owbot_install/)

    cd /root/owbot_install

  • Open with vi the config file /root/owbot_install/resources/config.json and change the configs like this:

    {
      "id": 0, // YOUR PERSONAL TELEGRAM ID
      "token": "00:xxxx", // YOUR BOT TOKEN
      "async" : {
          "newClient": true // SET TO true or false IF WANT NEW CLIENT TRIGGER OR NOT
      }
    }
    
  • Launch install.sh script ./install.sh

  • Enjoy your bot :3

Tested Devices

This bot is tested on this devices:

  • TP-Link TL-WDR3600 v1 with OpenWrt 19.07.6 (MIPS 74Kc cpu)

Need people for testing this bot on their routers. If you want to help me contact to email or open an issue.

Compile

TODO

Prerequisites

upx(for go package reduction) and golang installed.

TODO

Add custom functions:

TODO

Buy me a coffee

If this software help you and want to support me, buy me a coffee <3

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].