This commit is contained in:
Flummi
2021-04-17 10:43:23 +02:00
parent d553e71b50
commit 65454961ce
54 changed files with 1996 additions and 25454 deletions

View File

@ -1,40 +1,39 @@
{{include main/header}}
<div class="container">
<div class="irc">
<h4>irc.n0xy.net +6697 (ssl only) #f0ck</h4>
<p>More information: <a href="https://n0xy.net">n0xy.net</a></p>
<div class="page-header">
<h4>IRC Rules</h4>
</div>
<p>Constitution:</p>
<h5>About f0ck</h5>
<p>f0ck is your friendly IRC shitposting bot, it's built for catching urls that are passed to it and displays the content of passed urls on a simple and accessible web gallery reachable at <a href="/">f0ck.me</a></p>
<h5>WTF is a f0ck?</h5>
<p>A f0ck is basically giving a fuck about some internet bullshit, like stupid images, videos and so on, but also for great things like good music taste and shit, it's basically "a f0ck was given" and f0ck and it's users gave a lot of f0cks over the past years, it's not hard to finally start giving a damn f0ck about something, just f0ck it dood!</p>
<h5>Where to f0ck?</h5>
<p>You can invite f0ck to your channel on the following supported networks by simply typing<br><code>/invite f0ck</code></p>
<ul>
<li>§ 1 The dignity of the IRCd is inviolable.</li>
<li>§ 2 The distribution of Child Pornography is strictly prohibited in any of our networks and will lead to an immediate ban.</li>
<li>§ 3 Do not attack users in this network in any way, shape, or form.</li>
<li>§ 4 Do not transmit any personal/financial information without permission.</li>
<li>§ 5 Do not share any malware on this network.</li>
<li><a href="https://n0xy.net">n0xy.net</a></li>
<li><a href="https://www.rizon.net/">rizon.net</a></li>
<li><a href="https://freenode.net/">freenode.net</a></li>
</ul>
<p>#f0ck specific don'ts:</p>
<p>To start f0cking the shit out of something simply add a <code>!f0ck</code> behind the url you want to f0ck, that's it</p>
<p>#f0ck specific: to have f0ck ignore a link add <code>!ignore</code> at the end <br>Example: <a href="https://www.youtube.com/watch?v=dQw4w9WgXcQ" target="_blank">https://www.youtube.com/watch?v=dQw4w9WgXcQ</a> !ignore</p>
<p>f0ck supports a variety of websites, in fact all websites supported by <code>youtube-dl</code> are supported by f0ck aswell!</p>
<h5>f0ck Rules</h5>
<ul>
<li>Animal cruelty is forbidden and will lead to an immediate ban</li>
<li>All kinds of terrorist shit, we dont want any of it, f0ck off k?</li>
<li>Snuff/Beastiality is not welcome here</li>
<li>pictures of you grandmas furburger also might be too hardcore for us</li>
<li>You must be 18 years or older to visit or post</li>
<li>You shall not post animal cruelty, we like our animals alive and well, living a happy life until they are ready for our Schnitzel!</li>
<li>You shall not post under <b>ANY</b> circumstances: Snuff, Beastiality, Rape, Terrorist stuff (Beheadings, First person shootings, warcrimes), Childporn, Childmodeling</li>
</ul>
<h4>What the f0ck is a f0ck?</h4>
<p>A f0ck is basically giving a fuck about some internet bullshit, like stupid images, videos and so on, but also
for great things like good music taste and shit, it's basically "a f0ck was given" and f0ck and it's users gave
a lot of f0cks over the past years, it's not hard to finally start giving a damn f0ck about something, just
f0ck.it dood!</p>
<h4>how the f0ck to f0ck, you ask?</h4>
<p>f0ck will f0ck any media link posted in the channel ending with: jpg|gif|png|webm|mp3|mp4|ogg|flac</p>
<p>If you don't want f0ck to f0ck it put !ignore behind your link. Example:
https://retard-journal.com/stupidshit.png !ignore</a>
<p>f0ck will only f0ck media links with the maximum size of 40MB for cool people ??MB</p>
<h4>Alternative domains</h4>
<h5>f0cked up?</h5>
<p>To have something removed in case you accidentally f0cked something that actually shouldn't be f0cked you can always contact the admins either via IRC or Email</p>
<ul>
<li>irc.n0xy.net #f0ck</li>
<li>admin@f0ck.me</li>
</ul>
<h5>Compatibility</h5>
<p>f0ck is developed and tested for Firefox and Chromium in their latest versions</p>
<p>If you encounter bugs please report them so we can fix them.</p>
<p>Microsoft Edgy is not actively supported, but if it werks, great! Same for anything apple related.</p>
<h5>Tinfoil f0ckers listen!</h5>
<p>f0ck onions and moons, but fockulite!</p>
<p>http://fockmoonsb24iczs7odozzy5uktlzbcgp337nabrgffzxv5ihabgpvyd.onion</p>
<p>http://fockulite74atso2xsxxw6q2gzqrgck572tiwvkyf5vdxictjn2vmlyd.onion</p>
<p>f0ck is completely functional without javascript enabled, you can be the beardiest neckbeard of all, we got you m'gentleman</p>
</div>
</div>
{{include main/footer}}

