Metadata for the ArchiveTeam Docker Hub repositories
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
7.9 KiB

  1. {
  2. "user": "warcforceone",
  3. "name": "tinypic-grab",
  4. "namespace": "warcforceone",
  5. "repository_type": "image",
  6. "status": 1,
  7. "status_description": "active",
  8. "description": "",
  9. "is_private": false,
  10. "is_automated": false,
  11. "star_count": 0,
  12. "pull_count": 7339169,
  13. "last_updated": "2019-09-09T18:11:17.375929Z",
  14. "date_registered": "2019-08-28T00:48:00.823992Z",
  15. "collaborator_count": 0,
  16. "affiliation": null,
  17. "hub_user": "warcforceone",
  18. "has_starred": false,
  19. "full_description": "tinypic-grab\n=============\n\nMore information about the archiving project can be found on the ArchiveTeam wiki: [TinyPic](http://archiveteam.org/index.php?title=TinyPic)\n\nSetup instructions\n=========================\n\nBe sure to replace `YOURNICKHERE` with the nickname that you want to be shown as, on the tracker. You don't need to register it, just pick a nickname you like.\n\nIn most of the below cases, there will be a web interface running at http://localhost:8001/. If you don't know or care what this is, you can just ignore it\u2014otherwise, it gives you a fancy view of what's going on.\n\n**If anything goes wrong while running the commands below, please scroll down to the bottom of this page. There's troubleshooting information there.**\n\nRunning with a warrior\n-------------------------\n\nFollow the [instructions on the ArchiveTeam wiki](http://archiveteam.org/index.php?title=Warrior) for installing the Warrior, and select the \"TinyPic\" project in the Warrior interface.\n\nRunning without a warrior\n-------------------------\nTo run this outside the warrior, clone this repository, cd into its directory and run:\n\n pip install --upgrade seesaw\n ./get-wget-lua.sh\n\nthen start downloading with:\n\n run-pipeline pipeline.py --concurrent 2 YOURNICKHERE\n\nFor more options, run:\n\n run-pipeline --help\n\nIf you don't have root access and/or your version of pip is very old, you can replace \"pip install --upgrade seesaw\" with:\n\n wget https://raw.github.com/pypa/pip/master/contrib/get-pip.py ; python get-pip.py --user ; ~/.local/bin/pip install --upgrade --user seesaw\n\nso that pip and seesaw are installed in your home, then run\n\n ~/.local/bin/run-pipeline pipeline.py --concurrent 2 YOURNICKHERE\n\nRunning multiple instances on different IPs\n-------------------------------------------\n\nThis feature requires seesaw version 0.0.16 or greater. Use `pip install --upgrade seesaw` to upgrade.\n\nUse the `--context-value` argument to pass in `bind_address=123.4.5.6` (replace the IP address with your own).\n\nExample of running 2 threads, no web interface, and Wget binding of IP address:\n\n run-pipeline pipeline.py --concurrent 2 YOURNICKHERE --disable-web-server --context-value bind_address=123.4.5.6\n\nDistribution-specific setup\n-------------------------\n### For Debian/Ubuntu:\n\n adduser --system --group --shell /bin/bash archiveteam\n apt-get update && apt-get install -y git-core libgnutls-dev lua5.1 liblua5.1-0 liblua5.1-0-dev screen python-dev python-pip bzip2 zlib1g-dev flex autoconf\n pip install --upgrade seesaw\n su -c \"cd /home/archiveteam; git clone https://github.com/ArchiveTeam/tinypic-grab.git; cd tinypic-grab; ./get-wget-lua.sh\" archiveteam\n screen su -c \"cd /home/archiveteam/tinypic-grab/; run-pipeline pipeline.py --concurrent 2 --address '127.0.0.1' YOURNICKHERE\" archiveteam\n [... ctrl+A D to detach ...]\n\nIn __Debian Jessie, Ubuntu 18.04 Bionic and above__, the `libgnutls-dev` package was renamed to `libgnutls28-dev`. So, you need to do the following instead:\n\n adduser --system --group --shell /bin/bash archiveteam\n apt-get update && apt-get install -y git-core libgnutls28-dev lua5.1 liblua5.1-0 liblua5.1-0-dev screen python-dev python-pip bzip2 zlib1g-dev flex autoconf\n [... pretty much the same as above ...]\n\nWget-lua is also available on [ArchiveTeam's PPA](https://launchpad.net/~archiveteam/+archive/wget-lua) for Ubuntu.\n\n\nAnd you may also need to update your Python's warcio if you find screen detaching immediately after running the job in Ubuntu 18.04 Bionic and above:\n\n pip install warcio --upgrade\n\n### For CentOS:\n\nEnsure that you have the CentOS equivalent of bzip2 installed as well. You will the EPEL repository to be enabled.\n\n yum -y install autoconf automake flex gnutls-devel lua-devel python-pip zlib-devel\n pip install --upgrade seesaw\n [... pretty much the same as above ...]\n\n### For openSUSE:\n\n zypper install liblua5_1 lua51 lua51-devel screen python-pip libgnutls-devel bzip2 python-devel gcc make\n pip install --upgrade seesaw\n [... pretty much the same as above ...]\n\n### For OS X:\n\nYou need Homebrew. Ensure that you have the OS X equivalent of bzip2 installed as well.\n\n brew install python lua gnutls\n pip install --upgrade seesaw\n [... pretty much the same as above ...]\n\n**There is a known issue with some packaged versions of rsync. If you get errors during the upload stage, tinypic-grab will not work with your rsync version.**\n\nThis supposedly fixes it:\n\n alias rsync=/usr/local/bin/rsync\n\n### For Arch Linux:\n\nEnsure that you have the Arch equivalent of bzip2 installed as well.\n\n1. Make sure you have `python2-pip` installed.\n2. Install [the wget-lua package from the AUR](https://aur.archlinux.org/packages/wget-lua/). \n3. Run `pip2 install --upgrade seesaw`.\n4. Modify the run-pipeline script in seesaw to point at `#!/usr/bin/python2` instead of `#!/usr/bin/python`.\n5. `useradd --system --group users --shell /bin/bash --create-home archiveteam`\n6. `screen su -c \"cd /home/archiveteam/tinypic-grab/; run-pipeline pipeline.py --concurrent 2 --address '127.0.0.1' YOURNICKHERE\" archiveteam`\n\n### For Alpine Linux:\n\n apk add lua5.1 git python bzip2 bash rsync gcc libc-dev lua5.1-dev zlib-dev gnutls-dev autoconf flex make\n python -m ensurepip\n pip install -U seesaw\n git clone https://github.com/ArchiveTeam/tinypic-grab\n cd tinypic-grab; ./get-wget-lua.sh\n run-pipeline pipeline.py --concurrent 2 --address '127.0.0.1' YOURNICKHERE\n\n### For FreeBSD:\n\nHonestly, I have no idea. `./get-wget-lua.sh` supposedly doesn't work due to differences in the `tar` that ships with FreeBSD. Another problem is the apparent absence of Lua 5.1 development headers. If you figure this out, please do let us know on IRC (irc.efnet.org #archiveteam).\n\nTroubleshooting\n=========================\n\nBroken? These are some of the possible solutions:\n\n### wget-lua was not successfully built\n\nIf you get errors about `wget.pod` or something similar, the documentation failed to compile - wget-lua, however, compiled fine. Try this:\n\n cd get-wget-lua.tmp\n mv src/wget ../wget-lua\n cd ..\n\nThe `get-wget-lua.tmp` name may be inaccurate. If you have a folder with a similar but different name, use that instead and please let us know on IRC what folder name you had!\n\nOptionally, if you know what you're doing, you may want to use wgetpod.patch.\n\n### Problem with gnutls or openssl during get-wget-lua\n\nPlease ensure that gnutls-dev(el) and openssl-dev(el) are installed.\n\n### ImportError: No module named seesaw\n\nIf you're sure that you followed the steps to install `seesaw`, permissions on your module directory may be set incorrectly. Try the following:\n\n chmod o+rX -R /usr/local/lib/python2.7/dist-packages\n\n### run-pipeline: command not found\n\nInstall `seesaw` using `pip2` instead of `pip`.\n\n pip2 install seesaw\n\n### Issues in the code\n\nIf you notice a bug and want to file a bug report, please use the GitHub issues tracker.\n\nAre you a developer? Help write code for us! Look at our [developer documentation](http://archiveteam.org/index.php?title=Dev) for details.\n\n### Other problems\n\nHave an issue not listed here? Join us on IRC and ask! We can be found at irc.efnet.org #tinydick.\n\n",
  20. "permissions": {
  21. "read": true,
  22. "write": false,
  23. "admin": false
  24. },
  25. "media_types": [
  26. "application/vnd.docker.container.image.v1+json"
  27. ],
  28. "content_types": [
  29. "image"
  30. ],
  31. "categories": []
  32. }