[Release] Titlekey site backup and self-hosting tool

Discussion in 'Wii U - Hacking & Backup Loaders' started by dojafoja, Dec 7, 2018.

  1. dojafoja
    OP

    dojafoja life elevated

    Member
    6
    Jan 2, 2014
    I got kind of bored today and decided to kill some time. I started thinking about how the titlekey site is always going down and what would happen if it went down for good. What if you could just backup the necessary components of the titlekey site and self-host it on your computer, then point NUS downloaders like FunKiiU and FunKii-UI to your local IP address instead? That's exactly what this tool does. It is a Python tool that will create a backup of the online titlekey site and self-host it. When it's all backed up it only uses about 4 Mb of disk space, including the tool itself. I've only tested this with FunKii-UI but I imagine it would work with USBHelper too if you modified your hosts file to redirect to your local IP address. I can't be sure though because I don't use USBHelper. I thought it might be useful for some people so I wanted to share it. Each time you run the file backup_keysite.py it will check for and download anything that is missing from your local backup. This does not create an actual 1:1 clone of the titlekey site but instead downloads the necessary components to function with these NUS downloaders.

    You will need Python 2.7 or Python 3.x to use this tool.

    Download here: https://github.com/dojafoja/Backup-Titlekey-Site

    Usage is contained in the Readme

    If you find this tool to be useful, great! If not, that's fine!
     
  2. Spadezilla

    Spadezilla Advanced Member

    Newcomer
    1
    Dec 19, 2013
    United States
    thank you! backup_whatevertherestofthefilenameis.py is working great on ubuntu, however, i am having this issue with server.py:


    user@nowhere:~/Backup-Titlekey-Site-master$ python server.py
    Traceback (most recent call last):
    File "server.py", line 40, in <module>
    server, serv_info = create_server()
    File "server.py", line 30, in create_server
    server = HTTPServer((get_ip_address(), 8000), HandlerClass)
    File "server.py", line 19, in get_ip_address
    ip = commands.getoutput("hostname -I")
    NameError: global name 'commands' is not defined
     
    Last edited by Spadezilla, Dec 9, 2018
  3. dojafoja
    OP

    dojafoja life elevated

    Member
    6
    Jan 2, 2014
    Shit man you are right! I used a non-woking version of server.py, I can't believe I included that one lol. Try redownloading and trying again. Should be working now.
     
    Spadezilla likes this.
  4. IceLancerSR

    IceLancerSR Newbie

    Newcomer
    2
    Jul 28, 2014
    United States
    UnderTheRainbow
    I love it! Thank you! and thanks for 2.7 support ! :)
     
    dojafoja likes this.
Loading...