Change README.md
[gofetch.git] / README.md
CommitLineData
73785268 1# GoFetch
73785268 2GoFetch is a simple web scrapper that outputs gopher-ready files.
13229d5b
NR
3
4## Synopsis
5
6```gofetch``` [*dir*] [*selector*] [*type*] [*max*] [*hostname*] [*port*]
7
8## Description
9
10You point the program to your gopher directory, you launch it, and you have a
73785268
NR
11gopher view of the supported news sites.
12
13229d5b
NR
13The program will also helpfully create a ```gophermap``` and an ```index.html``` page for each supported website, as well as a general page to link to all the subpages (*selector*/```gophermap``` and *selector*/```index.html```).
14
15### Supported websites
73785268
NR
16
17- Slashdot: News for nerds, stuff that matters!
13229d5b
NR
18- Pipedot: News for nerds, without the corporate slant
19- LWN: Linux Weekly Newsletter
20- Le Monde: Actualités et Infos en France et dans le monde
21- The Register: Biting the hand that feeds IT
22- TooLinux: Actualité généraliste sur Linux et les logiciels libres
23- Ère Numérique.FR: faites le bon choix !
24- Phoronix: news regarding free and open-source software
73785268 25
13229d5b 26### Supported platforms
73785268
NR
27
28Any platform with at lest Java 1.6 on it should be ok.
29
13229d5b 30## Options
73785268 31
13229d5b
NR
32- ```gofetch``` [*dir*] [*selector*] [*type*] [*max*] [*hostname*] [*port*]
33- ```java -jar gofetch.jar``` [*dir*] [*selector*] [*type*] [*max*] [*hostname*] [*port*]
73785268 34
13229d5b
NR
35- *dir*: the target directory where to store the files
36- *selector*: the gopher selector to prepend (also a sub-directory in [dir])
37- *type*: the supported website (see the ```Supported websites``` section) in upper case or the special keyword ```ALL``` for all of them
38- *max*: the maximum number of stories to show on the main page
39- *hostname*: the gopher hostname
40- *port*: the gopher port
73785268
NR
41
42## Compilation
43
44```./configure.sh && make```
45
46You can also import the java sources into, say, [Eclipse](https://eclipse.org/), and create a runnable JAR file from there.
47
13229d5b 48#### Dependant libraries (included)
73785268
NR
49
50- libs/nikiroo-utils-sources.jar: some shared utility functions I also use elsewhere
51- [libs/jsoup-sources.jar](https://jsoup.org/): a nice library to parse HTML
52
53Nothing else but Java 1.6+.
54
55Note that calling ```make libs``` will export the libraries into the src/ directory.
56
13229d5b
NR
57## Author
58
59GoFetch was written by Niki Roo <niki@nikiroo.be>
60