Skip to content
This repository has been archived by the owner on Jun 8, 2023. It is now read-only.

Template Repository for the 4PT PS4 Package Manager

Notifications You must be signed in to change notification settings

victorrjimenezz/4PT-Repository

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.
This template includes 4 Homebrew Apps:

(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:

You can use rclone to clone the files to the desired machine.
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:

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:

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:
name: 4PT Repo
to whatever name you want to set.

Repository Icon (Optional)

To set the repository icon, change the field:
iconPath: icon.png
to the desired icon path.

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

(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.

PACKAGE_TYPE should be replaced by:

  • GAME
  • APP
  • UPDATE
  • THEME
  • TOOL
  • CHEAT
  • MISC

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


NOTES:

  • Do not include spaces in the PACKAGE_PATH
  • Package names CAN be repeated.
  • Make a line break at the end of the text block.