Code Monkey home page Code Monkey logo

luci-app-serverchan's Introduction

简介

  • 用于 OpenWRT/LEDE 路由器上进行 微信/Telegram 推送的插件
  • 支持列表:
  • 微信推送/Server酱 https://sct.ftqq.com/
  • 企业微信/应用推送 https://work.weixin.qq.com/api/doc/90000/90135/90248
  • 微信推送/WxPusher https://wxpusher.zjiecode.com/docs
  • 微信推送/推送加 http://www.pushplus.plus/
  • Telegram/BotFather https://t.me/BotFather
  • 精力有限,如需要钉钉推送、飞书推送、Bark推送等请尝试 https://github.com/zzsj0928/luci-app-pushbot
  • 基于X86 OpenWrt 19.07.8 制作,不同系统不同设备,请自行修改部分代码,无测试条件无法重现的 bug 不考虑修复
  • 依赖 iputils-arping + curl + jq 命令,安装前请 opkg update,小内存路由谨慎安装
  • 使用主动探测设备连接的方式检测设备在线状态,以避免WiFi休眠机制,主动探测较为耗时,如遇设备休眠频繁,请自行调整超时设置
  • 流量统计功能依赖 wrtbwmon ,自行选装或编译,该插件与 Routing/NAT 、Flow Offloading 冲突,开启无法获取流量,自行选择

主要功能

  • 路由 ip/ipv6 变动推送
  • 设备别名
  • 设备上线推送
  • 设备离线推送及流量使用情况
  • CPU 负载、温度监视
  • 定时推送设备运行状态
  • MAC 白名单、黑名单、按接口检测设备
  • 免打扰
  • 无人值守任务

已知问题

  • 直接关闭接口时,该接口的离线设备会忽略检测
  • 部分设备无法读取到设备名,脚本使用 cat /var/dhcp.leases 命令读取设备名,如果 dhcp 中不存在设备名,则无法读取设备名(如二级路由设备、静态ip设备),请使用设备名备注.
  • 基于X86 OpenWrt 19.07.8 制作,不同系统不同设备,可能会遇到各种问题
  • 潘多拉系统、或不支持 sh 的系统,请将脚本开头 #!/bin/sh 改为 #!/bin/bash,或手动安装 sh

Download

ps

  • 新功能看情况开发,忙得头晕眼花
  • 欢迎各种代码提交
  • 提交bug时请尽量带上设备信息,日志与描述 (如执行 /usr/bin/serverchan/serverchan 后的提示、日志信息、/tmp/serverchan/ipAddress 文件信息、或尝试使用 sh -x /usr/bin/serverchan/serverchan 查看详细运行信息 )
  • 三言两句恕我无能为力

Donate

如果你觉得此项目对你有帮助,请捐助我们,以使项目能持续发展,更加完善。

image

luci-app-serverchan's People

Contributors

1715173329 avatar alecthw avatar beginner-go avatar binext avatar kfermercer avatar lysssssss avatar shuosiw avatar tty228 avatar twinzo1 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.