Skip to content
View btshowmetainfo's full-sized avatar

Block or report btshowmetainfo

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
btshowmetainfo/README.md

Using the container

For example:

wget https://releases.ubuntu.com/20.04/ubuntu-20.04.2-live-server-amd64.iso.torrent

# note: not all versions of docker support mounting individual files!
docker run \
    --rm \
    --volume "$(pwd)/input_/ubuntu-20.04.2-live-server-amd64.iso.torrent:/input/a.torrent" \
    btshowmetainfo/btshowmetainfo

gives

btshowmetainfo 20130326 - decode BitTorrent metainfo files

metainfo file.: a.torrent
info hash.....: 126f82fb33119d2acf93a16cfba6eb1c5787a59f
file name.....: ubuntu-20.04.2-live-server-amd64.iso
file size.....: 1215168512 (4635 * 262144 + 131072)
announce url..: https://torrent.ubuntu.com/announce
announce-list.: https://torrent.ubuntu.com/announce|https://ipv6.torrent.ubuntu.com/announce
comment.......: Ubuntu CD releases.ubuntu.com

With the wrapper script

curl --silent https://releases.ubuntu.com/20.04/ubuntu-20.04.2-live-server-amd64.iso.torrent | ./btshowmetainfo -

./btshowmetainfo ubuntu-18.04.4-desktop-amd64.iso.torrent

Build and run

Clone the repo, then

./build-and-test

Local Build & Run Example

docker build . -t btshowmetainfo

# note: not all versions of docker support mounting individual files!
docker pull btshowmetainfo/btshowmetainfo
docker run --rm -v "$(pwd)/input_/ubuntu-18.04.4-desktop-amd64.iso.torrent:/input/a.torrent" btshowmetainfo/btshowmetainfo

See also

Popular repositories Loading

  1. btshowmetainfo btshowmetainfo Public

    Exposes https://github.com/effigies/BitTornado's python3 btshowmetainfo.py in a convenient container

    Shell 4