ammen99 / github-irc-webhook Goto Github PK
View Code? Open in Web Editor NEWA simple python server to listen for Github webhooks and send IRC notifications
License: GNU General Public License v3.0
A simple python server to listen for Github webhooks and send IRC notifications
License: GNU General Public License v3.0
How about making it compatible with a Slack like API so that any service that allows slack webhooks could easily be used with irc through this bot?
Thanks for considering.
Notice(emersion-bot): [emersion/go-smtp] emersion pushed 0 commit to v0.11.0 (https://git.io/fjIHs):
Hide these by default or add an option to do so. They don't convey a lot of value.
Not sure what happened. Seems to work properly after that.
127.0.0.1 - - [03/Mar/2019 09:44:20] "POST /github HTTP/1.1" 200 -
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 48000)
Traceback (most recent call last):
File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock
self.process_request(request, client_address)
File "/usr/lib/python3.7/socketserver.py", line 347, in process_request
self.finish_request(request, client_address)
File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python3.7/socketserver.py", line 720, in __init__
self.handle()
File "/usr/lib/python3.7/http/server.py", line 426, in handle
self.handle_one_request()
File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request
method()
File "src/bot.py", line 36, in do_POST
events.handle_event(irc, event_type, json.loads(data))
File "/usr/lib/python3.7/json/__init__.py", line 348, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.7/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.7/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
----------------------------------------
Would be nice to support sr.ht too. Would that be in scope for this project?
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.