-
Notifications
You must be signed in to change notification settings - Fork 4
/
archiver.cabal
42 lines (36 loc) · 1.84 KB
/
archiver.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: archiver
version: 0.7
license: BSD3
license-file: LICENSE
author: Gwern
maintainer: Gwern <[email protected]>
category: Documentation, Network
synopsis: Archive supplied URLs in Internet Archive
description: `archiver` is a daemon which will process a specified text file,
each line of which is a URL, and will (randomly) one by one request that
the URLs be archived or spidered by
<http://www.archive.org>, and <http://www.wikiwix.com> for future reference.
(One may optionally specify an arbitrary `sh` command like `wget` to download URLs locally.)
.
Because the interface is a simple text file, this can be combined
with other scripts; for example, a script using SQLite3 to extract
visited URLs from Firefox, or a program extracting URLs from Pandoc
documents. (See <http://gwern.net/archiving>.)
.
For explanation of the derivation of the code in `Network.URL.Archiver`,
see <http://gwern.net/haskell/wikipedia-archive-bot>.
build-type: Simple
Cabal-Version: >= 1.6
stability: provisional
tested-with: GHC==6.12.1
source-repository head
type: git
location: git://github.com/gwern/archiver-bot.git
Library
exposed-modules: Network.URL.Archiver
build-Depends: base>=4 && < 5, network, HTTP, curl, http-conduit
ghc-options: -Wall
Executable archiver
main-is: archiver.hs
other-modules: Network.URL.Archiver
build-depends: base>=4 && < 5, containers, bytestring, random, process, network, network-uri