GithubHelp home page GithubHelp logo

lkiuyu / dbussmsforward Goto Github PK

View Code? Open in Web Editor NEW
28.0 1.0 2.0 88.91 MB

用于部分随身wifi刷了Debian后的短信Email转发,通过监听dbus实时获取新接收的短信并转发至邮箱

C# 100.00%

dbussmsforward's Introduction

DbusSmsFoward

用于部分随身wifi刷了Debian后的短信的Email、PushPlus、企业微信自建应用、TG机器人、钉钉机器人消息转发、Bark推送转发以及短信发送,通过监听dbus实时获取新接收的短信并转发以及调用dbus发送短信

使用教程

1.输入 sudo apt install libicu67 安装libicu

2.解压程序至home文件夹下

3.输入 sudo chmod -R 777 DbusSmsForward 配置程序可执行权限

4.输入 sudo ./DbusSmsForward 运行程序

5.根据提示配置相关邮箱信息

6.带参数运行跳过程序初始的运行模式选择以达到快速运行程序

输入 sudo ./DbusSmsForward -fE 跳过运行模式选择直接进入邮箱转发模式

输入 sudo ./DbusSmsForward -fP 跳过运行模式选择直接进入PushPlus转发模式

输入 sudo ./DbusSmsForward -fW 跳过运行模式选择直接进入企业微信转发模式

输入 sudo ./DbusSmsForward -fT 跳过运行模式选择直接进入TGBot转发模式

输入 sudo ./DbusSmsForward -fD 跳过运行模式选择直接进入钉钉转发模式

输入 sudo ./DbusSmsForward -fB 跳过运行模式选择直接进入Bark转发模式

输入 sudo ./DbusSmsForward -sS 跳过运行模式选择直接进入短信发送界面

参考

  1. ModemManager API document
  2. Tmds.DBus

dbussmsforward's People

Contributors

lkiuyu avatar

Stargazers

 avatar  avatar  avatar  avatar 白大哥 avatar  avatar jasonX avatar Lixingcong avatar  avatar  avatar  avatar zjljssl avatar Mayuu酱重症患者 avatar cxleo avatar  avatar  avatar  avatar  avatar  avatar  avatar 孟浩浩 avatar 九怀 avatar  avatar yuyi avatar Skilemon avatar XiaoHay avatar  avatar DZG avatar

Watchers

 avatar

Forkers

buse88 cinho89

dbussmsforward's Issues

能否增加修改信息模板显示顺序?

默认的文本模板是
标题
电话
时间
内容
这种显示方式在手机的通知提醒中只能看到前三行,后面的内容看不到,必须要打开app才能看。

能否增加个排序功能,
如果将排序设置为
内容
电话
时间
标题
这样在手机上通知就能直接看到短信内容。对验证码消息友好。

不支持自建的TGBot的API

Config中不支持填入自建的API反代地址,希望作者能够提供在DbusSmsForward.dll.config里,这样不加代理的情况才能发送TG通知

image

运行后报了如下错误

Unhandled exception. Tmds.DBus.DBusException: org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.ModemManager1.Modem.Messaging” on object at path /org/freedesktop/ModemManager1/Modem/0
at Tmds.DBus.DBusConnection.CallMethodAsync(Message msg, Boolean checkConnected, Boolean checkReplyType)
at Tmds.DBus.Connection.CallMethodAsync(Message message)
at Tmds.DBus.CodeGen.DBusObjectProxy.SendMethodReturnReaderAsync(String iface, String member, Nullable1 inSignature, MessageWriter writer) at Tmds.DBus.CodeGen.DBusObjectProxy.CallNonVoidMethodAsync[T](String iface, String member, Nullable1 inSignature, MessageWriter writer, ReadMethodDelegate`1 readValue)
at Program.

$(String[] args)
at Program.(String[] args)
已放弃

运行报错

1.0.3版本
1.0.2版本
键入PushPlusToken或smtp地址后提示如下信息:
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
at DbusSmsForward.SendMethod.SendByPushPlus.SetupPushPlusInfo()
at DbusSmsForward.ProcessUserChoise.ProcessChoise.sendMethodGuide(String chooseOption)
at Program.

$(String[] args)
at Program.(String[] args)
已放弃

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.