Code Monkey home page Code Monkey logo

xdcc-cli's Introduction

XDCC Command Line Tools

This project provides a simple command line tool which allow you to perform search and retrieval of files on the IRC network through the XDCC protocol. It is based on the popular goirc library.

Features

  • File search from multiple search engines.
  • It allows to download multiple files at the same time.

Installation

Assuming you have the latest version of Go installed on your system, you can use the make command to build an executable:

git clone https://github.com/ostafen/xdcc-cli.git
cd xdcc-cli
make # this will ouput a bin/xdcc executable

Usage

To initialize a file search, simply pass a list of keywords to the search subcommand like so:

foo@bar:~$ xdcc search keyword1 keyword2 ...

For example, to search for the latest iso of ubuntu, you could simply write:

foo@bar:~$ xdcc search ubuntu iso

If the command succedeeds, a table, similar to the following, will be displayed:

File Name File Size URL
ubuntu-20.04-desktop-amd64.iso 2.50GB ...
... ... ...

A part from file details, each row will contain an url of the form irc://network/channel/bot/slot, which identifies the file on the IRC network. To download one or more file, simply pass a list of url to the get subcommand like so:

foo@bar:~$ xdcc get url1 url2 ... [-o /path/to/an/output/directory]

Alternatively, you could also specify a .txt input file, containing a list of urls (one for each line), using the -i switch.

Notes

This software has been written as a development exercise and comes with no warranty. Use it at your own risk. Moreover, the developer is not responsible for any illecit use of it.

xdcc-cli's People

Contributors

bartsimp avatar ostafen avatar totto16 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

xdcc-cli's Issues

x509: certificate has expired

Hello,

I got this error trying to get a link :

x509: certificate has expired or is not yet valid: current time 2023-01-28T09:08:05+01:00 is after 2023-01-08T09:42:48Z .

I think it has something to do with SSL.

cannot execute xdcc

Hey, I compiled this myself on raspi 4, but I cannot execute the binary:

$ xdcc
-bash: /usr/bin/xdcc: No such file or directory

i moved the binary to /bin. It is also executable.

This is the file info:

$ file /bin/xdcc
/bin/xdcc: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.3, Go BuildID=fu18MtWptZTYkAiYXR64/x7d-TGo1YQmQ8z3m2Dl6/FnTI_E1g12tfVWFmLdqp/2SXZIILHVU1S-xMjtlm7, with debug_info, not stripped

also executing in the bin directory after compiling doesnt solve the issue.
You've got any idea on how to solve this?

Certificate issue

Hello,
While try to dl from abject xdcc-cli get, give me back:

x509: “irc.abjects.net” certificate is not trusted

Any tips?
BR

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.