ProgramComputer / plugin-XDCC

πŸ“ XDCC for webircgateway

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

Overview

demo

This plugin currently supports XDCC SEND. Append '/video' to url for video playback instead.

Building and development

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.

Commands

  • 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

Contributions

Currently, only a few commands are supported. Any contributions to extend functionality are welcome.

Future outlook

Currently, this is a server-side solution but when wasi-sockets matures in web. It may become outdated.

License

Licensed under the MIT License.

About

πŸ“ XDCC for webircgateway

License:MIT License


Languages

Language:Go 94.9%Language:Shell 5.1%