All Projects → arokettu → bencode

arokettu / bencode

Licence: MIT license
PHP Bencode (BitTorrent) Encoder/Decoder

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to bencode

BencodeNET
.NET library for encoding/decoding bencode and reading/writing torrent files
Stars: ✭ 133 (+600%)
Mutual labels:  torrent, torrent-files, bencode
Dht
dht is used by anacrolix/torrent, and is intended for use as a library in other projects both torrent related and otherwise
Stars: ✭ 184 (+868.42%)
Mutual labels:  torrent, bittorrent
bthello
Python3 DHT 磁力种子爬虫 种子解析 种子搜索 演示地址
Stars: ✭ 43 (+126.32%)
Mutual labels:  torrent, bittorrent
Ipmagnet
Check which IP adresses your BitTorrent client is handing out to trackers
Stars: ✭ 200 (+952.63%)
Mutual labels:  torrent, bittorrent
mad-torrent
Delphi bittorrent protocol implementation
Stars: ✭ 30 (+57.89%)
Mutual labels:  torrent, bittorrent
Magnet Uri
Parse a magnet URI and return an object of keys/values
Stars: ✭ 183 (+863.16%)
Mutual labels:  torrent, bittorrent
Vlc Bittorrent
A bittorrent plugin for VLC.
Stars: ✭ 198 (+942.11%)
Mutual labels:  torrent, bittorrent
Dottorrent Gui
An advanced GUI torrent file creator with batch functionality, powered by PyQt and dottorrent
Stars: ✭ 175 (+821.05%)
Mutual labels:  torrent, bittorrent
Cratetorrent
A BitTorrent V1 engine library for Rust (and currently Linux)
Stars: ✭ 233 (+1126.32%)
Mutual labels:  torrent, bittorrent
simple-torrent-android
A torrent client library for Android that utilizes frostwire-jlibtorrent. It supports sequential and simultaneous downloads.
Stars: ✭ 85 (+347.37%)
Mutual labels:  torrent, bittorrent
torrent-webseed-creator
Webseeded torrent creator using GitHub Actions
Stars: ✭ 54 (+184.21%)
Mutual labels:  torrent, bittorrent
Biglybt Android
BiglyBT for Android, torrent client and remote control app
Stars: ✭ 180 (+847.37%)
Mutual labels:  torrent, bittorrent
IMDb-Scout-Mod
Auto search for movie/series on torrent, usenet, ddl, subtitles, streaming, predb and other sites. Adds links to IMDb pages from hundreds various sites. Adds movies/series to Radarr/Sonarr. Adds external ratings from Metacritic, Rotten Tomatoes, Letterboxd, Douban, Allocine. Media Server indicators for Plex, Jellyfin, Emby. Dark theme/style for …
Stars: ✭ 177 (+831.58%)
Mutual labels:  torrent, bittorrent
torrenttools
Commandline tool for inspecting, creating and editing BitTorrent metafiles.
Stars: ✭ 125 (+557.89%)
Mutual labels:  torrent, bittorrent
Torrent Discovery
Discover BitTorrent and WebTorrent peers
Stars: ✭ 177 (+831.58%)
Mutual labels:  torrent, bittorrent
Transgui
🧲 A feature rich cross platform Transmission BitTorrent client. Faster and has more functionality than the built-in web GUI.
Stars: ✭ 2,488 (+12994.74%)
Mutual labels:  torrent, bittorrent
Bt
BitTorrent library and client with DHT, magnet links, encryption and more
Stars: ✭ 2,011 (+10484.21%)
Mutual labels:  torrent, bittorrent
Put.io Adder
OS X put.io client that acts as handler for magnet: links and .torrent files, and adds them to your put.io download queue
Stars: ✭ 172 (+805.26%)
Mutual labels:  torrent, bittorrent
Magnetissimo
Web application that indexes all popular torrent sites, and saves it to the local database.
Stars: ✭ 2,551 (+13326.32%)
Mutual labels:  torrent, bittorrent
porla
A high performance BitTorrent client for servers and seedboxes.
Stars: ✭ 83 (+336.84%)
Mutual labels:  torrent, bittorrent

PHP Bencode Encoder/Decoder

Packagist PHP Packagist Gitlab pipeline status Codecov

Bencode is the encoding used by the peer-to-peer file sharing system BitTorrent for storing and transmitting loosely structured data.

This is a pure PHP library that allows you to encode and decode Bencode data.

Installation

composer require 'sandfoxme/bencode'

Supported versions:

  • 1.x (bugfixes only, PHP 7.0+)
  • 2.x (bugfixes only, PHP 8.0+)
  • 3.x (current, PHP 8.1+)

Simple use

<?php

\SandFox\Bencode\Bencode::encode(['info' => ['length' => 12345, 'name' => 'Bencoded demo']]);
\SandFox\Bencode\Bencode::decode('d4:infod6:lengthi12345e4:name13:Bencoded demoee');

Documentation

Read full documentation here: https://sandfox.dev/php/bencode.html

Documentation for all supported versions can be found on Read the Docs:

Support

Please file issues on our main repo at GitLab: https://gitlab.com/sandfox/bencode/-/issues

License

The library is available as open source under the terms of the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].