NXUpdateTracker Switch

From GameBrew
Revision as of 02:26, 22 October 2023 by HydeWing (talk | contribs) (Created page with "{{Infobox Switch Homebrews |title=NXUpdateTracker |image=nxupdatetrackerswitch.png |description=A local HTML page that helps you track the version numbers of [Switch] homebrew applications. |author=F-l-a |lastupdated=2023/10/10 |type=Other Apps |version=2.0 |license=GPL-3.0 |download=https://dlhb.gamebrew.org/switchhomebrews/nxupdatetrackerswitch.7z |website=https://gbatemp.net/threads/nxupdatetracker.640650/ |source=https://github.com/F-l-a/NXUpdateTracker |donation= }}...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
NXUpdateTracker
Nxupdatetrackerswitch.png
General
AuthorF-l-a
TypeOther Apps
Version2.0
LicenseGPL-3.0
Last Updated2023/10/10
Links
Download
Website
Source

NXUpdateTracker is a local HTML page that helps you track the version numbers of [Switch] homebrew applications. Try the demo Version here (Since it's a demo, it's heavily limited, but it's good to have).

Features

  • Lists the latest version number of the supported homebrews
  • Loads the currently installed version number from a JSON file hosted on Github, like this
  • Compares the installed and the latest version numbers, with the possibility to only list the outdated apps that have an update available
  • Updates the installed version numbers modifying the JSON directly from the app
  • Hide/Show the homebrews you prefer
  • Lists some important files needed by the apps to work properly
  • Accessible everywhere: .nro version for the switch, standalone .html version for every browser
  • Customizable: you can modify the html to include other apps/assets/links
  • Does NOT install the updates itself, nor it downloads them

Installation

Installing NXUpdateTracker

  1. Download NXUpdateTracker.zip from the latest release
  2. Extract NXUpdateTracker.zip and copy its contents inside the root of your SD card
  3. To use all the functions of the app, you need to modify /switch/NXUpdateTracker/githubInfo.ini. Go to Usage Guide

Updating NXUpdateTracker

  1. Make a backup of the /switch/NXUpdateTracker/githubInfo.ini file contents
  2. Download NXUpdateTracker.zip from the latest release
  3. Extract NXUpdateTracker.zip and copy its contents inside the root of your SD card. Overwrite the previous files if needed
  4. STEP 3: Reinsert the info back into /switch/NXUpdateTracker/githubInfo.ini ( <- it's the reason you made a backup at
    • IMPORTANT: You can't just keep the old file. I can't guarantee I won't change/add contents to it). Go to Usage Guide if unsure

Usage

Switch Version

  1. Create a repository and the Versions.json file -> Follow How to create a Github repository.
  2. Get a Github API token -> Follow How to generate a Github API token.
  3. Download NXUpdateTracker.zip from the latest release and extract it (You can skip this step if you already have the latest release).
  4. Open /switch/NXUpdateTracker/githubInfo.ini with a text editor (like Notepad) and insert your repository info and your API token. -> Get these in STEP 1 and STEP 2.

example githubInfo.ini content (this is only an example. use your own info):

API_TOKEN = qwertyuiopasdfghjklzxcvbnm1234567890
OWNER = F-l-a
REPO = NXUpdateTracker
FILE_PATH = Versions.json

5: Put the files inside the SD card. Your SD tree needs to be like this:

SD  (ROOT)
└──switch  (FOLDER)
   └──NXUpdateTracker  (FOLDER)
      ├──githubInfo.ini  (FILE)
      └──NXUpdateTracker.nro  (FILE)

Browser Version (Pc / Smartphone / KFC Ice Cream Machine)

  1. Download NXUpdateTracker.html from the latest release.
  2. Open NXUpdateTracker.html with a text editor (like Notepad) and insert your repository info and your API token. -> Get these in the SWITCH part (STEP 1 and STEP 2).

nxupdatetrackerswitch-03.png

Screenshots

nxupdatetrackerswitch-01.png

nxupdatetrackerswitch-02.png

Changelog

v2.0

  • A function to hide/show the homebrews. You can save the configuration on your Github repo: follow the Update Guide here. You also need to add a new Visibility.json file to your repo: follow STEP 7 here.
  • Some code reorganization
  • Google Drive links got removed for security reasons

v1.0

  • First Release.

Credits

I would like to thank these people who gave me the possibility to bring this project to you:

  • switchbrew for Libnx Switch
  • BernardoGiordano for nx-spa, the project I partially used as a reference for mine. I used his approach to open a web server with Mongoose and I used some of his files for some parts of the process
  • F-l-a (me) for the html and javascript (and some c++) parts. I learned a lot doing this (and spending half the time on some stupid things because I couldn't get it to work. But that's what the game is about, right?)

External links

Advertising: