GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - wabarc/archive.is: A command-line tool and Go package for wayback web pages to archive.today

BranchesTags
Open more actions menu

Latest commit

 

History

52 Commits
52 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
build
build
 
 
cmd/archive.is
cmd/archive.is
 
 
testdata
testdata
 
 
.gitignore
.gitignore
 
 
.semgrepignore
.semgrepignore
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
doc.go
doc.go
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 
is.go
is.go
 
 
is_test.go
is_test.go
 
 
tor.go
tor.go
 
 
version.go
version.go
 
 

Repository files navigation

A Golang and Command-Line Interface to Archive.is

This package is a command-line tool named archive.is saving webpage to archive.today, it also supports imports as a Golang package for a programmatic. Please report all bugs and issues on Github.

Installation

From source (^Go 1.12):

go get github.com/wabarc/archive.is

From gobinaries.com:

curl -sf https://gobinaries.com/wabarc/archive.is/cmd/archive.is | sh

From releases

Usage

Command-line

$ archive.is https://www.google.com https://www.bbc.com

Output:
version: 0.0.1
date: unknown

https://www.google.com => https://archive.li/JYVMT
https://www.bbc.com => https://archive.li/HjqQV

Go package interfaces

package main

import (
        "fmt"

        "github.com/wabarc/archive.is/pkg"
)

func main() {
        links := []string{"https://www.google.com", "https://www.bbc.com"}
        arc := &is.Archiver{}
        got, _ := arc.Wayback(links)
        for orig, dest := range got {
                fmt.Println(orig, "=>", dest)
        }
}

// Output:
// https://www.google.com => https://archive.li/JYVMT
// https://www.bbc.com => https://archive.li/HjqQV

Access Tor Hidden Service

archive.today providing Tor Hidden Service to saving webpage, and it's preferred to access Tor Hidden Service, access http://archive.today if Tor Hidden Service is unavailable.

By default, the program will dial a proxy using tor socks port 127.0.0.1:9050, use TOR_HOST and TOR_SOCKS_PORT specified a different host and port

It'll look up tor executable file if dial socks proxy failed, and start it to dial proxy.

FAQ

archive.today is unavailable?

Archive.today may have enforced a strictly CAPTCHA policy, causing an exception to the request.

Solve:

Find cf_clearance item from cookies, and set as system environmental variable ARCHIVE_COOKIE, such as ARCHIVE_COOKIE=cf_clearance=ab170e4acc49bbnsaff8687212d2cdb987e5b798-1234542375-KDUKCHU

License

This software is released under the terms of the GNU General Public License v3.0. See the LICENSE file for details.

About

A command-line tool and Go package for wayback web pages to archive.today

Topics

anticensorshiparchivearchiveisarchivetodaygolanginternet-archiveinternet-freedommementono-more-404torwaybackwayback-machine

Resources

Readme
GPL-3.0 license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

52 stars

Watchers

2 watching

Forks

6 forks
Report repository

Releases

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.