wabarc / wayback

An archiving tool with an IM-style interface that prioritizes privacy and accessibility, integrated with various archival services including Internet Archive, archive.today, Ghostarchive, IPFS, Telegraph, and file systems.
https://docs.wabarc.eu.org
GNU General Public License v3.0
1.82k stars 64 forks source link

Demo Needed / GUI needed #273

Open DestoGit opened 1 year ago

DestoGit commented 1 year ago

Feature Request

CMD Use Demo:

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:

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:

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.

welcome[bot] commented 1 year ago

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

waybackarchiver commented 1 year ago

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.