Cydia Repo HTML Theme

calculating....


  1. html
  2. css
  3. JavaScript

Cydia repository HTML template featuring a dark/light theme toggle, for iOS Jailbreak tweak developers.

cydia-html-theme

How to use this theme

If you are not hosting your repo on Github Pages, you can download the zip file and extract to a subfolder on your website.

A. If you want to use your root username.github.io as your repo, fork this repo and rename it to username.github.io. So when adding it in Cydia, use https://username.github.io.

B. If you want to use a subfolder for your existing username.github.io as your repo (example username.github.io/repo), fork this repo and rename it to repo. So when adding it in Cydia, use https://username.github.io/repo.

You can change repo to anything you want, like cydia for example. So your repo url would be https://username.github.io/cydia.

Release File

Edit Release file. Modify the items pointed by <--

Origin: Dervic Repo  <--
Label: Dervic Repo   <--
Suite: stable
Version: 1.0
Codename: ios
Architectures: iphoneos-arm
Components: main
Description: Dervic Repo - a cydia repo template  <--

Edit index.html

  • Change the page title in the <title>Dervic Repo</title> tag
  • See lines 20 and 21.
  • Change line 20 into your own brand and line 21 to have your own URL.
  • Line2 30-51 contains the list of featured packages. You can edit those or remove them totally.
  • Replace CydiaIcon.png.

Your repo is almost ready.

For the depictions to appear on Cydia, you will need to add the depictions url at the end of your package's control file before compiling it. The control file should look like this

Package: me.dervic.repo
Name: Dervic Repo
Version: 1.0
Section: Tweaks
Depends: firmware (<7.0)
Architecture: iphoneos-arm
Homepage: https://username.github.io/repo
Depiction: https://username.github.io/repo/depiction/index.html
Filename: ./depiction/deb/me.dervic.repo.deb
Description: Dervic Repo with style!
Icon: file:///Applications/AppIcon60x60@2x.png
Depiction: https://username.github.io/repo/depictions/?p=[idhere]

With your updated control file, build your tweak. Store the resulting .deb. file into the /debs/ folder of your repo. Build your Packages file and compress with bzip2.

user:~/ $ cd repo
user:~/repo $ dpkg-scanpackages -m ./debs > Packages
user:~/repo $ bzip2 Packages

Push your changes again to Github and if you haven't done yet, go ahead and add your repo to Cydia. You should now be able to install your tweak into your own repo.

Live Preview demo

If you enjoyed this article, you may also like Dervic Blog's.


Comments (0)

Thank you!