Code Monkey home page Code Monkey logo

plugin-xdcc's Introduction

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.

plugin-xdcc's People

Contributors

programcomputer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.