View File

@ -1,7 +1,6 @@
{{include main/header}}
<div class="container">
<div class="contact">
<p>Got a problem? We have the answer: <a href="mailto:admin@f0ck.me">admin@f0ck.me</a></p>
<h5>f0ck Contact</h5>
<p>Whatever it is, we might have a answer, even though it might not be the one you were looking for: <a href="mailto:admin@f0ck.me">admin@f0ck.me</a></p>
</div>
</div>
{{include main/footer}}

View File

@ -1,11 +1,11 @@
{{include main/header}}
<div class="container-fluid">
<div class="index-container">
<ul id="posts">
{{each items as item}}
<li class="post">
<a href="/{{=item.id}}" title="{{=item.mime}}">
<img class="thumb" src="/t/{{=item.id}}.png" />
<span class="item-mime">{{=item.mime}}</span>
<li>
<a href="/{{if typeof filter !== "undefined"}}{{=filter}}/{{/if}}{{=item.id}}">
<img src="/t/{{=item.id}}.png" loading="lazy" />
<span>{{=item.mime}}</span>
</a>
</li>
{{/each}}

View File

@ -2,53 +2,61 @@
<div class="container">
<div class="content">
<div class="next-post">
{{if next}}
<a id="next" href="/{{=next}}">
<div class="arrow-next">«</div>
</a>
{{if pagination.prev}}
<div class="arrow-next">
<a id="next" href="{{=pagination.link}}{{=pagination.prev}}"></a>
</div>
{{else}}
<a id="next" href="#" style="color: #ccc !important;">
<div class="arrow-next">«</div>
</a>
<div class="arrow-next">
<a id="next" href="#" style="color: #ccc !important;"></a>
</div>
{{/if}}
</div>
<div class="media-object">
{{if item.mime.startsWith("video")}}
<div class="embed-responsive embed-responsive-16by9">
<video id="my-video" class="video-js embed-responsive-item" width="640" height="360" src="{{=item.dest}}"
preload="auto" autoplay controls loop data-setup="{}"></video>
<video id="my-video" class="embed-responsive-item" width="640" height="360" src="{{=item.dest}}"
preload="auto" autoplay controls loop></video>
</div>
{{elseif item.mime.startsWith("audio")}}
<div class="embed-responsive embed-responsive-16by9">
<audio id="my-video" class="embed-responsive-item video-js audiojs" autoplay controls loop
src="{{=item.dest}}" data-setup="{}"
poster="{{if item.thumbnail}}{{=item.thumbnail}}{{else}}/s/200.gif{{/if}}" type="audio/mp3"></audio>
<div class="embed-responsive embed-responsive-16by9" style="background: url('{{if item.coverart}}{{=item.coverart}}{{else}}/s/img/200.gif{{/if}}') no-repeat center / contain black;">
<audio id="my-video" class="embed-responsive-item" autoplay controls loop src="{{=item.dest}}" data-setup="{}" poster="{{if item.coverart}}{{=item.coverart}}{{else}}/s/img/200.gif{{/if}}" type="{{=item.mime}}"></audio>
</div>
{{elseif item.mime.startsWith("image")}}
<a href="{{=item.dest}}" id="elfe" target="_blank"><img id="f0ck-image" src="{{=item.dest}}" /></a>
<div class="embed-responsive embed-responsive-16by9">
<div class="embed-responsive-image" id="image-scroll">
<a href="{{=item.dest}}" id="elfe" target="_blank"><img id="f0ck-image" class="img-fluid" src="{{=item.dest}}" loading="lazy"/></a>
</div>
</div>
{{else}}
<h1>404 - Not f0cked</h1>
{{/if}}
</div>
<div class="previous-post">
{{if prev}}
<a id="prev" href="/{{=prev}}">
<div class="arrow-prev">»</div>
</a>
{{if pagination.next}}
<div class="arrow-prev">
<a id="prev" href="{{=pagination.link}}{{=pagination.next}}"></a>
</div>
{{else}}
<a id="prev" href="#" style="color: #ccc !important;">
<div class="arrow-prev">»</div>
</a>
<div class="arrow-prev">
<a id="prev" href="#" style="color: #ccc !important;"></a>
</div>
{{/if}}
</div>
</div>
<div class="metadata">
<span class="badge badge-dark"><a href="/{{=item.id}}" class="id-link">{{=item.id}}</a></span>
<span class="badge badge-dark">{{=user.network}} / {{=user.channel}}</span>
<span class="badge badge-dark"><a id="post_source" href="{{=item.src.long}}" target="_blank">{{=item.src.short}}</a></span>
<span class="badge badge-dark">{{=item.mime}} / {{=item.size}}</span>
<span class="badge badge-dark"><time class="timeago" title="{{=item.timestamp}}" datetime="{{=item.timestamp}}"></time></span>
<span class="badge badge-dark image-source"><a class="post_source" title="{{=item.src.long}}" href="{{=item.src.long}}" target="_blank">{{=item.src.short}}</a></span>
<span class="badge badge-dark"><a href="{{=item.dest}}" target="_blank">{{=item.mime}}</a> / {{=item.size}}</span>
<span class="badge badge-dark"><time class="timeago" title="{{=item.timestamp}}" datetime="{{=item.timestamp}}">{{=item.timestamp}}</time></span>
<span class="badge badge-dark" id="themes"></span>
<span class="badge badge-dark" id="tags">
{{if typeof item.tags !== "undefined"}}
{{each item.tags as tag}}
<span class="badge badge-{{=(tag.tag === "nsfw" ? "danger" : tag.tag === "sfw" ? "success" : "light")}} mr-2">{{=tag.tag}}</span>
{{/each}}
{{/if}}</span>
</div>
</div>
{{include main/footer}}

View File

@ -1,7 +1,5 @@
<script src="/s/js/video.min.js"></script>
<script src="/s/js/videojs.persistvolume.js"></script>
<script src="/s/js/item.js"></script>
<script src="/s/js/theme.js"></script>
<script src="/s/js/bootstrap-native.min.js"></script>
<script async src="/s/js/theme.js"></script>
<script src="/s/js/v0ck.js"></script>
<script src="/s/js/f0ck.js"></script>
</body>
</html>

View File

@ -1,12 +1,9 @@
<!doctype f0ck>
<html>
<!cocktype big f0ck>
<html lang="en">
<head>
<title>{{if data.title}}{{=data.title}}{{else}}f0ck!{{/if}}</title>
<link rel="icon" type="image/gif" href="/s/img/favicon.gif" />
<link rel="stylesheet" type="text/css" href="/s/css/video-js.min.css" />
<link rel="stylesheet" type="text/css" href="/s/css/vsg-skin.css" />
<link rel="stylesheet" type="text/css" href="/s/css/bootstrap.css" />
<link rel="stylesheet" type="text/css" href="/s/css/f0ck-custom.css" />
<link rel="stylesheet" href="/s/css/f0ck.css">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="f0ck.me is the place where internet purists gather to celebrate content of all kinds">
{{if data.item}}

