aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.gitignore1
-rwxr-xr-xCNAME1
-rwxr-xr-xCydiaIcon.pngbin0 -> 3785 bytes
-rwxr-xr-xPackages31
-rwxr-xr-xPackages.bz2bin0 -> 500 bytes
-rwxr-xr-xPackages.gzbin0 -> 413 bytes
-rwxr-xr-xREADME.md3
-rwxr-xr-xRelease8
-rwxr-xr-xcss/index.css4
-rwxr-xr-xdebs/com.jake0oo0.instamute.debbin0 -> 13692 bytes
-rwxr-xr-xdebs/com.jake0oo0.noalertloop.debbin0 -> 30892 bytes
-rwxr-xr-xdepictions/changelog/index.html97
-rwxr-xr-xdepictions/index.html161
-rwxr-xr-xdepictions/screenshots/index.html97
-rwxr-xr-ximages/instamute1.jpgbin0 -> 46073 bytes
-rwxr-xr-ximages/instamute2.jpgbin0 -> 14646 bytes
-rwxr-xr-ximages/instamute3.jpgbin0 -> 46350 bytes
-rwxr-xr-ximages/noalertloop1.jpgbin0 -> 25438 bytes
-rwxr-xr-ximages/noalertloop2.jpgbin0 -> 22375 bytes
-rwxr-xr-ximages/twitter.pngbin0 -> 3297 bytes
-rwxr-xr-xindex.html30
-rwxr-xr-xrepo.sh53
22 files changed, 486 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100755
index 0000000..72a5c3b
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+_site/ \ No newline at end of file
diff --git a/CNAME b/CNAME
new file mode 100755
index 0000000..5d46e19
--- /dev/null
+++ b/CNAME
@@ -0,0 +1 @@
+boomerang.jakes.site \ No newline at end of file
diff --git a/CydiaIcon.png b/CydiaIcon.png
new file mode 100755
index 0000000..968344e
--- /dev/null
+++ b/CydiaIcon.png
Binary files differ
diff --git a/Packages b/Packages
new file mode 100755
index 0000000..eeb5ba6
--- /dev/null
+++ b/Packages
@@ -0,0 +1,31 @@
+Package: com.jake0oo0.instamute
+Name: InstaMute
+Depends: mobilesubstrate
+Architecture: iphoneos-arm
+Description: Mute Instagram Followers
+Maintainer: Jake0oo0 <jaek0oo0dev@gmail.com>
+Author: Jake0oo0 <jaek0oo0dev@gmail.com>
+Section: Tweaks
+Version: 1.0.2-1
+Installed-Size: 192
+MD5sum: 08b8d645e3b8c191646e5e6a2153f154
+Size: 13692
+Filename: debs/com.jake0oo0.instamute.deb
+Depiction: https://boomerang.jakes.site/depictions/?p=com.jake0oo0.instamute
+
+Package: com.jake0oo0.noalertloop
+Name: NoAlertLoop
+Depends: mobilesubstrate
+Architecture: iphoneos-arm
+Description: Prevent websites from infinitely creating popups
+Maintainer: Jake0oo0 <jake0oo0dev@gmail.com>
+Author: Jake0oo0 <jake0oo0dev@gmail.com>
+Section: Tweaks
+Version: 1.0.1-1
+Installed-Size: 220
+MD5sum: 8411f4752a715024f153871b8f8edf9a
+Size: 30892
+Filename: debs/com.jake0oo0.noalertloop.deb
+Depiction: https://boomerang.jakes.site/depictions/?p=com.jake0oo0.noalertloop
+
+
diff --git a/Packages.bz2 b/Packages.bz2
new file mode 100755
index 0000000..0112308
--- /dev/null
+++ b/Packages.bz2
Binary files differ
diff --git a/Packages.gz b/Packages.gz
new file mode 100755
index 0000000..92b66e2
--- /dev/null
+++ b/Packages.gz
Binary files differ
diff --git a/README.md b/README.md
new file mode 100755
index 0000000..02c2007
--- /dev/null
+++ b/README.md
@@ -0,0 +1,3 @@
+# Cydia Repo: boomerang.jakes.site
+
+My example [Boomerang](https://github.com/Jake0oo0/boomerang) Cydia repository. You can view the site [here](https://boomerang.jakes.site) or add it to Cydia with the share [link](cydia://url/https://cydia.saurik.com/api/share#?source=https://boomerang.jakes.site). \ No newline at end of file
diff --git a/Release b/Release
new file mode 100755
index 0000000..2bd533e
--- /dev/null
+++ b/Release
@@ -0,0 +1,8 @@
+Origin: Jake's Boomerang Repo
+Label: Jake's Boomerang Repo
+Suite: stable
+Version: 1.0
+Codename: ios
+Architectures: iphoneos-arm
+Components: main
+Description: Jake's Boomerang Repository \ No newline at end of file
diff --git a/css/index.css b/css/index.css
new file mode 100755
index 0000000..15394e3
--- /dev/null
+++ b/css/index.css
@@ -0,0 +1,4 @@
+.repo-icon {
+ float: left;
+ vertical-align: middle;
+} \ No newline at end of file
diff --git a/debs/com.jake0oo0.instamute.deb b/debs/com.jake0oo0.instamute.deb
new file mode 100755
index 0000000..55fc68b
--- /dev/null
+++ b/debs/com.jake0oo0.instamute.deb
Binary files differ
diff --git a/debs/com.jake0oo0.noalertloop.deb b/debs/com.jake0oo0.noalertloop.deb
new file mode 100755
index 0000000..e70981a
--- /dev/null
+++ b/debs/com.jake0oo0.noalertloop.deb
Binary files differ
diff --git a/depictions/changelog/index.html b/depictions/changelog/index.html
new file mode 100755
index 0000000..1a97072
--- /dev/null
+++ b/depictions/changelog/index.html
@@ -0,0 +1,97 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <title>Cydia Tweak</title>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <link rel="icon" href="/CydiaIcon.png">
+
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.5/css/bootstrap.min.css">
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
+
+ <style>
+ body {
+ background-color: #efeff4;
+ }
+ h1, h2 {
+ margin-left: 7px;
+ }
+ .badge-label {
+ border-radius:1em;
+ }
+ .panel, .alert {
+ border-radius: 0 !important;
+ }
+ .package-error {
+ display: none;
+ }
+ .latest-version {
+ vertical-align: middle;
+ }
+ </style>
+</head>
+<body>
+ <div class="container">
+ <div class="package row">
+ <div class="header">
+ <h1 class="package-name"></h1>
+ </div>
+ </div>
+
+ <div class="row alert alert-danger package-error"></div>
+
+ <div class="package-info row package-versions">
+ <h2>Changelogs</h2>
+ </div>
+
+ </div>
+ <script>
+ $(document).ready(function() {
+ var dPackage = getParameterByName("p");
+
+ if (!dPackage) {
+ $(".package-error").text("This package doesn't seem to exist!").css("display", "block");
+ $(".package-info").css("display", "none");
+ $(".package-name").text("Not Found");
+ return;
+ }
+
+ $.getJSON("/packages/" + dPackage + ".json", function(data) {
+ document.title = data.name + " by " + data.author;
+ $(".package-name").text(data.name);
+ var latest = data.version;
+ var versions = Object.keys(data.changelog).reverse();
+ for (var v in versions) {
+ var version = versions[v];
+ var panel = $("<div class=\"panel panel-default\"></div>");
+ panel.append("<div class=\"panel-heading\">" + version + "</div>");
+ panel.append("<div class=\"panel-body changelog-list\"></div>");
+ if (version === latest) {
+ panel.find(".panel-heading").append(" <div class=\"label label-primary badge-label latest-version\">LATEST</div>");
+ }
+ var changes = data.changelog[version];
+ for (var c in changes) {
+ var change = changes[c];
+ panel.find(".changelog-list").append("<li>" + change + "</li>");
+ }
+ $(".package-versions").append(panel);
+ }
+
+ })
+ .fail(function() {
+ $(".package-error").text("An error occurred while retrieving package info!").css("display", "block");
+ $(".package-info").css("display", "none");
+ $(".package-name").text("Repository Error");
+ return;
+ });
+
+ function getParameterByName(name) {
+ name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]");
+ var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"),
+ results = regex.exec(location.search);
+ return results === null ? null : decodeURIComponent(results[1].replace(/\+/g, " "));
+ }
+ });
+ </script>
+</body>
+</html> \ No newline at end of file
diff --git a/depictions/index.html b/depictions/index.html
new file mode 100755
index 0000000..3d6f6f8
--- /dev/null
+++ b/depictions/index.html
@@ -0,0 +1,161 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <title>Cydia Tweak</title>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <link rel="icon" href="/CydiaIcon.png">
+
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.5/css/bootstrap.min.css">
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
+
+ <style>
+ body {
+ background-color: #efeff4;
+ }
+ h1, .package-desc {
+ margin-left: 7px;
+ }
+ .badge-label {
+ border-radius:1em;
+ }
+ .panel, .list-group-item, .alert {
+ border-radius: 0 !important;
+ }
+ .list-group-item:last-child {
+ margin-bottom: -1px;
+ }
+ .subshots {
+ text-align: center;
+ }
+ .subshots:nth-child(1) {
+ margin-bottom: 10px;
+ }
+ .screenshots img {
+ border: thin solid #BEB6D8;
+ }
+ .package-buttons {
+ margin-top: 10px;
+ }
+ .repo-buttons {
+ margin-top: 20px;
+ }
+ a:link, a:visited, a:hover {
+ text-decoration: none;
+ }
+ .package-error {
+ display: none;
+ }
+ </style>
+</head>
+<body>
+ <div class="container">
+ <div class="package row">
+ <div class="header">
+ <h1 class="package-name"></h1>
+ </div>
+ </div>
+
+ <div class="row alert alert-danger package-error"></div>
+
+ <div class="package-info">
+ <div class="package-info row">
+ <p class="package-desc"></p>
+ </div>
+
+ <i><p class="package-author"></p></i>
+
+ <div class="row panel panel-default">
+ <div class="panel-heading">Changelog <div class="label label-primary badge-label latest-version"></div></div>
+ <div class="panel-body changelog-list">
+ </div>
+ </div>
+
+ <br>
+
+ <div class="row screenshots">
+ </div>
+
+ <div class="row package-buttons">
+ <ul class="list-group">
+ <a href="screenshots" class="screenshots-link"><li class="list-group-item"><span class="glyphicon glyphicon-picture"></span> Screenshots</li></a>
+ <a href="changelog" class="changelog-link"><li class="list-group-item"><span class="glyphicon glyphicon-tasks"></span> Full Changelog</li></a>
+ </ul>
+ </div>
+
+ <div class="row repo-buttons">
+ <ul class="list-group">
+ <a href="https://github.com/Jake0oo0/boomerang" target="_blank"><li class="list-group-item"><span class="glyphicon glyphicon-wrench"></span> Boomerang Repository</li></a>
+ <a href="https://twitter.com/itsjake88" target="_blank"><li class="list-group-item"><span class="glyphicon glyphicon-heart"></span> Follow Boomerang Dev</li></a>
+ </ul>
+ </div>
+ </div>
+
+ </div>
+ <script>
+ $(document).ready(function() {
+ var dPackage = getParameterByName("p");
+
+ if (!dPackage) {
+ $(".package-error").text("This package doesn't seem to exist!").css("display", "block");
+ $(".package-info").css("display", "none");
+ $(".package-name").text("Not found");
+ return;
+ }
+
+ $.getJSON("/packages/" + dPackage + ".json", function(data) {
+ document.title = data.name + " by " + data.author;
+ $(".package-name").text(data.name);
+ $(".package-desc").text(data.description);
+ $(".latest-version").text(data.version + " (latest)");
+ $(".package-author").text("by " + data.author);
+ var cList = $(".changelog-list");
+ var changes = data.changelog[data.version];
+ for (var c in changes) {
+ var change = changes[c];
+ cList.append("<li>" + change + "</li>")
+ }
+
+ var count = 0;
+ var screenshots = data.screenshots;
+ var sKeys = Object.keys(screenshots);
+ for (var s in sKeys) {
+ var screenshot = sKeys[s];
+
+ if (count % 2 === 0) {
+ $(".screenshots").append("<div class=\"subshots col-xs-12\"></div>");
+ }
+
+ $(".screenshots .subshots:last-child").append("<div class=\"col-xs-6\"><img class=\"img-responsive\" src=\"/images/" + screenshot + "\" title=\"" + screenshots[screenshot] + "\"></div>");
+ count += 1;
+ }
+
+ $(".changelog-link").attr("href", "changelog?p=" + dPackage);
+ $(".screenshots-link").attr("href", "screenshots?p=" + dPackage);
+
+ var links = data.links;
+ var lKeys = Object.keys(links);
+ for (var l in lKeys) {
+ var link = lKeys[l];
+ var wrap = $("<a href=\"" + links[link] + "\" target=\"_blank\"><li class=\"list-group-item\"></li></a>");
+ wrap.find(".list-group-item").append($.parseHTML(link));
+ $(".package-buttons .list-group").append(wrap);
+ }
+ })
+ .fail(function() {
+ $(".package-error").text("An error occurred while retrieving package info!").css("display", "block");
+ $(".package-info").css("display", "none");
+ $(".package-name").text("Repository Error");
+ return;
+ });
+
+ function getParameterByName(name) {
+ name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]");
+ var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"),
+ results = regex.exec(location.search);
+ return results === null ? null : decodeURIComponent(results[1].replace(/\+/g, " "));
+ }
+ });
+ </script>
+</body>
+</html> \ No newline at end of file
diff --git a/depictions/screenshots/index.html b/depictions/screenshots/index.html
new file mode 100755
index 0000000..ccb9f3b
--- /dev/null
+++ b/depictions/screenshots/index.html
@@ -0,0 +1,97 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <title>Cydia Tweak</title>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <link rel="icon" href="/CydiaIcon.png">
+
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.5/css/bootstrap.min.css">
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
+
+ <style>
+ body {
+ background-color: #efeff4;
+ }
+ h1, h2 {
+ margin-left: 7px;
+ }
+ .panel, .alert {
+ border-radius: 0 !important;
+ }
+ .package-error {
+ display: none;
+ }
+ .subshots {
+ text-align: center;
+ }
+ .subshots:nth-child(1) {
+ margin-bottom: 10px;
+ }
+ .screenshots img {
+ border: thin solid #BEB6D8;
+ }
+ </style>
+</head>
+<body>
+ <div class="container">
+ <div class="package row">
+ <div class="header">
+ <h1 class="package-name"></h1>
+ </div>
+ </div>
+
+ <div class="row alert alert-danger package-error"></div>
+
+ <div class="package-info row screenshots">
+ <h2>Screenshots</h2>
+ </div>
+
+ </div>
+ <script>
+ $(document).ready(function() {
+ var dPackage = getParameterByName("p");
+
+ if (!dPackage) {
+ $(".package-error").text("This package doesn't seem to exist!").css("display", "block");
+ $(".package-info").css("display", "none");
+ $(".package-name").text("Not Found");
+ return;
+ }
+
+ $.getJSON("/packages/" + dPackage + ".json", function(data) {
+ document.title = data.name + " by " + data.author;
+ $(".package-name").text(data.name);
+
+ var count = 0;
+ var screenshots = data.screenshots;
+ var sKeys = Object.keys(screenshots);
+ for (var s in sKeys) {
+ var screenshot = sKeys[s];
+
+ if (count % 2 === 0) {
+ $(".screenshots").append("<div class=\"subshots col-xs-12\"></div>");
+ }
+
+ $(".screenshots .subshots:last-child").append("<div class=\"col-xs-6\"><img class=\"img-responsive\" src=\"/images/" + screenshot + "\" title=\"" + screenshots[screenshot] + "\"></div>");
+ count += 1;
+ }
+
+ })
+ .fail(function() {
+ $(".package-error").text("An error occurred while retrieving package info!").css("display", "block");
+ $(".package-info").css("display", "none");
+ $(".package-name").text("Repository Error");
+ return;
+ });
+
+ function getParameterByName(name) {
+ name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]");
+ var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"),
+ results = regex.exec(location.search);
+ return results === null ? null : decodeURIComponent(results[1].replace(/\+/g, " "));
+ }
+ });
+ </script>
+</body>
+</html> \ No newline at end of file
diff --git a/images/instamute1.jpg b/images/instamute1.jpg
new file mode 100755
index 0000000..8b12c4a
--- /dev/null
+++ b/images/instamute1.jpg
Binary files differ
diff --git a/images/instamute2.jpg b/images/instamute2.jpg
new file mode 100755
index 0000000..35040fe
--- /dev/null
+++ b/images/instamute2.jpg
Binary files differ
diff --git a/images/instamute3.jpg b/images/instamute3.jpg
new file mode 100755
index 0000000..6c86c33
--- /dev/null
+++ b/images/instamute3.jpg
Binary files differ
diff --git a/images/noalertloop1.jpg b/images/noalertloop1.jpg
new file mode 100755
index 0000000..bd68e71
--- /dev/null
+++ b/images/noalertloop1.jpg
Binary files differ
diff --git a/images/noalertloop2.jpg b/images/noalertloop2.jpg
new file mode 100755
index 0000000..b51e362
--- /dev/null
+++ b/images/noalertloop2.jpg
Binary files differ
diff --git a/images/twitter.png b/images/twitter.png
new file mode 100755
index 0000000..251ebb1
--- /dev/null
+++ b/images/twitter.png
Binary files differ
diff --git a/index.html b/index.html
new file mode 100755
index 0000000..539fbe2
--- /dev/null
+++ b/index.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <title>Boomerang Repository</title>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <link rel="icon" href="/CydiaIcon.png">
+
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.5/css/bootstrap.min.css">
+ <link rel="stylesheet" href="/css/index.css">
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
+</head>
+<body>
+ <div class="container">
+ <div class="page-header">
+ <img src="/CydiaIcon.png" alt="Repo Icon" height="40" width="40" class="repo-icon">
+ <h1>Boomerang Repository</h1>
+ </div>
+ <div class="row">
+ <div class="col-md-8">
+ <div class="panel panel-default">
+ <div class="panel-body">
+ This Boomerang repository hosts a number of packages. You can add it to Cydia using the share <a href="cydia://url/https://cydia.saurik.com/api/share#?source=https://boomerang.jakes.site">link</a>!
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+</body>
+</html> \ No newline at end of file
diff --git a/repo.sh b/repo.sh
new file mode 100755
index 0000000..e757759
--- /dev/null
+++ b/repo.sh
@@ -0,0 +1,53 @@
+#!/bin/bash
+
+script_dir=$(dirname $0)
+cur=$(pwd)
+
+cd "$script_dir"
+if [ $# -eq 0 ]; then
+ echo "Usage: $0 <command>" >&2
+ exit 1
+fi
+
+if [ "$1" == "add" ]; then
+ if [ "$#" -ne 3 ]; then
+ echo "Usage: $0 add <package> <deb file>" >&2
+ exit 1
+ fi
+ echo "Adding new package...";
+
+ cp "$3" "$script_dir/debs/$2.deb"
+
+elif [ "$1" == "update" ]; then
+ echo "Updating packaging...";
+else
+ echo "Usage: $0 <command>" >&2
+ exit 1
+fi
+
+rm Packages.bz2
+rm Packages
+
+for deb in debs/*.deb
+do
+ echo "Processing $deb...";
+ dpkg-deb -f "$deb" >> Packages
+ md5sum "$deb" | echo "MD5sum: $(awk '{ print $1 }')" >> Packages
+ wc -c "$deb" | echo "Size: $(awk '{ print $1 }')" >> Packages
+ echo "Filename: $deb" >> Packages
+ dpkg-deb -f "$deb" Package | echo "Depiction: https://$(head -n 1 CNAME)/depictions/?p=$(xargs -0)" >> Packages
+ echo "" >> Packages
+done
+
+echo "" >> Packages; ## Add extra new line
+
+bzip2 < Packages > Packages.bz2
+gzip -9c < Packages > Packages.gz
+
+git add -A
+now=$(date +"%I:%M %m-%d-%Y")
+git commit -am "Packages Update - $now"
+git push
+
+echo "Updated Github repository with latest packages";
+cd "$cur" \ No newline at end of file