wayback icon indicating copy to clipboard operation
wayback copied to clipboard

Demo Needed / GUI needed

Open DestoGit opened this issue 2 years ago • 2 comments

Feature Request

CMD Use Demo:

  • How to archive a singl URL to archive.org.
  • How to archive multiple URLs in one submission to archive.org.
  • How to use api key to sumbit to archive.org many URLs.

I'm stuck at this stage because I can't figure out how to run the program from the documentation missing instructions:

C:\Users\user\Desktop>"C:\Users\user\Desktop\wayback-windows-amd64.exe"
A command-line tool and daemon service for archiving webpages.

Usage:
  wayback [flags]

Examples:
  wayback https://www.wikipedia.org
  wayback https://www.fsf.org https://www.eff.org
  wayback --ia https://www.fsf.org
  wayback --ia --is -d telegram -t your-telegram-bot-token
  WAYBACK_SLOT=pinata WAYBACK_APIKEY=YOUR-PINATA-APIKEY \
    WAYBACK_SECRET=YOUR-PINATA-SECRET wayback --ip https://www.fsf.org

Flags:
      --chatid string      Telegram channel id
  -c, --config string      Configuration file path, defaults: ./wayback.conf, ~/wayback.conf, /etc/wayback.conf
  -d, --daemon strings     Run as daemon service, supported services are telegram, web, mastodon, twitter, discord, slack, irc
      --debug              Enable debug mode (default mode is false)
  -h, --help               help for wayback
      --ia                 Wayback webpages to Internet Archive (default true)
      --info               Show application information
      --ip                 Wayback webpages to IPFS (default true)
      --ipfs-host string   IPFS daemon host, do not require, unless enable ipfs (default "127.0.0.1")
  -m, --ipfs-mode string   IPFS mode (default "pinner")
  -p, --ipfs-port uint     IPFS daemon port (default 5001)
      --is                 Wayback webpages to Archive Today (default true)
      --ph                 Wayback webpages to Telegraph (default true)
      --print              Show application configurations
  -t, --token string       Telegram Bot API Token
      --tor                Snapshot webpage via Tor anonymity network
      --tor-key string     The private key for Tor Hidden Service
  -v, --version            version for wayback

C:\Users\user\Desktop>go install github.com/wabarc/wayback/cmd/wayback@latest
'go' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\user\Desktop>start wayback-windows-amd64.exe

C:\Users\user\Desktop>wayback https://www.wikihow.com/Run-an-EXE-File-From-Command-Prompt
'wayback' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\user\Desktop>

Describe the solution you'd like

(Optionally) GUI demo:

  • Make a wxpython GUI to execute the preceeding actions with simple buttons pushes.

Use case: I have a list of 100 URLs grabbed from a webpage with the Link Klipper chrome extension. (https://chrome.google.com/webstore/detail/link-klipper-extract-all/fahollcgofmpnehocdgofnhkkchiekoo) I'd like to streamline the process of archiving those links into archive.org.

Ideally with a simple GUI with:

  • a 1st textbox for pasting the 100 links.
  • a button to submit the 100 URLs to archive.org in single button click.
  • (optionally) a 2nd textbox to get back the new archive.org URLs.
  • (optionally) a 3rd textbox window to check the new 100 archive.org URLs are indeed archived similar to https://chrome.google.com/webstore/detail/check-my-links/ojkcdipcgfaekbeaelaapakgnjflfglf?hl=en). Using wxpython simple GUI for example (or Tkinter or PyQt5) https://wiki.wxpython.org/Customized%20frame%20%28Phoenix%29#preview

Describe alternatives you've considered I've considered all alternatives from listed here: https://archive.org/post/1100128/how-to-archive-multiple-websites https://github.com/iipc/awesome-web-archiving https://github.com/oduwsdl/archivenow https://github.com/ArchiveBox/electron-archivebox https://github.com/ArchiveTeam/grab-site

Teachability, Documentation, Adoption, Migration Strategy Non programmers use. Simple demo video for the Command line. Simple GUI for simple button use for simple submission functionality.

DestoGit avatar Dec 01 '22 14:12 DestoGit

Thanks for opening this issue. We should be by to give feedback soon. In the meantime, please check out the contributing guidelines.

welcome[bot] avatar Dec 01 '22 14:12 welcome[bot]

Here are a few ideas to get you begins.

  1. Launch a local web service using .\wayback-windows-amd64.exe -d web, and navigate to http://localhost:8964 in your browser, then copy and paste the URL into the input box.
  2. Execute in bulk using the command line .\wayback-windows-amd64.exe https://example.com/a https://example.com/b
  3. Start process using start .\wayback-windows-amd64.exe -NoNewWindow -Wait https://example.com

Following that, we'll improve the command line and web service so wayback can read links from files, also including stdin.

waybackarchiver avatar Dec 02 '22 03:12 waybackarchiver