more userpages

This commit is contained in:
Flummi
2018-02-20 07:26:06 +01:00
parent 3b34234c2f
commit c6db18f7cb
11 changed files with 35 additions and 13 deletions

View File

@ -0,0 +1,6 @@
<h1><a name="about">About fpaste.cc</a></h1>
<p>fpaste.cc is here in it&#39;s 1st version and it&#39;s better than expected! A completly backend written in NodeJS makes it possible to develop new features faster than ever before.</p>
<p>With the <a href="http://www.mariadb.org/">MariaDB</a> database backend fpaste.cc is even more reliable and the <a href="http://expressjs.com">express</a> webserver library offers a powerfull framework.</p>
<p>The <a href="https://github.com/andris9/highlight">highlight.js highlighting engine</a> offers great support for a variety of programming languages.</p>
<p>If you&#39;re interested in the source code of fpaste.cc, take a look at <a href="http://github.com/mcmaniac/npaste.de">github.com</a>. If you have any questions/suggestions or would like to contribute to fpaste.cc feel free to <a href="/a/contact">contact me</a>.</p>
<p>project stolen from <a href="http://github.com/mcmaniac/npaste.de">github.com/mcmaniac/npaste.de</a></p>

View File

@ -0,0 +1,7 @@
<h1><a name="contact">Contact</a></h1>
<p>You can contact me via:</p>
<ul>
<li>Email: <a href="mailto:mail@fpaste.cc">mail@fpaste.cc</a></li>
<li>Telegram: Flummsi</li>
<li>IRC: Flummi on <a href="https://n0xy.net">n0xy.net</a></li>
</ul>

View File

@ -0,0 +1,27 @@
<h1><a name="howto">How to use fpaste.cc</a></h1>
<p>To create a paste simply go to <a href="/">the start page</a> and enter your paste, add an optional description (see below) and select your highlighting language of choice.</p>
<p>The <em>description</em> has a special markup language. You can: </p>
<ul>
<li>Reply to (mention) a paste by adding <pre class="inline">/&lt;ID&gt;/</pre> to your description. This is done automatically if you click the <pre class="inline">New reply</pre> button on the viewing page of a paste.</li>
<li>Use tags to make it easier to find your pastes again. Simply add <pre class="inline">#&lt;TAG&gt;</pre> to your description. A tag may consist of any number or char. Most of the common special chars are also supported.</li>
</ul>
<p>To customize the presentation of your paste you can use the URL to change syntax highlighting or the HTML layout:</p>
<ul>
<li><pre class="inline">fpaste.cc/&lt;ID&gt;/</pre> shows the full paste with layout and highlighting (notice the trailing slash)</li>
<li><pre class="inline">fpaste.cc/&lt;ID&gt;/&lt;LANGUAGE&gt;</pre> shows the full paste with the new <pre class="inline">&lt;LANGUAGE&gt;</pre> syntax highlighting. You can either define the full language name, the common file extension or a full file name with extension, e.g. <pre class="inline">fpaste.cc/&lt;ID&gt;/Haskell</pre>, <pre class="inline">fpaste.cc/&lt;ID&gt;/hs</pre> or <pre class="inline">fpaste.cc/&lt;ID&gt;/example.hs</pre></li>
<li><pre class="inline">fpaste.cc/&lt;ID&gt;</pre> without a trailing slash shows the paste as plaintext without HTML markup (which makes it easy to download a paste)</li>
</ul>
<p><a name="filter"></a>Filtering pastes is done either by clicking IDs, tags or language links directly, or by using the following rules. Note that you can combine these rules, such that all of them have to be met for a paste to be listed.</p>
<ul>
<li><pre class="inline">/&lt;ID&gt;/</pre>: List all pastes that have or contain (in their description) the given ID</li>
<li><pre class="inline">#&lt;TAG&gt;</pre>: List all pastes that share the same tag</li>
<li><pre class="inline">&quot;&lt;DESC&gt;&quot;</pre>: List all pastes where &lt;DESC&gt; is part of the description</li>
<li><pre class="inline">&lt;LANG&gt;</pre>: List all pastes with the given language (no special chars needed)</li>
</ul>
<p>On the main website all pages are accessible via one letter keywords:</p>
<ul>
<li><pre class="inline">fpaste.cc</pre> or <pre class="inline">fpaste.cc/</pre> is where you add new pastes</li>
<li><pre class="inline">fpaste.cc/v</pre><em>view</em> all recent pastes</li>
<li><pre class="inline">fpaste.cc/v/t/&lt;TAG&gt;</pre> view all recent pastes which contain the given <em>tag</em> in their description</li>
<li><pre class="inline">fpaste.cc/a</pre> is the current <em>about</em> page</li>
</ul>

View File

@ -0,0 +1,6 @@
<h1><a name="statistics">Statistics</a></h1>
<p>There are currently:</p>
<ul>
<li>{{pastes}} unique pastes</li>
<li>{{users}} active users</li>
</ul>