File sharing for webircgateway
A simple plugin to do xdcc for webircgateway to IRC networks for any web client
Add this to your web server to route XDCC commands.
This plugin currently supports XDCC SEND. Append '/video' to url for video playback instead.
Build using
go build -buildmode=plugin -o xdcc.so
in directory containing xdcc.go file.
File server runs on port 3000 by default.
In config.conf,
under [plugins]
put the path to xdcc.so file.
For example,
[plugins]
./lorem/ipsum/plugin-XDCC.so
and under [XDCC]
set the following keys
- Port 3000
- DomainName (REQUIRED) is the domain Name of the server
- TLS bool
- LetsEncryptCacheDir ""
- CertFile ""
- KeyFile ""
For example,
[plugins]
DomainName = lorem.ipsum.dolor.sit
Note- Currently SIGHUP on webircgateway will not reload this section. Webircgateway should be restarted.
- DCC SEND
- DCC Chat
- DCC Get
- DCC Reject
- DCC Ignore
- DCC nick
- DCC Passive
- DCC Trust
- DCC Maxcps
- XDCC SEND
- XDCC ACCEPT
- XDCC RESUME
- XDCC REMOVE
- XDCC CANCEL
- XDCC BATCH
- XDCC QUEUE
- XDCC INFO
- XDCC GET
- XDCC STOP
- XDCC HELP
- XDCC SEARCH
Currently, only a few commands are supported. Any contributions to extend functionality are welcome.
Currently, this is a server-side solution but when wasi-sockets matures in web. It may become outdated.