Skip to content

POST to IRC Fowarder. Send messages to irc with a short curl command

Notifications You must be signed in to change notification settings

matheusfillipe/p2irc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

POST TO IRC FOWARDER

Paste or send directly to irc server.

Check main.go constans for configuration.

From command line

You can choose the server and the room or a DM (using - as a prefix). The server port defaults to 6667. Pay attention that to be able to send multiple lines you need to use --data-binary argument on linux curl.

command | curl -d @- p2ir.cf/irc.server/room
cat file | curl --data-binary @- p2ir.cf/irc.server/room
echo "hey greg" | curl -d @- p2ir.cf/irc.server.com/-greg
printf "hey greg\nhow are you\nbye" | curl --data-binary @- p2ir.cf/irc.server.com/room
printf "hey greg\nhow are you\nbye" | curl -H "NICK: samuel" --data-binary @- p2ir.cf/irc.server.com/room

Github webhooks

Create a webhook and use application/json for your content-type header. Edit main.go WEBHOOK_TEMPLATES to have more notifications.

About

POST to IRC Fowarder. Send messages to irc with a short curl command

Topics

Resources

Stars

Watchers

Forks