Initial Commit

This commit is contained in:
Conor Byrne
2020-04-14 19:20:37 +01:00
commit 0ce515cf51
22 changed files with 491 additions and 0 deletions

44
404.html Normal file
View File

@@ -0,0 +1,44 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1.0, user-scalable=0">
<title>ConorTheDev&#x27;s Repo</title>
<link rel="stylesheet" type="text/css" href="web/index.css">
<style>a, .tint {color: #bce9fd} .active {color: #bce9fd</style>
<meta name="description" content="The home of ConorTheDev&#x27;s Free Tweaks">
<meta property="og:title" content="ConorTheDev&#x27;s Repo">
<meta property="og:description" content="The home of ConorTheDev&#x27;s Free Tweaks">
<meta property="og:image" content="https://repo.conorthedev.me/CydiaIcon.png">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="ConorTheDev&#x27;s Repo">
<meta name="twitter:description" content="The home of ConorTheDev&#x27;s Free Tweaks">
<meta name="twitter:image" content="https://repo.conorthedev.me/CydiaIcon.png">
<meta name="theme-color" content="#bce9fd">
</head>
<body>
<div class="body">
<h1 class="header left_float">ConorTheDev&#x27;s Repo</h1>
<a class="header right_float add_sileo tint" href="cydia://url/https://cydia.saurik.com/api/share#?source=https://repo.conorthedev.me">+</a>
<div class="scroll_view">
<a href="depiction/web/me.conorthedev.peep.html" style="background-image: url(assets/me.conorthedev.peep/banner.png)" class="card">
<p>peep</p>
</a>
</div>
<h2 class="header">Packages</h2>
<div class="packageList">
<a class="subtle_link" href="depiction/web/me.conorthedev.peep.html">
<div class="package">
<img src="assets/me.conorthedev.peep/icon.png">
<div class="package_info">
<p class="package_name">peep</p>
<p class="package_caption">ConorTheDev</p>
</div>
</div>
</a>
</div>
<div class="caption center footer">Silica 1.2.1 Updated 2020-04-14</div>
</div>
</body>
<script src="web/index.js"></script>
</html>

1
CNAME Normal file
View File

@@ -0,0 +1 @@
repo.conorthedev.me

BIN
CydiaIcon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 KiB

BIN
Packages.bz2 Normal file

Binary file not shown.

BIN
Packages.xz Normal file

Binary file not shown.

12
Release Normal file
View File

@@ -0,0 +1,12 @@
Origin: ConorTheDev's Repo
Label: ConorTheDev's Repo
Suite: stable
Version: 1.0
Codename: ios
Architectures: iphoneos-arm
Components: main
Description: The home of ConorTheDev's Free Tweaks
SHA256:
f20c03436d2217b14e077c912b88e3f2efe8888381b5e2cf615900218bfa9436 502 Packages.bz2
11c3450d5deb602236a529082daf437cc7effb8fc6c1d0e168cc6c24f95e6e57 516 Packages.xz

1
api/about.json Normal file
View File

@@ -0,0 +1 @@
{"software":"Silica","version":"1.2.1","compile_date":"2020-04-14T19:20:07.136541","upstream_url":"https://github.com/Shugabuga/Silica/\n"}

1
api/repo_settings.json Normal file
View File

@@ -0,0 +1 @@
{"name":"ConorTheDev's Repo","description":"The home of ConorTheDev's Free Tweaks","tint":"#bce9fd","cname":"repo.conorthedev.me","maintainer":{"name":"ConorTheDev","email":"conor@conorthedev.me"},"automatic_git":"true"}

1
api/tweak_release.json Normal file
View File

@@ -0,0 +1 @@
[{"bundle_id":"me.conorthedev.peep","name":"peep","version":"1.0","tagline":"Hide and show your status bar with one tap!","homepage":"https://repo.conorthedev.me","developer":{"name":"ConorTheDev","email":"support@conorthedev.me"},"maintainer":{"name":"Shuga","email":"support@conorthedev.me"},"social":[{"name":"Twitter","url":"https://twitter.com/ConorTheDev"},{"name":"Website","url":"https://cbyrne.dev/"}],"sponsor":{"name":"Shuga Studios","email":"studios@shuga.co"},"section":"Tweaks","pre_dependencies":"","dependencies":"","conflicts":"","replaces":"","provides":"","other_control":[],"tint":"#202020","works_min":"12.0","works_max":"13.0","featured":"true","source":"https://github.com/cbyrne/peep","changelog":[{"version":"1.0","changes":"\ud83c\udf89 Initial Release!"}]}]

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

View File

@@ -0,0 +1,14 @@
### **peep**
#### by ConorTheDev
---
peep is a tweak that allows you to temporarily hide your status bar by tapping on it. It only works on the homescreen and lockscreen at the moment.
The settings instantly apply *without* the need to respring your device!
Current preference options:
- Enable / Disable
- Use Animations
**Notes:**
- peep is [open source](https://github.com/cbyrne/peep), be sure to check out the code if you're interested.
- If you have an issue, [create an issue here](https://github.com/cbyrne/peep/issues/new).

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 518 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

View File

@@ -0,0 +1 @@
{"class":"DepictionStackView","tintColor":"#202020","title":"Contact Support","views":[{"class":"DepictionMarkdownView","markdown":"If you need help with \"peep\", you can contact ConorTheDev, the developer, via e-mail."},{"class":"DepictionTableButtonView","title":"Email Developer","action":"mailto:support@conorthedev.me","openExternal":"true","tintColor":"#202020"},{"class":"DepictionMarkdownView","markdown":"You can also contact ConorTheDev using the following sites:"},{"class":"DepictionTableButtonView","title":"Twitter","action":"https://twitter.com/ConorTheDev","openExternal":"true","tintColor":"#202020"},{"class":"DepictionTableButtonView","title":"Website","action":"https://cbyrne.dev/","openExternal":"true","tintColor":"#202020"},{"class":"DepictionMarkdownView","markdown":"Shuga is the maintainer of the package \"peep\". Please contact them via email for any questions on this version of the package."},{"class":"DepictionTableButtonView","title":"Email Maintainer","action":"mailto:support@conorthedev.me","openExternal":"true","tintColor":"#202020"},{"class":"DepictionMarkdownView","markdown":"If you found a mistake in the depiction or cannot download the package, you can reach out to the maintainer of the \"ConorTheDev's Repo\" repo, ConorTheDev."},{"class":"DepictionTableButtonView","title":"Email Repo Maintainer","action":"mailto:conor@conorthedev.me","openExternal":"true","tintColor":"#202020"}]}

View File

@@ -0,0 +1 @@
{"minVersion":"0.1","headerImage":"https://repo.conorthedev.me/assets/me.conorthedev.peep/banner.png","tintColor":"#202020","tabs":[{"tabname":"Details","views":[{"class":"DepictionScreenshotsView","screenshots":[{"url":"https://repo.conorthedev.me/assets/me.conorthedev.peep/screenshot/01.png","accessibilityText":"Screenshot"},{"url":"https://repo.conorthedev.me/assets/me.conorthedev.peep/screenshot/02.png","accessibilityText":"Screenshot"}],"itemCornerRadius":8,"itemSize":"{185,400}"},{"markdown":"### **peep**\n#### by ConorTheDev\n---\npeep is a tweak that allows you to temporarily hide your status bar by tapping on it. It only works on the homescreen and lockscreen at the moment.\n\nThe settings instantly apply *without* the need to respring your device! \n\nCurrent preference options:\n- Enable / Disable\n- Use Animations\n\n**Notes:**\n- peep is [open source](https://github.com/cbyrne/peep), be sure to check out the code if you're interested.\n- If you have an issue, [create an issue here](https://github.com/cbyrne/peep/issues/new).","useSpacing":"true","class":"DepictionMarkdownView"},{"class":"DepictionSpacerView"},{"class":"DepictionHeaderView","title":"Information"},{"class":"DepictionTableTextView","title":"Developer","text":"ConorTheDev"},{"class":"DepictionTableTextView","title":"Version","text":"1.0"},{"class":"DepictionTableTextView","title":"Compatibility","text":"iOS 12.0 to 13.0"},{"class":"DepictionTableTextView","title":"Section","text":"Tweaks"},{"class":"DepictionSpacerView"},{"class":"DepictionTableButtonView","title":"View Source Code","action":"https://github.com/cbyrne/peep","openExternal":"true","tintColor":"#202020"},{"class":"DepictionSpacerView"},{"class":"DepictionTableButtonView","title":"Contact Support","action":"depiction-https://repo.conorthedev.me/depiction/native/help/me.conorthedev.peep.json","openExternal":"true","tintColor":"#202020"},{"class":"DepictionLabelView","text":"Silica 1.2.1 \u2013 Updated 2020-04-14","textColor":"#999999","fontSize":"10.0","alignment":1}],"class":"DepictionStackView"},{"tabname":"Changelog","views":[{"class":"DepictionMarkdownView","markdown":"#### Version 1.0\n\n\ud83c\udf89 Initial Release!"},{"class":"DepictionLabelView","text":"Silica 1.2.1 \u2013 Updated 2020-04-14","textColor":"#999999","fontSize":"10.0","alignment":1}],"class":"DepictionStackView"}],"class":"DepictionTabView"}

View File

@@ -0,0 +1,93 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1.0, user-scalable=0">
<title>peep</title>
<link rel="stylesheet" type="text/css" href="../../web/index.css">
<style>a, .tint, .table-btn:after {color: #202020} .active {color: #202020;border-bottom: 2px solid #202020;}</style>
<script src="../../web/index.js"></script>
<meta name="description" content="A package by ConorTheDev for iOS 12.0 to 13.0.">
<meta property="og:title" content="peep">
<meta property="og:description" content="A package by ConorTheDev for iOS 12.0 to 13.0.">
<meta property="og:image" content="../../assets/me.conorthedev.peep/banner.png">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="peep">
<meta name="twitter:description" content="A package by ConorTheDev for iOS 12.0 to 13.0.">
<meta name="twitter:image" content="https://repo.conorthedev.me/assets/me.conorthedev.peep/banner.png">
<meta name="theme-color" content="#202020">
</head>
<body>
<div class="body">
<div style="background-image: url(../../assets/me.conorthedev.peep/banner.png)" class="banner_underlay"></div>
<div class="package package_head">
<img src="../../assets/me.conorthedev.peep/icon.png">
<div class="package_info">
<h1 class="package_name">peep</h1>
<p class="package_caption">ConorTheDev</p>
</div>
</div>
<div class="nav">
<div class="nav_btn active tweak_info_btn" onclick="swap('.changelog','.tweak_info');">Details</div>
<div class="nav_btn changelog_btn" onclick="swap('.tweak_info','.changelog');">Changelog</div>
</div>
<div class="tweak_info">
<p class="compatibility"><b>Compatibility:</b> This package is compatible with iOS iOS 12.0 to 13.0.</p>
<div class="scroll_view"><img class="img_card" src="../../assets/me.conorthedev.peep/screenshot/01.png"><img class="img_card" src="../../assets/me.conorthedev.peep/screenshot/02.png"></div>
<div class="md_view">
<p><h3><strong>peep</strong></h3>
<h4>by ConorTheDev</h4>
<hr>
<p>peep is a tweak that allows you to temporarily hide your status bar by tapping on it. It only works on the homescreen and lockscreen at the moment.</p>
<p>The settings instantly apply <em>without</em> the need to respring your device!</p>
<p>Current preference options:</p>
<ul>
<li>Enable / Disable</li>
<li>Use Animations</li>
</ul>
<p><strong>Notes:</strong></p>
<ul>
<li>peep is <a href="https://github.com/cbyrne/peep">open source</a>, be sure to check out the code if you're interested.</li>
<li>If you have an issue, <a href="https://github.com/cbyrne/peep/issues/new">create an issue here</a>.</li>
</ul>
</p>
</div>
<h3>Information</h3>
<div class="table">
<div class="cell">
<div class="title">Developer</div>
<div class="text">ConorTheDev</div>
<br><br>
</div>
<div class="cell">
<div class="title">Version</div>
<div class="text">1.0</div>
<br><br>
</div>
<div class="cell">
<div class="title">Compatibility</div>
<div class="text">iOS 12.0 to 13.0</div>
<br><br>
</div>
<div class="cell">
<div class="title">Section</div>
<div class="text">Tweaks</div>
<br><br>
</div>
</div>
<a href="https://github.com/cbyrne/peep" class="table-btn">
<div>View Source Code</div>
</a>
</div>
<div class="changelog">
<div class="changelog_entry">
<h4>1.0</h4>
<div class="md_view"><p>🎉 Initial Release!</p>
</div>
</div>
</div>
<div class="caption center footer">Silica 1.2.1 Updated 2020-04-14</div>
</div>
</body>
<script>compatible("12.0","13.0","iOS 12.0 to 13.0");externalize()</script>
</html>

44
index.html Normal file
View File

@@ -0,0 +1,44 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1.0, user-scalable=0">
<title>ConorTheDev&#x27;s Repo</title>
<link rel="stylesheet" type="text/css" href="web/index.css">
<style>a, .tint {color: #bce9fd} .active {color: #bce9fd</style>
<meta name="description" content="The home of ConorTheDev&#x27;s Free Tweaks">
<meta property="og:title" content="ConorTheDev&#x27;s Repo">
<meta property="og:description" content="The home of ConorTheDev&#x27;s Free Tweaks">
<meta property="og:image" content="https://repo.conorthedev.me/CydiaIcon.png">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="ConorTheDev&#x27;s Repo">
<meta name="twitter:description" content="The home of ConorTheDev&#x27;s Free Tweaks">
<meta name="twitter:image" content="https://repo.conorthedev.me/CydiaIcon.png">
<meta name="theme-color" content="#bce9fd">
</head>
<body>
<div class="body">
<h1 class="header left_float">ConorTheDev&#x27;s Repo</h1>
<a class="header right_float add_sileo tint" href="cydia://url/https://cydia.saurik.com/api/share#?source=https://repo.conorthedev.me">+</a>
<div class="scroll_view">
<a href="depiction/web/me.conorthedev.peep.html" style="background-image: url(assets/me.conorthedev.peep/banner.png)" class="card">
<p>peep</p>
</a>
</div>
<h2 class="header">Packages</h2>
<div class="packageList">
<a class="subtle_link" href="depiction/web/me.conorthedev.peep.html">
<div class="package">
<img src="assets/me.conorthedev.peep/icon.png">
<div class="package_info">
<p class="package_name">peep</p>
<p class="package_caption">ConorTheDev</p>
</div>
</div>
</a>
</div>
<div class="caption center footer">Silica 1.2.1 Updated 2020-04-14</div>
</div>
</body>
<script src="web/index.js"></script>
</html>

BIN
pkg/me.conorthedev.peep.deb Normal file

Binary file not shown.

1
sileo-featured.json Normal file
View File

@@ -0,0 +1 @@
{"class":"FeaturedBannersView","itemSize":"{263, 148}","itemCornerRadius":8,"banners":[{"package":"me.conorthedev.peep","title":"peep","url":"https://repo.conorthedev.me/assets/me.conorthedev.peep/banner.png","hideShadow":"false"}]}

231
web/index.css Normal file
View File

@@ -0,0 +1,231 @@
* {
margin: 0;
}
.body {
font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Helvetica", sans-serif;
margin-top: 20px;
margin-bottom: 20px;
}
@media only screen and (max-width: 600px) {
.body {
margin-left: 20px;
margin-right: 20px;
}
.scroll_view {
width: calc(100vw - 60px);
}
}
@media only screen and (min-width: 601px) {
.body {
width: 500px;
margin-left: auto;
margin-right: auto;
}
.scroll_view {
width: calc(500px - 40px);
}
}
h1, h2, h3, h4, h5, h6, p {
margin: 2px;
}
.caption {
color: #bbb;
font-size: 16px;
}
.header {
margin-top: 40px;
margin-bottom: 25px;
}
.scroll_view {
overflow-x: scroll;
overflow-y: hidden;
margin: 10px;
white-space: nowrap;
-webkit-overflow-scrolling: touch;
}
.scroll_view > .card {
background-color: #ccc;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
padding: 10px;
margin: 10px;
border-radius: 10px;
font-weight: bold;
height: 125px;
width: 275px;
position: relative;
display: inline-block;
}
.scroll_view > .img_card {
background-color: #ccc;
width: 250px;
margin: 5px;
border-radius: 10px;
font-weight: bold;
position: relative;
display: inline-block;
}
.card > p {
color: white;
bottom: 15px;
left: 15px;
font-size: 25px;
position: absolute;
text-shadow: 0 0 10px rgba(0,0,0,0.8);
}
.center {
text-align: center;
}
.left_float {
float: left;
}
.right_float {
float: right;
}
.add_sileo {
font-size: 2em;
cursor: pointer;
text-decoration: none;
}
.add_sileo:hover, a:hover {
opacity: 0.8;
cursor: pointer;
}
.package {
margin-bottom: 40px;
}
.package > img {
border-radius: 20px;
width: 75px;
height: 75px;
float: left;
}
.package_info {
margin-left: 90px;
}
.package_name {
font-weight: bold;
font-size: 21px;
}
.package_caption {
margin-top: 7px;
color: #999;
}
.cell > .title {
float: left;
color: #999;
}
.cell > .text {
float: right;
}
h3 {
margin-top: 15px;
margin-bottom: 15px;
}
.footer {
margin-top: 20px;
}
.subtle_link, .subtle_link > div > div, .subtle_link > div > div > p {
text-decoration: none;
color: black;
}
.subtle_link:hover, .subtle_link > *:hover {
opacity: 0.8;
}
.green {
color: #00b90c;
}
.red {
color: #ba0000;
}
.banner_underlay {
background-size: cover;
background-position: center;
height: 150px;
width: 100%;
border-radius: 8px;
z-index: -2;
margin-bottom: 25px;
top: 0;
}
.changelog {
display: none;
}
.nav {
display: flex;
margin: 20px;
float: center;
}
.nav_btn {
width: 50%;
display:inline;
text-align: center;
color: #999;
font-weight: 500;
padding-bottom: 10px;
cursor: pointer;
}
.changelog_entry {
margin-bottom: 18px;
}
a {
text-decoration: none;
}
.table-btn, .table-btn > div {
padding-top: 10px;
padding-bottom: 10px;
}
.table-btn:after {
content: "";
font-size:30px;
transform: translateY(-40px);
float: right;
}
@media (prefers-color-scheme: dark) {
body {
background: #161616;
color: white;
}
.subtle_link, .subtle_link > div > div, .subtle_link > div > div > p {
color: white;
}
}

46
web/index.js Normal file
View File

@@ -0,0 +1,46 @@
function compatible(works_min, works_max, tweak_compatibility) {
let currentiOS = parseFloat(('' + (/CPU.*OS ([0-9_]{1,})|(CPU like).*AppleWebKit.*Mobile/i.exec(navigator.userAgent) || [0,''])[1]).replace('undefined', '3_2').replace('_', '.').replace('_', ''));
works_min = numerize(works_min);
works_max = numerize(works_max);
let el = document.querySelector(".compatibility");
if (currentiOS < works_min) {
el.innerHTML = "Your version of iOS is too old for this package. This package works on " + tweak_compatibility + ".";
el.classList.add("red")
} else if(currentiOS > works_max) {
el.innerHTML = "Your version of iOS is too new for this package. This package works on " + tweak_compatibility + ".";
el.classList.add("red")
} else if(String(currentiOS) != "NaN") {
el.innerHTML = "This package works on your device!";
el.classList.add("green")
}
}
function numerize(x) {
return x.substring(0,x.indexOf(".")) + "." + x.substring(x.indexOf(".")+1).replace(".","")
}
function swap(hide, show) {
for (var i = document.querySelectorAll(hide).length - 1; i >= 0; i--) {
document.querySelectorAll(hide)[i].style.display = "none";
}
for (var i = document.querySelectorAll(show).length - 1; i >= 0; i--) {
document.querySelectorAll(show)[i].style.display = "block";
}
document.querySelector(".nav_btn" + show + "_btn").classList.add("active");
document.querySelector(".nav_btn" + hide + "_btn").classList.remove("active")
}
function externalize() {
for (var i = document.querySelectorAll("a").length - 1; i >= 0; i--) {
document.querySelectorAll("a")[0].setAttribute("target","blank")
}
}
function darkMode(isOled) {
var darkColor = isOled ? "black" : "#161616";
document.querySelector("body").style.color = "white";
document.querySelector("body").style.background = darkColor;
for (var i = document.querySelectorAll(".subtle_link, .subtle_link > div > div, .subtle_link > div > div > p").length - 1; i >= 0; i--) {
document.querySelectorAll(".subtle_link, .subtle_link > div > div, .subtle_link > div > div > p")[i].style.color = "white";
}
}
if (navigator.userAgent.toLowerCase().indexOf("dark") != -1) {
darkMode(navigator.userAgent.toLowerCase().indexOf("oled") != -1);
}