4PT-Repository

4PT Repository


Request Feature / Report Bug

Website . The 4PT APP · 4PT Template Repository · 4PT Repository GUI

Logo Logo
Table of Contents
  1. What is this?
  2. Creating a repository with the 4PT GUI
  3. Cloning from Providers
  4. Hosting
  5. Usage

What is this?

This is a template for a repository for the 4PT: PS4 APT.</br> This template includes 4 Homebrew Apps: </br>

(back to top)


Creating a repository with the 4PT GUI

If you would like to create your own repository, we recommend checking the 4PT Repo GUI app. It’s a graphical interface that enables users to easily create a repository, and even host it with a bundled http server.


Testing this repository template

This repository template is available for testing at the URL https://victorrjimenezz.github.io/4PT-Repository/


Cloning from another server, Google Drive, or other providers

If you would like to clone the repository files from another server, Google Drive, or other providers like 1Fitcher: </br>

You can use rclone to clone the files to the desired machine. </br> Here is an example tutorial on How to clone a Google drive on Ubuntu using rclone


Hosting

If you would like to host a smaller, local, repository: </br>

We recommend you check our 4PT Repo GUI, this tool allows you to create a repository, export it to a folder or zip file, and even host it with a bundled http server. No need to install a full fledged APACHE server.

If you would like to host a repository available to everyone, online 24/7: </br>

It is recommended that you find a hosting provider (like 1&1 or GoDaddy) and upload the server files there.


Usage

The repository information is stored in a file called repo.yml, located in the root folder of the repository. (DISCLAMER: YML IS TAB AND LINE BREAK SENSITIVE, SO BE SURE TO WRITE EVERYTHING AS DESCRIBED)

Repository Name (Necessary)

To set the repository name, change the field: </br> name: 4PT Repo </br> to whatever name you want to set.

Repository Icon (Optional)

To set the repository icon, change the field: </br> iconPath: icon.png </br> to the desired icon path.

The image has to be a: </br> PNG, JPEG, JPG, TGA, BMP OR GIF (Animated GIFs are supported) </br>

(NOTE: THE ICON CAN BE ANY SIZE AND SHAPE, BUT IT IS RECOMMENDED THAT IT IS A SQUARE IMAGE)

If a valid icon is not found, 4PT will switch to the default repository icon.

Adding Packages

To add a package, the following block of text is required

PACKAGE_NAME:
  pkgPath: PACKAGE_PATH
  type: PACKAGE_TYPE

where each parameter should be replaced by the desired parameter. </br></br> PACKAGE_TYPE should be replaced by:

If PACKAGE_TYPE is none of the above, app reads it as MISC


NOTES: </br>