tm604 / matrix-ircbridge Goto Github PK
View Code? Open in Web Editor NEWa simple Matrix<=>IRC bridge
a simple Matrix<=>IRC bridge
Long messages (especially ones with linefeeds in) just get dropped currently. We should truncate them somehow, possibly handling splitting multiline messages into fragments (though, being careful not to flood the bot off IRC in the process)
Images are currently entirely ignored.
To avoid confusion on the IRC side, maybe the bridge bot itself should announce that someone posted an image, perhaps in a NOTICE. My terminal client current prints images like
16:55 [Kegan] image (485x300) https://matrix.org/_matrix/content/QGtlZ2FuOm1hdHJpeC5vcmcfnNmZOSoXUmxotmtqvSlsNuW.aW1hZ2UvcG5n.png
On #matrix-dev:
09:54 Hi Erik, could you please tell me the meaning of the following event (where content = prev_content):
Log says
[Matrix] in #matrix-dev:matrix.org: Hi Erik, could you please tell me the meaning of the following event (where content = prev_content):
[Matrix] sending message for M-Giom - Hi Erik, could you please tell me the meaning of the following event (where content = prev_content):
[IRC] making new IRC user for M-Giom
[IRC] new IRC user ready
but never got around to sending the message on IRC. No error appeared at the time.
Later though, we now have
[Matrix] in #matrix-dev:matrix.org: ok thanks
[Matrix] sending message for M-Giom - ok thanks
Use of uninitialized value $_[2] in join or string at bot.pl line 77.
Matrix failure: Net::Async::Matrix=HASH(0x17675f8) Can't call method "new_future" on an undefined value at /home/matrix/lib/perl5/IO/Async/Stream.pm line 830.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.