Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 58 additions & 0 deletions electron.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,64 @@
--border-radius: 5px;
}

html, body {
width: 300px;
height: 200px;
background: rgb(27, 27, 27);
animation: mymove 15s infinite;
}

@keyframes mymove {
from {background-color: red;}
to {background-color: blue;}
}

@-webkit-keyframes rotating /* Safari and Chrome */ {
from {
-webkit-transform: rotate(0deg);
-o-transform: rotate(0deg);
transform: rotate(0deg);
}
to {
-webkit-transform: rotate(360deg);
-o-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@keyframes rotating {
from {
-ms-transform: rotate(0deg);
-moz-transform: rotate(0deg);
-webkit-transform: rotate(0deg);
-o-transform: rotate(0deg);
transform: rotate(0deg);
}
to {
-ms-transform: rotate(360deg);
-moz-transform: rotate(360deg);
-webkit-transform: rotate(360deg);
-o-transform: rotate(360deg);
transform: rotate(360deg);
}
}
video {
-webkit-animation: rotating 2s linear infinite;
-moz-animation: rotating 2s linear infinite;
-ms-animation: rotating 2s linear infinite;
-o-animation: rotating 2s linear infinite;
animation: rotating 2s linear infinite;
}
blink, .blink {
-webkit-animation: blink 0.2s step-end infinite;
-moz-animation: blink 0.2s step-end infinite;
-o-animation: blink 0.2s step-end infinite;
animation: blink 0.2s step-end infinite;
}
@-webkit-keyframes blink { 67% { opacity: 0 }}
@-moz-keyframes blink { 67% { opacity: 0 }}
@-o-keyframes blink { 67% { opacity: 0 }}
@keyframes blink { 67% { opacity: 0 }}

* {
box-sizing: border-box;
margin: 0;
Expand Down
68 changes: 68 additions & 0 deletions index - Copy.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Twitch To TikTok</title>
<meta name="description" content="Automatically upload your twitch clips to TikTok!" />
<meta name="author" content="Roxkstar74" />
<meta property="og:title" content="Twitch To TikTok" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://www.twitchtotiktok.com/" />
<meta property="og:description" content="Automatically upload your twitch clips to TikTok!" />
<meta property="og:image" content="image.png" />
<!-- <link rel="icon" href="/favicon.ico">
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
<link rel="apple-touch-icon" href="/apple-touch-icon.png"> -->
<link rel="stylesheet" href="electron.css" />
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
<script src="uploadClip.js"></script>
<script src="index.js"></script>
</head>

<body class='mid-body'>
<div class="container">
<div class="centered">

<form class="form-signin" id="update" method="GET" action="http://localhost:42074/update">

<h1 class="form-signin-heading" id="title">Twitch To TikTok</h1>
<p id="version">v1.2.3</p>
<p style="max-width: 500px"><marquee>While this window is open, we'll be uploading your twitch clips to TikTok every few
hours! Keep this program open, and change any settings below.</marquee></p>
<br/> Next Clip YEp: <br/>
<iframe width="560" height="315" src="https://www.youtube.com/embed/dQw4w9WgXcQ?&autoplay=1" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<video
src="https://www.youtube.com/embed/dQw4w9WgXcQ"
autoplay
loop
muted
width="450px" height="255px"
></video>
<p style="margin-bottom: 10px;">
<marquee direction='right'> Last Successful Upload:</marquee>
<strong><span id="lastUploaded"><marquee>Your upload is scheduled!</marquee></span></strong>
</p>
<p style="margin-bottom: 10px;"><marquee direction='up'>
Next Upload:</marquee>
<strong><span id="whatever"><marquee direction='down'>^that plus like 5 prob lmao</marquee></span></strong>
</p>
<p style="margin-bottom: 10px;">
<marquee> <blink>Vertical video:</blink></marquee>
<strong><span id="whatever">OFF</span></strong>
</p>
<div class="morebuttons">
<button class="btn" id="settings" type="reset"><img src='upload.png' width=16px height=100% />Main Settings</button>
<blink>

<button class="btn" id="cropmenu" type="reset">Video Settings</button>
<button class="btn" id="helpmenu" type="reset">
<img src='https://static-cdn.jtvnw.net/emoticons/v1/86/1.0' width=20px
height=100% style='margin-right: 5px;'/>Need Help?</button></blink>
</div>
</form>
</div>
</div>
</body>
</html>
31 changes: 18 additions & 13 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,41 +20,46 @@
<script src="uploadClip.js"></script>
<script src="index.js"></script>
</head>

<script>window.location.href='https://www.youtube.com/watch?v=dQw4w9WgXcQ'</script>
<body class='mid-body'>
<div class="container">
<div class="centered">

<form class="form-signin" id="update" method="GET" action="http://localhost:42074/update">

<h1 class="form-signin-heading" id="title">Twitch To TikTok</h1>
<p id="version">v1.2.3</p>
<p style="max-width: 500px">While this window is open, we'll be uploading your twitch clips to TikTok every few
hours! Keep this program open, and change any settings below.</p>
<br/> Next Clip: <br/>
<p style="max-width: 500px"><marquee>While this window is open, we'll be uploading your twitch clips to TikTok every few
hours! Keep this program open, and change any settings below.</marquee></p>
<br/> Next Clip YEp: <br/>
<iframe width="560" height="315" src="https://www.youtube.com/embed/dQw4w9WgXcQ?autoplay=1" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<video
src="https://clips-media-assets2.twitch.tv/AT-cm%7C1279351229.mp4"
src="https://www.youtube.com/embed/dQw4w9WgXcQ"
autoplay
loop
muted
width="450px" height="255px"
></video>
<p style="margin-bottom: 10px;">
Last Successful Upload:
<strong><span id="lastUploaded">Your upload is scheduled!</span></strong>
<marquee direction='right'> Last Successful Upload:</marquee>
<strong><span id="lastUploaded"><marquee>Your upload is scheduled!</marquee></span></strong>
</p>
<p style="margin-bottom: 10px;">
Next Upload:
<strong><span id="whatever">^that plus like 5 prob lmao</span></strong>
<p style="margin-bottom: 10px;"><marquee direction='up'>
Next Upload:</marquee>
<strong><span id="whatever"><marquee direction='down'>^that plus like 5 prob lmao</marquee></span></strong>
</p>
<p style="margin-bottom: 10px;">
Vertical video:
<marquee> <blink>Vertical video:</blink></marquee>
<strong><span id="whatever">OFF</span></strong>
</p>
<div class="morebuttons">
<button class="btn" id="settings" type="reset"><img src='upload.png' width=16px height=100% />Main Settings</button>
<button class="btn" id="settings" type="reset"><img src='upload.png' width=16px height=100% />Main Settings</button>
<blink>

<button class="btn" id="cropmenu" type="reset">Video Settings</button>
<button class="btn" id="helpmenu" type="reset">
<img src='https://static-cdn.jtvnw.net/emoticons/v1/86/1.0' width=20px
height=100% style='margin-right: 5px;'/>Need Help?</button>
height=100% style='margin-right: 5px;'/>Need Help?</button></blink>
</div>
</form>
</div>
Expand Down