Giter Site home page Giter Site logo

animmouse / torrent-webseed-creator Goto Github PK

View Code? Open in Web Editor NEW
83.0 6.0 54.0 91 KB

Webseeded torrent creator using GitHub Actions

License: Mozilla Public License 2.0

torrent torrent-webseed burnbit urlhash webseed bittorrent github-actions actionshackathon21 download

torrent-webseed-creator's Introduction

Torrent Webseed Creator

Webseeded Torrent Creator using GitHub Actions.

Inspired by BurnBit † and URLHash.

Powered by these programs to create a torrent file.

An alternative to BurnBit and URLHash.

Convert direct HTTP link to .torrent

Your file is then burned into a torrent.

Torrents created are trackerless, relying on Distributed Hash Table and Peer EXchange, to help reduce the burden of torrent trackers.

For people that have unstable internet.
Can be paused because it is a torrent.
Utilizes the power of peer to peer downloads and the client-server downloads.
Combines the best of both worlds (P2P and Direct HTTP Link).

How to use

  1. Create a repository on GitHub using this template by clicking "Use this template" and then click "Create a new repository".
  2. Go to the Actions tab.
  3. Choose a program to use by clicking the name of the program under "All workflows". Comparison of torrent creators
  4. Besides the "This workflow has a workflow_dispatch event trigger.", click "Run workflow".
  5. Input the required information at the dropdown box. (Example inputs are predefined.)
    • Name: The name of the torrent file.
    • Comment: The comment inside the torrent file.
    • URL: The URL of the file to download and create a torrent from.
    • File name: The file name of the file you will create a torrent from.
    • Piece size:
      • For mktorrent: The size of the torrent pieces in power of 2 (2^n).
      • For py3createtorrent: The size of the torrent pieces in kilobyte (KB) or 0 for automatic calculation.
      • For torrenttools: The size of the torrent pieces in power of 2 (2^n) or in kilobyte (KB) or auto for automatic calculation.
      • For torf-cli & dottorrent-cli: The piece size is set automatically.
    • Protocol Version: The version of BitTorrent protocol to use. Either v1, v2, or hybrid (For torrenttools only).
  6. Click "Run workflow" at the bottom of the dropdown box.
  7. Wait for it to finish downloading and hashing.
  8. After it says passing on GitHub Actions, click the workflow run that has been created and download the torrent file on Artifacts.

For a step by step instruction with screenshots, go to my website.
You can also commission me on Ko-fi so I'll do the work for you.

URL requirements

  1. URL must be accessible without cookies. Source
  2. The URL should not expire, or it will stop working sometime if there is not enough seeders. Source

Recommend piece size

Piece Size mktorrent py3createtorrent torrenttools for filesizes
Automatic No support yet 0 auto Any
512 KiB 19 512 19 or 512K 512 MiB - 1024 MiB
1024 KiB 20 1024 20 or 1024K 1 GiB - 2 GiB
2048 KiB 21 2048 21 or 2048K 2 GiB - 4 GiB
4096 KiB 22 4096 22 or 4096K 4 GiB - 8 GiB
8192 KiB 23 8192 23 or 8192K 8 GiB - 16 GiB
16384 KiB 24 16384 24 or 16384K 16 GiB - 512 GiB
32768 KiB 25 32768 25 or 32768K >512 GiB

Source: Seedboxes.cc

File size limit

As of 2024-02-27

  • Default: ≈20 GB
  • Maximize disk space: ≈101 GB

Alternatives

  1. Torrent Webseed Creator on Colab

torrent-webseed-creator's People

Contributors

animmouse avatar dependabot[bot] 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  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  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  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

torrent-webseed-creator's Issues

Use workflow_dispatch inputs

Instead of requiring to commit and push the parameters, use instead workflow_dispatch inputs to make it easy.

on:
  workflow_dispatch:
    inputs:
      url:
        description: URL
        required: true
        
jobs:
  download-file:
    runs-on: ubuntu-latest
    steps:
      - name: Download file
        run: wget ${{ github.event.inputs.url }}

Support for BitTorrent v2 protocol

Waiting for mktorrent to implement BitTorrent v2 protocol or switch to another torrent creation program that has support for BitTorrent v2 protocol.

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.