X-Git-Url: http://git.nikiroo.be/?p=gofetch.git;a=blobdiff_plain;f=README.md;fp=README.md;h=d7feec7eee089794dbc45fd7d4f0e9a9d2d7a66e;hp=0000000000000000000000000000000000000000;hb=737852686d8897331706ed4b902dbd9d5038cb53;hpb=3606152169dd89ea96741dc0bcd75e25e7fcca5a diff --git a/README.md b/README.md new file mode 100644 index 0000000..d7feec7 --- /dev/null +++ b/README.md @@ -0,0 +1,39 @@ +# GoFetch + +GoFetch is a simple web scrapper that outputs gopher-ready files. +You point it to your gopher directory, you launch it, and you have a +gopher view of the supported news sites. + +## Supported websites + +- Slashdot: News for nerds, stuff that matters! + +## Supported platforms + +Any platform with at lest Java 1.6 on it should be ok. + +## Usage + +```java -jar gofetch.jar [dir] [selector] [type] [max] [hostname] [port]``` + +- dir: the target directory where to store the files +- selector: the gopher selector to prepend (also a sub-directory in [dir]) +- max: the maximum number of stories to show on the main page +- hostname: the gopher hostname +- port: the gopher port + +## Compilation + +```./configure.sh && make``` + +You can also import the java sources into, say, [Eclipse](https://eclipse.org/), and create a runnable JAR file from there. + +### Dependant libraries (included) + +- libs/nikiroo-utils-sources.jar: some shared utility functions I also use elsewhere +- [libs/jsoup-sources.jar](https://jsoup.org/): a nice library to parse HTML + +Nothing else but Java 1.6+. + +Note that calling ```make libs``` will export the libraries into the src/ directory. +