Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Demo Needed / GUI needed #273

Open
DestoGit opened this issue Dec 1, 2022 · 2 comments
Open

Demo Needed / GUI needed #273

DestoGit opened this issue Dec 1, 2022 · 2 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@DestoGit
Copy link

DestoGit commented Dec 1, 2022

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:

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
Copy link

welcome bot commented Dec 1, 2022

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

@waybackarchiver waybackarchiver added the documentation Improvements or additions to documentation label Dec 1, 2022
@waybackarchiver
Copy link
Contributor

waybackarchiver commented Dec 2, 2022

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 waybackarchiver added the enhancement New feature or request label Dec 2, 2022
@waybackarchiver waybackarchiver mentioned this issue Mar 22, 2023
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants