Git Product home page Git Product logo

luci-app-serverchan's Introduction

简介

  • 用于 OpenWRT/LEDE 路由器上进行 Server酱 微信/Telegram 推送的插件
  • 基于 serverchan 提供的接口发送信息,Server酱说明:http://sc.ftqq.com/1.version
  • 基于斐讯 k3 制作,不同系统不同设备,请自行修改部分代码,无测试条件无法重现的 bug 不考虑修复
  • 依赖 iputils-arping + curl 命令,安装前请 opkg update,小内存路由谨慎安装
  • 使用主动探测设备连接的方式检测设备在线状态,以避免WiFi休眠机制,主动探测较为耗时,如遇设备休眠频繁,请自行调整超时设置
  • 流量统计功能依赖 wrtbwmon ,自行选装或编译,该插件与 Routing/NAT 、Flow Offloading 冲突,开启无法获取流量,自行选择,L大版本直接编译 luci-app-wrtbwmon

主要功能

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

说明

  • 潘多拉系统、或不支持 sh 的系统,请将脚本开头 #!/bin/sh 改为 #!/bin/bash,或手动安装 sh
  • 追新是没有意义的,没有问题没必要更新,上班事情忙完了,摸鱼又不会摸,只能靠写几行 bug ,才能缓解无聊这样子

已知问题

  • 直接关闭接口时,该接口的离线设备会忽略检测
  • 部分设备无法读取到设备名,脚本使用 cat /var/dhcp.leases 命令读取设备名,如果 dhcp 中不存在设备名,则无法读取设备名(如二级路由设备、静态ip设备),请使用设备名备注

Download

ps

  • 新功能看情况开发
  • 王者荣耀新赛季,不思进取中
  • 欢迎各种代码提交
  • 提交bug时请尽量带上设备信息,日志与描述(如执行/usr/bin/serverchan/serverchan后的提示、日志信息、/tmp/serverchan/ipAddress 文件信息)
  • 三言两句恕我无能为力
  • 武汉加油

Donate

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

image

luci-app-serverchan's People

Contributors

1715173329 avatar binext avatar kfermercer avatar tty228 avatar twinzo1 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.