mirror of
https://github.com/go-i2p/newsgo.git
synced 2025-06-07 10:01:49 -04:00
update index.html
This commit is contained in:
BIN
i2plogo.png
Normal file
BIN
i2plogo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 46 KiB |
219
index.html
Normal file
219
index.html
Normal file
@ -0,0 +1,219 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
newsgo
|
||||
</title>
|
||||
<meta name="author" content="eyedeekay" />
|
||||
<meta name="description" content="newsgo" />
|
||||
<meta name="keywords" content="main" />
|
||||
<link rel="stylesheet" type="text/css" href="style.css" />
|
||||
<link rel="stylesheet" type="text/css" href="showhider.css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="navbar">
|
||||
<a href="#shownav">
|
||||
Show navigation
|
||||
</a>
|
||||
<div id="shownav">
|
||||
<div id="hidenav">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="..">
|
||||
Up one level ^
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="index.html">
|
||||
index
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<br>
|
||||
<a href="#hidenav">
|
||||
Hide Navigation
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<a id="returnhome" href="/">
|
||||
/
|
||||
</a>
|
||||
<h1>
|
||||
newsgo
|
||||
</h1>
|
||||
<p>
|
||||
I2P News Server Tool/Library
|
||||
</p>
|
||||
<h2>
|
||||
Usage
|
||||
</h2>
|
||||
<p>
|
||||
./newsgo -command $command -newsdir $news_directory -statsfile $news_stats_file
|
||||
</p>
|
||||
<h3>
|
||||
Commands
|
||||
</h3>
|
||||
<ul>
|
||||
<li>
|
||||
serve: Serve newsfeeds from a directory
|
||||
</li>
|
||||
<li>
|
||||
build: Build newsfeeds from XML(Not Implemented Yet)
|
||||
</li>
|
||||
<li>
|
||||
sign: Sign newsfeeds with local keys(Not Implemented Yet)
|
||||
</li>
|
||||
</ul>
|
||||
<h3>
|
||||
Options
|
||||
</h3>
|
||||
<p>
|
||||
Use these options to configure the software
|
||||
</p>
|
||||
<h4>
|
||||
Server Options(use with
|
||||
<code>
|
||||
serve
|
||||
</code>
|
||||
)
|
||||
</h4>
|
||||
<ul>
|
||||
<li>
|
||||
<code>
|
||||
-newsdir
|
||||
</code>
|
||||
: directory to serve newsfeed from
|
||||
</li>
|
||||
<li>
|
||||
<code>
|
||||
-statsfile
|
||||
</code>
|
||||
: file to store the stats in, in json format
|
||||
</li>
|
||||
<li>
|
||||
<code>
|
||||
-host
|
||||
</code>
|
||||
: host to serve news files on
|
||||
</li>
|
||||
<li>
|
||||
<code>
|
||||
-port
|
||||
</code>
|
||||
: port to serve news files on
|
||||
</li>
|
||||
<li>
|
||||
<code>
|
||||
-http
|
||||
</code>
|
||||
: serve news on host:port using HTTP
|
||||
</li>
|
||||
<li>
|
||||
<code>
|
||||
-i2p
|
||||
</code>
|
||||
: serve news files directly to I2P using SAMv3
|
||||
</li>
|
||||
</ul>
|
||||
<h4>
|
||||
Builder Options(use with
|
||||
<code>
|
||||
build
|
||||
</code>
|
||||
)
|
||||
</h4>
|
||||
<ul>
|
||||
<li>
|
||||
<code>
|
||||
-newsfile
|
||||
</code>
|
||||
: entries to pass to news generator. If passed a directory, all
|
||||
<code>
|
||||
entries.html
|
||||
</code>
|
||||
files in the directory will be processed
|
||||
</li>
|
||||
<li>
|
||||
<code>
|
||||
-blockfile
|
||||
</code>
|
||||
: block list file to pass to news generator
|
||||
</li>
|
||||
<li>
|
||||
<code>
|
||||
-releasejson
|
||||
</code>
|
||||
: json file describing an update to pass to news generator
|
||||
</li>
|
||||
<li>
|
||||
<code>
|
||||
-feedtitle
|
||||
</code>
|
||||
: title to use for the RSS feed to pass to news generator
|
||||
</li>
|
||||
<li>
|
||||
<code>
|
||||
-feedsubtitle
|
||||
</code>
|
||||
: subtitle to use for the RSS feed to pass to news generator
|
||||
</li>
|
||||
<li>
|
||||
<code>
|
||||
-feedsite
|
||||
</code>
|
||||
: site for the RSS feed to pass to news generator
|
||||
</li>
|
||||
<li>
|
||||
<code>
|
||||
-feedmain
|
||||
</code>
|
||||
: Primary newsfeed for updates to pass to news generator
|
||||
</li>
|
||||
<li>
|
||||
<code>
|
||||
-feedbackup
|
||||
</code>
|
||||
: Backup newsfeed for updates to pass to news generator
|
||||
</li>
|
||||
<li>
|
||||
<code>
|
||||
-feeduri
|
||||
</code>
|
||||
: UUID to use for the RSS feed to pass to news generator
|
||||
</li>
|
||||
</ul>
|
||||
<h4>
|
||||
Signer Options(use with
|
||||
<code>
|
||||
sign
|
||||
</code>
|
||||
)
|
||||
</h4>
|
||||
<p>
|
||||
Not implemented yet
|
||||
</p>
|
||||
<div id="sourcecode">
|
||||
<span id="sourcehead">
|
||||
<strong>
|
||||
Get the source code:
|
||||
</strong>
|
||||
</span>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="https://github.com/eyedeekay/newsgo.git">
|
||||
Source Repository: (https://github.com/eyedeekay/newsgo.git)
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div>
|
||||
<iframe src="https://snowflake.torproject.org/embed.html" width="320" height="240" frameborder="0" scrolling="no"></iframe>
|
||||
</div>
|
||||
<div>
|
||||
<a href="https://geti2p.net/">
|
||||
<img src="i2plogo.png"></img>
|
||||
I2P
|
||||
</a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
15
showhider.css
Normal file
15
showhider.css
Normal file
@ -0,0 +1,15 @@
|
||||
/* edgar showhider CSS file */
|
||||
#show {display:none; }
|
||||
#hide {display:block; }
|
||||
#show:target {display: block; }
|
||||
#hide:target {display: none; }
|
||||
|
||||
#shownav {display:none; }
|
||||
#hidenav {display:block; }
|
||||
#shownav:target {display: block; }
|
||||
#hidenav:target {display: none; }
|
||||
|
||||
#donate {display:none; }
|
||||
#hidedonate {display:block; }
|
||||
#donate:target {display: block; }
|
||||
#hidedonate:target {display: none; }
|
165
style.css
Normal file
165
style.css
Normal file
@ -0,0 +1,165 @@
|
||||
/* edgar default CSS file */
|
||||
|
||||
body {
|
||||
font-family: "Roboto";
|
||||
font-family: monospace;
|
||||
text-align: justify;
|
||||
background-color: #373636;
|
||||
color: whitesmoke;
|
||||
font-size: 1.15em;
|
||||
}
|
||||
|
||||
ul {
|
||||
width: 55%;
|
||||
display: block;
|
||||
}
|
||||
|
||||
ol {
|
||||
width: 55%;
|
||||
display: block;
|
||||
}
|
||||
|
||||
li {
|
||||
margin-top: 1%;
|
||||
}
|
||||
|
||||
p {
|
||||
max-width: 90%;
|
||||
margin-top: 1%;
|
||||
margin-left: 3%;
|
||||
margin-right: 3%;
|
||||
}
|
||||
|
||||
img {
|
||||
float: left;
|
||||
top: 5%;
|
||||
left: 5%;
|
||||
max-width: 60%;
|
||||
display: inline;
|
||||
padding-right: 2%;
|
||||
}
|
||||
|
||||
.inline {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.link-button:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.link-button:active {
|
||||
color: red;
|
||||
}
|
||||
|
||||
code {
|
||||
font-family: monospace;
|
||||
border-radius: 5%;
|
||||
padding: 1%;
|
||||
border-color: darkgray;
|
||||
font-size: .9em;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #C6D9FE;
|
||||
padding: 1%;
|
||||
}
|
||||
|
||||
ul li {
|
||||
color: #C6D9FE;
|
||||
}
|
||||
|
||||
iframe {
|
||||
background: aliceblue;
|
||||
border-radius: 15%;
|
||||
margin: 2%;
|
||||
}
|
||||
|
||||
.container {
|
||||
width: 36vw;
|
||||
height: 64vh;
|
||||
display: inline-block;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.editor-toolbar a {
|
||||
display: inline-block;
|
||||
text-align: center;
|
||||
text-decoration: none !important;
|
||||
color: whitesmoke !important;
|
||||
}
|
||||
|
||||
#feed {
|
||||
width: 60vw;
|
||||
height: unset !important;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
float: right;
|
||||
background-color: #373636;
|
||||
color: whitesmoke;
|
||||
border: #C6D9FE solid 1px;
|
||||
}
|
||||
|
||||
.thread-post,
|
||||
.thread {
|
||||
color: whitesmoke !important;
|
||||
background-color: #373636;
|
||||
border: 1px solid darkgray;
|
||||
font-size: inherit;
|
||||
padding-top: 1%;
|
||||
padding-bottom: 1%;
|
||||
}
|
||||
|
||||
.thread-post {
|
||||
margin-left: 4%;
|
||||
}
|
||||
|
||||
input {
|
||||
text-align: center;
|
||||
color: whitesmoke !important;
|
||||
background-color: #373636;
|
||||
border: 1px solid darkgray;
|
||||
font: normal normal normal 14px/1 FontAwesome;
|
||||
font-size: inherit;
|
||||
padding-top: 1%;
|
||||
padding-bottom: 1%;
|
||||
}
|
||||
|
||||
.thread-hash {
|
||||
text-align: right;
|
||||
color: whitesmoke !important;
|
||||
background-color: #373636;
|
||||
border: 1px solid darkgray;
|
||||
font-size: inherit;
|
||||
padding-top: 1%;
|
||||
padding-bottom: 1%;
|
||||
}
|
||||
|
||||
.post-body {
|
||||
text-align: left;
|
||||
color: whitesmoke !important;
|
||||
font-size: inherit;
|
||||
padding-top: 1%;
|
||||
padding-bottom: 1%;
|
||||
}
|
||||
#show {display:none; }
|
||||
#hide {display:block; }
|
||||
#show:target {display: block; }
|
||||
#hide:target {display: none; }
|
||||
|
||||
#shownav {display:none; }
|
||||
#hidenav {display:block; }
|
||||
#shownav:target {display: block; }
|
||||
#hidenav:target {display: none; }
|
||||
|
||||
#navbar {
|
||||
float: right;
|
||||
width: 15%;
|
||||
}
|
||||
#returnhome {
|
||||
font-size: xxx-large;
|
||||
display: inline;
|
||||
}
|
||||
h1 {
|
||||
display: inline;
|
||||
}
|
Reference in New Issue
Block a user