Skip to content

Repository files navigation

A Golang and Command-Line Interface to Ghostarchive

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

Installation

From source:

go get github.com/wabarc/ghostarchive

From gobinaries.com:

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

From releases

Usage

Command-line

$ ghostarchive https://example.com
Output:
version: 0.0.1
date: unknown
https://example.com => https://ghostarchive.org/archive/eb4i3

Go package interfaces

package main
package ga
import (
"fmt""github.com/wabarc/ghostarchive"
)
funcmain() {
wbrc:=&ga.Archiver{}
saved, _:=wbrc.Wayback(args)
fororig, dest:=rangesaved {
fmt.Println(orig, "=>", dest)
}
}
// Output:// https://example.com => https://ghostarchive.org/archive/eb4i3

License

This software is released under the terms of the MIT. See the LICENSE file for details.

About

A command-line tool and Go package for wayback web pages to Ghostarchive

Resources

Code of conduct

Contributing

Security policy

Stars

2 stars

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages