server ver

This commit is contained in:
2021-06-20 13:49:07 +00:00
parent 36a8c92dec
commit 8877c0bad0
975 changed files with 555 additions and 6596 deletions

0
resources/assets/sass/app.scss Normal file → Executable file
View File

0
resources/lang/en/auth.php Normal file → Executable file
View File

0
resources/lang/en/pagination.php Normal file → Executable file
View File

0
resources/lang/en/passwords.php Normal file → Executable file
View File

0
resources/lang/en/validation.php Normal file → Executable file
View File

0
resources/views/errors/404.blade.php Normal file → Executable file
View File

0
resources/views/errors/500.blade.php Normal file → Executable file
View File

0
resources/views/errors/503.blade.php Normal file → Executable file
View File

0
resources/views/layout1/about.blade.php Normal file → Executable file
View File

0
resources/views/layout1/advertise.blade.php Normal file → Executable file
View File

0
resources/views/layout1/apply-down.blade.php Normal file → Executable file
View File

0
resources/views/layout1/apply.blade.php Normal file → Executable file
View File

View File

@@ -1,8 +1,10 @@
@extends('layout')
@section('content')
@include('partials.flash')
<div class="page-header">
<h5>Register your w0bm.com Account</h5>
<p style="color:red;">Note: We do not reset passwords, make sure to write down your password on paper, otherwise you need create a new account or start to circlejerk in the IRC!</p>
<p style="color:red;">Note: If you ever lose your password you are fucked, we will <b>NOT</b> reset it. To prevent this not only on w0bm.com but evrywhere we highly recommend the usage of a password manager such as <a href="https://keepassxc.org/">KeePassXC</a></p>
<p>Being a member of w0bm.com is <b>NOT</b> a right, it's privilege which can be revoked at any point in time.</p>
</div>
<div class="register">
<form class="form-horizontal" method="post" action="{{action('UserController@store')}}">
@@ -12,16 +14,16 @@
{!! Form::text('username', null, ['class' => 'form-control', 'placeholder' => 'Username']) !!}
</div>
</div>
<!--<div class="form-group">
<div class="form-group">
<div class="">
{!! Form::email('email', null, ['class' => 'form-control', 'placeholder' => 'Email']) !!}
{!! Form::email('email', null, ['class' => 'form-control', 'placeholder' => 'Email | Must be valid! Confirmation will be sent out']) !!}
</div>
</div>
<div class="form-group">
<div class="">
{!! Form::email('email_confirmation', null, ['class' => 'form-control', 'placeholder' => 'Email Confirmation']) !!}
</div>
</div>-->
</div>
<div class="form-group">
<div class="">
{!! Form::password('password', ['class' => 'form-control', 'placeholder' => 'Password']) !!}
@@ -33,15 +35,14 @@
</div>
</div>
<div class="form-group">
<div class="">
</div>
</div>
{!!captcha_img('mini')!!} <input class="form-control" type="text" name="captcha" placeholder="Verify Captcha">
</div>
<div class="form-group terms">
<div style="text-align: center;">
<p><input type="checkbox" required name="terms"> I am at least 18 years or older and I have read and understand the <a href="/rules">Rules</a></p>
</div>
<div class="">
<button type="submit" class="btn btn-primary">Register</button>
<button type="submit" class="btn btn-primary">Register</button>
</div>
</div>
</form>
@@ -55,6 +56,6 @@
<p>By clicking on "Register" you accept our <a href="/rules">Rules</a></p>
<p>Note: we do NOT reset passwords for now, make sure to save your password correctly</p>
</div>
-->
-->
@endsection

0
resources/views/layout1/banned.blade.php Normal file → Executable file
View File

0
resources/views/layout1/categories.blade.php Normal file → Executable file
View File

0
resources/views/layout1/clippy.blade.php Normal file → Executable file
View File

0
resources/views/layout1/closedreg.php Normal file → Executable file
View File

0
resources/views/layout1/comments.blade.php Normal file → Executable file
View File

0
resources/views/layout1/community.blade.php Normal file → Executable file
View File

0
resources/views/layout1/contact.blade.php Normal file → Executable file
View File

0
resources/views/layout1/deleted.blade.php Normal file → Executable file
View File

View File

@@ -0,0 +1,9 @@
@extends('profilelayout')
@section('content')
<div class="page-header">
<h3>Donations</h3>
</div>
<div class="box">
<p>Bitcoin: <code>bc1q9w0nm6xnfkt2nz3szwahrt0gwu3lr797mlcyvf</code></p>
</div>
@endsection

0
resources/views/layout1/emails/activation.blade.php Normal file → Executable file
View File

0
resources/views/layout1/emails/report.blade.php Normal file → Executable file
View File

0
resources/views/layout1/errors/404.blade.php Normal file → Executable file
View File

0
resources/views/layout1/errors/500.blade.php Normal file → Executable file
View File

0
resources/views/layout1/errors/503.blade.php Normal file → Executable file
View File

0
resources/views/layout1/footer.blade.php Normal file → Executable file
View File

0
resources/views/layout1/help.blade.php Normal file → Executable file
View File

9
resources/views/layout1/index.blade.php Normal file → Executable file
View File

@@ -1,12 +1,15 @@
@extends('profilelayout')
@section('content')
<div class="page-header">
<h3 id="index">Index <small>{{ $number_of_results }} results</small></h3>
<h3 id="index">Index <small>{{ $number_of_results }} results</small></h3>
<form method="get">
<button type="submit" class="suchbutton"><i style="color:white;" class="fa fa-search"></i></button>
{!! Form::text('q', isset($q) ? $q : null, ['class' => 'suchleiste', 'placeholder' => 'Search w0bm.com']) !!}
</form>
</div>
<div class="page" style="position:relative;bottom:5px;">
{!! $videos->render() !!}
</div>
<table class="table table-hover table-condensed">
<thead>
<tr>
@@ -71,8 +74,4 @@
@endforeach
</tbody>
</table>
<div class="">
{!! $videos->render() !!}
</div>
@endsection

5
resources/views/layout1/irc.blade.php Normal file → Executable file
View File

@@ -15,7 +15,7 @@
<div class="irc-matrix-info">
<h5>IRC</h5>
<h6>irc.n0xy.net +6697 (ssl only) #w0bm</h6>
<p>Don't have a desktop client? Why not join our Network via webirc? <a href="https://webirc.n0xy.net/?join=%23w0bm" target="about_blank">>>webirc.n0xy.net</a></p>
<p><a href="https://webirc.n0xy.net/?join=%23w0bm" target="about_blank">webirc.n0xy.net</a></p>
<p>More information: <a href="https://n0xy.net">n0xy.net</a></p>
<h5>[matrix]</h5>
<h6>#w0bm on the [matrix] network</h6>
@@ -24,9 +24,8 @@
<ul>
<li>w0bm.com Stylesheet</li>
<li>Greentexting</li>
<li>For the German users: The German translation has been updated to not include genderlanguage bullshit</li>
<li>A better notification sound</li>
</ul>
<a href="https://spyware.neocities.org/articles/discord.html" target="_blank"><img src="/images/shitcord.gif" alt="discord-no-way"></a><br><a href="/matrix">Additional Redpill</a>
</div>
</div>
@include('footer')

0
resources/views/layout1/kek.blade.php Normal file → Executable file
View File

3
resources/views/layout1/layout.blade.php Normal file → Executable file
View File

@@ -37,8 +37,7 @@
<link rel="stylesheet" href="/css/font-awesome.min.css">
<link rel="stylesheet" href="/css/bootstrap-tagsinput.css">
<link rel="stylesheet" href="/css/video-js.min.css">
<link rel="stylesheet" href="/css/simplebar.css" />
<link rel="stylesheet" href="/css/vjsnew.css?v=1.3.3.7">
<link rel="stylesheet" href="/css/vjsnew.css">
<link rel="stylesheet" href="/css/w0bmcustom.css?v={{ filemtime("css/w0bmcustom.css") }}">
@if(auth()->check())
<link rel="alternate stylesheet" href="/css/chilledblue.css?v={{ filemtime("css/chilledblue.css") }}" title="Chilledblue">

0
resources/views/layout1/list.blade.php Normal file → Executable file
View File

0
resources/views/layout1/login.blade.php Normal file → Executable file
View File

2
resources/views/layout1/main.blade.php Normal file → Executable file
View File

@@ -3,12 +3,12 @@
<div class="page-header">
<div class="page">
{!! $videos->render() !!}
</div>
<form method="get">
<button type="submit" class="suchbutton"><i style="color:white;" class="fa fa-search"></i></button>
{!! Form::text('q', isset($q) ? $q : null, ['class' => 'suchleiste', 'placeholder' => 'Search w0bm.com']) !!}
</form>
</div>
</div>
<div class="items">
@foreach($videos as $video)

0
resources/views/layout1/map.blade.php Normal file → Executable file
View File

View File

@@ -0,0 +1,101 @@
<style type="text/css">
* {margin: 0; padding: 0}
body {background: #000;overflow:hidden;}
canvas {display: block;}
.matrix {
position: absolute;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
text-align: center;
font-family: monospace;
}
.matrix > .inner {
position: absolute;
color: white;
top: 40%;
}
.inner {
background: #000000b5;
padding: 5px;
}
#bluepill a {
width: 26px;
height: 10px;
display: inline-block;
color: blue;
background: blue;
border-radius: 5px;
}
#redpill a {
width: 26px;
height: 10px;
display: inline-block;
color: red;
background: red;
border-radius: 5px;
}
</style>
<div class="matrix">
<div class="inner">
<h3><p><b><i>Are you a slave {{Auth::user()->username}} ?</i></b></p></h3>
<br>
<p>Take control over your chats, leave Discord for good!</p>
<p>Join [matrix] today!</p>
<p>Why should you consider either running a [matrix] synapse yourself or start using someone elses:</p>
<p>Discord is evil, it took away the freedom you and I deserve, it makes you a slave to their services,<br> makes you obey their rules, includes you in a unwanted botnet where you have no freedom at all!</p>
<p><a target="_blank" href="/22424">Why you shouldn't use Discord</a></p>
<p>It's time to break free {{Auth::user()->username}}</p>
<p>Choose your fate</p>
<span id="bluepill"><a href="https://spyware.neocities.org/articles/discord.html"></a></span> <span id="redpill"><a href="https://github.com/matrix-org/synapse" target="_blank"></a></span>
<p><a style="color: white;" href="https://matrix.to/#/#!w0bm:f0ck.it?via=f0ck.it&via=matrix.org&via=f0.gg"><code>#!w0bm:f0ck.it</code></a></p>
<br>
<p><small>We are happy to help if you have any trouble setting up your synapse</small></p>
</div>
</div>
<canvas></canvas>
<audio src="/clubbed.mp3" autoplay loop></audio>
<script type="text/javascript">
// Initialising the canvas
var canvas = document.querySelector('canvas'),
ctx = canvas.getContext('2d');
// Setting the width and height of the canvas
canvas.width = window.innerWidth;
canvas.height = window.innerHeight;
// Setting up the letters
var letters = 'ABCDEFGHIJKLMNOPQRSTUVXYZABCDEFGHIJKLMNOPQRSTUVXYZABCDEFGHIJKLMNOPQRSTUVXYZABCDEFGHIJKLMNOPQRSTUVXYZABCDEFGHIJKLMNOPQRSTUVXYZABCDEFGHIJKLMNOPQRSTUVXYZ';
letters = letters.split('');
// Setting up the columns
var fontSize = 10,
columns = canvas.width / fontSize;
// Setting up the drops
var drops = [];
for (var i = 0; i < columns; i++) {
drops[i] = 1;
}
// Setting up the draw function
function draw() {
ctx.fillStyle = 'rgba(0, 0, 0, .1)';
ctx.fillRect(0, 0, canvas.width, canvas.height);
for (var i = 0; i < drops.length; i++) {
var text = letters[Math.floor(Math.random() * letters.length)];
ctx.fillStyle = '#0f0';
ctx.fillText(text, i * fontSize, drops[i] * fontSize);
drops[i]++;
if (drops[i] * fontSize > canvas.height && Math.random() > .95) {
drops[i] = 0;
}
}
}
// Loop the animation
setInterval(draw, 33);
</script>

0
resources/views/layout1/messages.blade.php Normal file → Executable file
View File

View File

View File

View File

View File

View File

View File

View File

0
resources/views/layout1/nojs.blade.php Normal file → Executable file
View File

0
resources/views/layout1/partials/banmenu.blade.php Normal file → Executable file
View File

0
resources/views/layout1/partials/comlist.php Normal file → Executable file
View File

0
resources/views/layout1/partials/comment.blade.php Normal file → Executable file
View File

0
resources/views/layout1/partials/commentform.blade.php Normal file → Executable file
View File

0
resources/views/layout1/partials/comments.blade.php Normal file → Executable file
View File

View File

0
resources/views/layout1/partials/flash.blade.php Normal file → Executable file
View File

View File

0
resources/views/layout1/partials/handlebars.php Normal file → Executable file
View File

0
resources/views/layout1/partials/header.blade.php Normal file → Executable file
View File

View File

@@ -7,10 +7,6 @@
<button class="layoutbutton" id="layout2">Njum</button>
<br>
<button class="layoutbutton" id="layout3">z0mb</button>
<br>
<button class="layoutbutton" id="layout4">z0mbie</button>
<br>
<button class="layoutbutton" id="layout5">m0bile</button>
</div>
</ul>
</li>

0
resources/views/layout1/partials/loginmodal.blade.php Normal file → Executable file
View File

0
resources/views/layout1/partials/msglist.php Normal file → Executable file
View File

0
resources/views/layout1/partials/navigation.blade.php Normal file → Executable file
View File

View File

View File

0
resources/views/layout1/partials/report.blade.php Normal file → Executable file
View File

2
resources/views/layout1/partials/tags.blade.php Normal file → Executable file
View File

@@ -34,7 +34,7 @@
<div id="tag-display" class="tag-panel-body">
@if(count($video->tags))
@foreach($video->tags as $tag)
<span class="label label-default"><a href="/index?q={{$tag->normalized}}" class="default-link">{{$tag->name}}</a>@if(Auth::check() && Auth::user()->can('edit_video')) <a class="delete-tag default-link" href="#"><i class="fa fa-times"></i></a>@endif</span>
<span class="label label-default"><a href="/main?q={{$tag->normalized}}" class="default-link">{{$tag->name}}</a>@if(Auth::check() && Auth::user()->can('edit_video')) <a class="delete-tag default-link" href="#"><i class="fa fa-times"></i></a>@endif</span>
@endforeach
@else
No tags yet ...

View File

0
resources/views/layout1/partials/thread_closed.php Normal file → Executable file
View File

26
resources/views/layout1/privacy.blade.php Normal file → Executable file
View File

@@ -6,23 +6,21 @@
<div class="box">
<h5>What do we log?</h5>
<p>We log any request made to our website using the webserver access log, this includes the following information:</p>
<ul>
<li>Unique visitors per day</li>
<li>Requested file urls</li>
<li>Visitor hostnames and IPs</li>
<li>Visitors operating system</li>
<li>Visitors browser</li>
<li>Referrer URLs</li>
<li>Referring Sites</li>
</ul>
<p>These logs are webserver access logs, there are no user specific logs, we do not associate ips to users, uploads or comments, we have good faith in our users, the access logs are for the sole purpose of debugging if something goes south, identifying unwanted bots etc</p>
<p>Our webserver does not log access log requests, we may log error logs from time to time if something breaks.</p>
<h5>3<sup>rd</sup> party links</h5>
<p>There are some 3rd party linkings on this website, be careful with clicking them we don't know whats inside the box blah blah blah, don't be stupid and don't trust the internet.</p>
<p>If you encounter a malicious link shared here on w0bm.com please notify an admin in the IRC or Discord</p>
<p>If you encounter a malicious link shared here on w0bm.com please notify an admin in the <a href="/irc">IRC</a></p>
<p>If you find a bug or a vulnerability, please notify an admin in the <a href="/irc">IRC</a></p>
<h5>Cookies</h5>
<p>Yes, we use cookies if you don't like that don't come to our site! (or don't accept them in the first place) You can see the details of the cookies in your browser.</p>
<p>It should be your remember token, this is used so you don't have to login all the time, the style cookie, it sets your prefered stylesheet in the default w0bm.com layout, w0bm_session, your session cookie, XSRF-TOKEN, the XSRF-TOKEN</p>
<p>Yes, we use cookies and if you don't like that don't come to our site! (or don't accept them in the first place) You can see the details of the cookies in your browser.</p>
<p>Spoiler: They are all relevant for the website to function properly!</p>
<ul>
<p>The following cookies are being set by the website:</p>
<li><code>remember_&lt;token&gt;</code> Well, it's used to remember you and so you don't have to re-login after like 5 minutes</li>
<li><code>style</code> This one is used to store your style preference</li>
<li><code>w0bm_session</code> Your session id</li>
<li><code>XSRF-TOKEN</code> The XSRF Token</li>
</ul>
</div>
@if(auth()->check())
@include('footer')

0
resources/views/layout1/profile.blade.php Normal file → Executable file
View File

0
resources/views/layout1/profilelayout.blade.php Normal file → Executable file
View File

View File

@@ -44,6 +44,9 @@
<div class="">
<button type="submit" class="btn btn-primary">Register</button>
</div>
<div>
{!! Recaptcha::render() !!}
</div>
</div>
</form>
</div>

0
resources/views/layout1/registerclosed.blade.php Normal file → Executable file
View File

0
resources/views/layout1/registeropen.blade.php Normal file → Executable file
View File

0
resources/views/layout1/rules.blade.php Normal file → Executable file
View File

0
resources/views/layout1/rulez.blade.php Normal file → Executable file
View File

0
resources/views/layout1/settings.blade.php Normal file → Executable file
View File

0
resources/views/layout1/stats.blade.php Normal file → Executable file
View File

0
resources/views/layout1/teamspeak.blade.php Normal file → Executable file
View File

3
resources/views/layout1/test Executable file
View File

@@ -0,0 +1,3 @@
test
test2

0
resources/views/layout1/tip.blade.php Normal file → Executable file
View File

0
resources/views/layout1/tos.blade.php Normal file → Executable file
View File

0
resources/views/layout1/transparency.blade.php Normal file → Executable file
View File

0
resources/views/layout1/upload.blade.php Normal file → Executable file
View File

0
resources/views/layout1/vendor/.gitkeep vendored Normal file → Executable file
View File

View File

@@ -2,7 +2,6 @@
@section('content')
@if(auth()->check())
<?php $related = $related ?? null; ?>
<div class="vertical-align">
<div class="wrapper">
@@ -12,11 +11,11 @@
</div>
@endif
<div class="embed-responsive embed-responsive-16by9">
@if($video->id == '27204')
@if($video->id == '27204')
<iframe src="https://w0bm.com/loop/index.html"></iframe>
@else
@else
<video id="video" loop controls preload="auto" crossorigin="anonymous">
<source src="//w0bm.com/b{{ "/" . $video->file }}">
<source src="/b{{ "/" . $video->file }}">
<!-- rip fapple! <source src="//fapple.w0bm.com/{{str_replace(".webm","",$video->file)}}.mp4"> -->
</video>
@endif
@@ -114,13 +113,13 @@
data-placement="top"
data-trigger="hover"
title="Information"
data-content=" <div style='word-break: break-word;'>@if($video->interpret) <strong>Artist:</strong> {{$video->interpret}}<br>@endif
@if($video->songtitle) <strong>Songtitle:</strong> {{$video->songtitle}}<br>@endif
@if($video->imgsource) <strong>Video Source:</strong> {{$video->imgsource}} <br>
data-content="@if($video->interpret) Artist: {{$video->interpret}}<br>@endif
@if($video->songtitle) Songtitle: {{$video->songtitle}}<br>@endif
@if($video->imgsource) Video Source: {{$video->imgsource}} <br>
@endif
<strong>Category:</strong> {{$video->category->name}}</div>">
Category: {{$video->category->name}}">
</button>
<span id="uploader">uploaded by <a style="color: white" href="{{ url('user/' . $video->user->username) }}">{!! $video->user->displayName() !!}</a></span> <time class="timeago" data-toggle="tooltip" data-placement="top" datetime="{{$video->created_at->toIso8601String()}}" title="{{$video->created_at->toIso8601String()}}"></time>@if(auth()->check() && (auth()->user()->can('edit_video') || auth()->user()->id == $video->user_id)) <a class="edit_video" href="#" data-toggle="modal" data-target="#webmeditmodal">[edit]</a>@endif @if(auth()->check() && auth()->user()->can('delete_video'))<a class="delete_video" href="#">[del]</a>@endif
<span id="uploader">uploaded by <a class="{{ $video->user->username }}" style="color: white" href="{{ url('user/' . $video->user->username) }}">{!! $video->user->displayName() !!}</a></span> <time class="timeago" data-toggle="tooltip" data-placement="top" datetime="{{$video->created_at->toIso8601String()}}" title="{{$video->created_at->toIso8601String()}}"></time>@if(auth()->check() && (auth()->user()->can('edit_video') || auth()->user()->id == $video->user_id)) <a class="edit_video" href="#" data-toggle="modal" data-target="#webmeditmodal">[edit]</a>@endif @if(auth()->check() && auth()->user()->can('delete_video'))<a class="delete_video" href="#">[del]</a>@endif
</span>
</div>
</div>
@@ -138,9 +137,9 @@
<div class="centered">
<div class="modal-content col-md-5">
<div class="modal-header">
<h4 class="modal-title" id="filterModalTitle">Login</h4> <span>to watch this webbum</span>
<h4 class="modal-title" id="filterModalTitle">Login</h4>
</div>
@include('partials.flash')
<div class="login_wrapper">
<div class="col-md">
<form action="{{action('UserController@login')}}" method="post" class="navbar-form">
@@ -153,26 +152,22 @@
</div>
<div class="media not-logged-in">
<div class="media-left">
<div class="rating">
@if(count($video->tags))
@foreach($video->tags as $tag)
@if($tag == 'sfw')
<sfw></sfw>
@elseif($tag == 'nsfw')
<nsfw></nsfw>
@endif
@endforeach
@endif
<img class="media-object" src="@if(isset($video))/thumbs/beta/{{str_replace(".webm","",$video->file)}}.png"@endif">
@if($sfw)
<img class="media-object" src="/thumbs/beta/{{str_replace('.webm','',$video->file)}}.png">
@else
<img class="media-object" src="/thumbs/blurred/{{str_replace('.webm','',$video->file)}}_blurred.png">
@endif
</div>
</div>
<div class="media-body">
<h4 class="media-heading">@if($video->videotitle){{$video->videotitle}}@else<p><i>No Title</i></p></h4>
...@endif
<div id="tag-display" style="width: auto;" class="tag-panel-body">
<div class="media-koerper">
<h4 class="media-heading">
@if($video->videotitle){{$video->videotitle}}
@else
<p><i>No Title</i></p></h4>
@endif</h4>
<div id="tag-display" style="width: auto; height: auto;" class="tag-panel-body">
@if(count($video->tags))
@foreach($video->tags as $tag)
<span class="label label-default"><a href="/index?q={{$tag->normalized}}" class="default-link">{{$tag->name}}</a>@if(Auth::check() && Auth::user()->can('edit_video')) <a class="delete-tag default-link" href="#"><i class="fa fa-times"></i></a>@endif</span>
<span class="label label-default"><a class="default-link">{{$tag->name}}</a></span>
@endforeach
@else
No tags yet ...
@@ -180,10 +175,14 @@
</div>
</div>
</div>
<div class="modal-footer">
<p>Enjoy your stay! :3</p>
</div>
<div class="modal-footer">
<a href="/privacy">Privacy</a> | <a href="/contact">Contact</a> | <a href="/irc">IRC</a>
</div>
</div>
<div hidden class="testthumbnailslol">
</div>
</div>
@endif
@endsection

89
resources/views/layout1/webm.blade.php Normal file → Executable file
View File

@@ -2,58 +2,55 @@
@section('content')
<div class="page-header">
<h3>WebM Support</h3>
<p>How 2 make a webm</p>
</div>
<div class="box">
<h5>WebM how to</h5>
<p>On this page you will find anything related to WebMs</p>
</div>
<h4>Chad</h4>
<img src="/images/gigachad.png" style="float:left;width:150px;" alt="gigachad">
<pre><code>#The based white man way
ffmpeg -i virgin.mp4 chad.webm #single file, very simple
#You can add this to your .bashrc
function mkwebmbatch() {
for i in *.$1;
do name=`basename "$i" .$1`
echo "$name"
ffmpeg -i "$i" -c:v libvpx -c:a libvorbis -auto-alt-ref 0 -crf 5 "$PWD/${name}.webm"
done
}
function mkwebm() {
filename=$(basename -- "$1")
extension="${filename##*.}"
filename="${filename%.*}"
name=`basename "$filename" .$extension`
echo "$name"
ffmpeg -i "$1" -c:v libvpx -c:a libvorbis -auto-alt-ref 0 -crf 5 "$HOME/Videos/converts/$name.webm"
}
function stillvid() {
#stillvid image.jpg music.mp3 $3.<webm>
ffmpeg -i "$1" -i "$2" -c:a libvorbis -auto-alt-ref 0 -c:v libvpx $3.webm
}
#Notable mentions
* https://github.com/ekisu/mpv-webm
* https://github.com/Kagami/webm.py
</code></pre>
</div>
<h1 style="text-align:center;">VS</h1>
<div class="box">
<h4>Useful tools for creating WebMs</h4>
<p>There is a good documentation with various ffmpeg tools on github, you should definetly check it out and pick the one you like the most!</p>
<h4>Virgin</h4>
<img src="/images/virgin.png" style="float:left;width:150px;" alt="gigachad">
<ul>
<li><a href="https://github.com/Kagami/webm.py/wiki/Related-links">List of tools and information</a></li>
<li><a href="https://github.com/Kagami/boram">Boram by Kagami</a> Cross Platform Gui application for cutting, cropping and converting videos into WebM format, has integrated youtube-dl option, so you can directly download from any site that is supported by youtube-dl. Definetly the best choice if you want to have it quick and easy with a nice looking result!</li>
<li><a href="https://github.com/Kagami/webm.py">webm.py by Kagami</a> If you are more the CLI fan like me, this is something for you, it's a very easy cli tool and basically the best fucking tool if you want to create a WebM real quick by only using your shell.</li>
<li><a href="https://github.com/Kagami/boram">Boram by Kagami</a></li>
<li><a href="https://gitgud.io/nixx/WebMConverter">WebMConverter by nixx!</a></li>
</ul>
<p>Sample lines for webm.py <code>python webm.py -i your.mp4 your.webm</code> will convert your mp4 into a vp9 webm with max filesize of 8MB! <code>python webm.py -l 4 -vp8 -i your.mp4|webm yourwebmfor4chan.webm</code> will set the maximum filesize to 4MB and convert it using the VP8 codec and vorbis audio codec.</p>
</div>
<div class="box">
<h4>Get a WebM directly from YouTube</h4>
<p>There are many ways on how to download videos from YouTube but most people don't know that you can grab a WebM directly from YouTube.</p>
<p>The recommended way is via <a target="_blank" href="https://youtube-dl.org/">youtube-dl</a> it's quick, easy and painless, it can also be used to download videos/music from nearly every other site in the web!</p>
<p>Here is a quick example line to grab the best quality webm automatically from youtube (if available) <code>youtube-dl -f 'bestvideo[ext=webm]+bestaudio[ext=webm]/bestvideo+bestaudio' --merge-output-format webm 'https://youtu.be/ZZmlUuTrQ_g'</code></p>
<p>The easiest and probably best way if you are not familiar with the use of a command line application is jdownloader 2, all you need to do is copy a youtube link and jdownloader will add it to the link collector, from there you can select how jdownloader should download the video.</p>
<img src="https://files.nogf.club/winfick/ad224c7e257a.png" />
<p>Please note that HD WebM is not always available, there should always be a 360p version available.</p>
</div>
<div class="box">
<h4>coub.com Downloader</h4>
<i>I cannot recommend downloading from coub.com any longer because of the watermarks, but go ahead if you like it, the script should still work, if it doesn't hit me up in the IRC!</i>
<p><a href="https://coub.com"target="_blank">coub.com</a> is a great place to explore some nice videos, I made this little script that helps you to grab the videos from their site and instantly convert it to <code>.webm</code></p>
<p>Download <a href="https://gitfap.de/noxy/coubdl" target="_blank">the script</a> from my GitFap repo and just run it like this: <code>bash coubdl.sh URL</code> it will then ask you how long your video should be, it will show you the duration of just the loop and the duration of the audio file used for it.</p>
<p>After that you can specify the output max size by just typing in a single number like <code>4</code> and the script will convert your video to 4MB</p>
<p>Requirements: <code>yotube-dl, jq, ffmpeg, ffprobe, python & webm.py</code>
</div>
<div class="box">
<h4>Some information about ffmpeg</h4>
<p>If you want to learn more about FFmpeg check out <a href="https://de.wikipedia.org/wiki/FFmpeg">FFmpeg Wiki</a> and <a href="https://ffmpeg.org/">ffmpeg.org</a></p>
<p>ffmpeg is able to convert your .mkv and/or .mp4 files in to .webm for example and it is really easy, you just need to type in one line of commands</p>
</div>
<div class="box">
<h5>If your uploads fails and you see this: Erroneous File Encoding! Try reencoding it</h5>
<code><s>ffmpeg -i problem.webm -map 0:0 -map 0:1 -c:v copy solved.webm</s> <b>(PATCHED)</b></code>
</div>
<div class="box">
<h5>Windows</h5>
<p>There are just like in Linux many ways to convert a WebM in Windows, you can even do it from the CLI like I described above, but many Windows users don't use the CMD very often, so in this section I will explain how to make a nice WebM in Windows using a GUI program!</p>
<p>The best way is probably <a href="https://github.com/Kagami/boram">Boram by Kagami</a> it has a very user friendly GUI and works like a charm I can definetly recommend this!</p>
<p>Or you can use <a href="https://gitgud.io/nixx/WebMConverter">WebMConverter</a> by nixx! Which is also a very good tool!</p>
</div>
@endsection

0
resources/views/layout2/about.blade.php Normal file → Executable file
View File

View File

@@ -1,5 +1,4 @@
@extends('profilelayout')
@section('novidcontent')
{!!$blah!!}
@endsection
{{$blah}}
@endsection

0
resources/views/layout2/banned.blade.php Normal file → Executable file
View File

0
resources/views/layout2/categories.blade.php Normal file → Executable file
View File

0
resources/views/layout2/close.sh Normal file → Executable file
View File

0
resources/views/layout2/closedreg.php Normal file → Executable file
View File

0
resources/views/layout2/comments.blade.php Normal file → Executable file
View File

0
resources/views/layout2/contact.blade.php Normal file → Executable file
View File

0
resources/views/layout2/contact/create.blade.php Normal file → Executable file
View File

0
resources/views/layout2/contactUS.blade.php Normal file → Executable file
View File

0
resources/views/layout2/deleted.blade.php Normal file → Executable file
View File

0
resources/views/layout2/email.blade.php Normal file → Executable file
View File

0
resources/views/layout2/emails/activation.blade.php Normal file → Executable file
View File

0
resources/views/layout2/emails/report.blade.php Normal file → Executable file
View File

Some files were not shown because too many files have changed in this diff Show More