I2P News Server Tool/Library. A whole lot faster than the python one. Otherwise compatible.
./newsgo -command $command -newsdir $news_directory -statsfile $news_stats_file
Use these options to configure the software
serve
)
-newsdir
: directory to serve newsfeed from
-statsfile
: file to store the stats in, in json format
-host
: host to serve news files on
-port
: port to serve news files on
-http
: serve news on host:port using HTTP
-i2p
: serve news files directly to I2P using SAMv3
build
)
-newsfile
: entries to pass to news generator. If passed a directory, all
entries.html
files in the directory will be processed
-blockfile
: block list file to pass to news generator
-releasejson
: json file describing an update to pass to news generator
-feedtitle
: title to use for the RSS feed to pass to news generator
-feedsubtitle
: subtitle to use for the RSS feed to pass to news generator
-feedsite
: site for the RSS feed to pass to news generator
-feedmain
: Primary newsfeed for updates to pass to news generator
-feedbackup
: Backup newsfeed for updates to pass to news generator
-feeduri
: UUID to use for the RSS feed to pass to news generator
-builddir
: directory to output XML files in
sign
)
-signerid
: ID of the news signer
-signingkey
: path to the signing key