View File

@ -1,15 +1,15 @@
{{if typeof pagination !== "undefined"}}
<nav class="pagination">
<a href="{{=pagination.link}}{{=pagination.start}}" class="btn start{{if !pagination.prev}} disabled{{/if}}">&#11164;&#11164;</a>
<a href="{{=pagination.link}}{{=pagination.prev}}" class="btn prev{{if !pagination.prev}} disabled{{/if}}">&#11164;</a>
<a href="{{=pagination.link}}{{=pagination.start}}" class="page-item-1 btn start{{if !pagination.prev}} disabled{{/if}}">&laquo;</a>
<a href="{{=pagination.link}}{{=pagination.prev}}" class="page-item-2 btn prev{{if !pagination.prev}} disabled{{/if}}">&lsaquo;</a>
{{each pagination.cheat as i}}
{{if i == pagination.page}}
<span class="btn disabled">{{=i}}</span>
{{else}}
<a href="{{=pagination.link}}{{=i}}" class="btn">{{=i}}</a>
<a href="{{=pagination.link}}{{=i}}" class="pagination-int-item btn">{{=i}}</a>
{{/if}}
{{/each}}
<a href="{{=pagination.link}}{{=pagination.next}}" class="btn next{{if !pagination.next}} disabled{{/if}}">&#11208;</a>
<a href="{{=pagination.link}}{{=pagination.end}}" class="btn start{{if !pagination.next}} disabled{{/if}}">&#11208;&#11208;</a>
<a href="{{=pagination.link}}{{=pagination.next}}" class="page-item-3 btn next{{if !pagination.next}} disabled{{/if}}">&rsaquo;</a>
<a href="{{=pagination.link}}{{=pagination.end}}" class="page-item-4 btn start{{if !pagination.next}} disabled{{/if}}">&raquo;</a>
</nav>
{{/if}}

View File

@ -1,27 +1,35 @@
<nav class="navbar navbar-expand-lg">
<a class="navbar-brand" href="/">
<span id="f0ck" width="" height="">F0CK</span>
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse show" id="navbarSupportedContent">
<div class="navigation-links">
<ul class="navbar-nav ">
<li class="nav-item">
<a class="nav-link" href="/random"><span class="nav-link-identifier">Random</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="/about"><span class="nav-link-identifier">About</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="/contact"><span class="nav-link-identifier">Contact</span></a>
</li>
</ul>
</div>
<div class="pagination-container-fluid">
{{include partials/pagination}}
<a class="navbar-brand" href="/"><span class="f0ck" width="" height="">F0CK</span></a>
<div class="navigation-links">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="/about"><span class="nav-link-identifier">About</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="/contact"><span class="nav-link-identifier">Contact</span></a>
</li>
<span class="placeholder">&nbsp;</span>
<li class="nav-item dropdown">
<a class="nav-link" href="#" data-toggle="dropdown">Filter{{if typeof filter !== "undefined"}}&nbsp;({{=filter}}){{/if}}&nbsp;&#9660;</a>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="/">All</a></li>
<li><a class="dropdown-item" href="/audio">Audio</a></li>
<li><a class="dropdown-item" href="/video">Video</a></li>
<li><a class="dropdown-item" href="/image">Image</a></li>
</ul>
</li>
<li class="nav-item">
<a id="random" class="nav-link" href="/random{{if typeof filter !== "undefined"}}/{{=filter}}{{/if}}">
<span class="nav-link-identifier">Random</span>
</a>
</li>
</ul>
</div>
<div class="collapse navbar-collapse show" id="navbarSupportedContent">
<div class="pagination-container-fluid">
<div class="pagination-wrapper">
{{include partials/pagination}}
</div>
</div>
</div>
</nav>
</nav>