Code Monkey home page Code Monkey logo

anybt's Introduction

AnyBT: An Open Sourced Decentralized BitTorrent Search Engine

Introducing AnyBT, a tool for searching magnet link of all kinds of BitTorrent contents. It's based on a decentralized data protocol - Glitter Protocol.

You could use AnyBT to search for magnet links base on file names and displays search results with a simple interface.

There is also a web version of AnyBT works on ENS and IPFS available if you do not have Python environment.

Getting Started

To get started, please follow these steps:

Prerequisites

  • Python (v3.7 or higher)

Installation

Installing the tool, and you should make sure your/download/path in the $PATH, then you can use the command line tool.

pip install anybt

Options

  • terms:Specifies search terms to be queried. Required:yes.

  • -p <page> or --page <page>:Specifies the page of results to display. Default: 0.

  • -l <limit> or --limit <limit>:Specifies the number of per page to display. Default: 10.

  • -s <sort type> or --sort <sort type>:Specifies the sorting sequence of results to display. Default: none.

    • hot :sort by the file heat
    • size :sort by the size of file
    • date :sort by the original publication time of the file
  • -t <filter type> or --type <fliter type>:Specifies the category of result to display. Default: all.

    • video :video categories.
    • document:document categories.
    • image :image categories.
    • music :music categories.
    • software :software categories.
    • package :package categories.

Examples

  1. Search for keyword "Chaplin":
anybt  Chaplin
  1. Search for keywords "Charlie Chaplin" and page 1, limit 5:
anybt  "Charlie Chaplin" -p 1 -l 5 
  1. Search for keywords "Charlie Chaplin" and order by file size:
anybt  "Charlie Chaplin" -s size 
  1. Search for keywords "Charlie Chaplin" and only keep the video resource:
anybt "Charlie Chaplin" -t video

Built With

  • glitter-sdk-py A Python SDK for interacting with the Glitter Protocol.

Contributing

If you would like to contribute to this project, feel free to fork the repository and submit a pull request with your changes.

License

This project is licensed under the MIT License - see the LICENSE file for details.

anybt's People

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.