Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pcm720/nhddl-psu


https://github.com/pcm720/nhddl-psu

Last synced: 24 days ago
JSON representation

Awesome Lists containing this project

README

        

# NHDDL PSU Generator and PSU Builder

This repository implements a small [psubuilder](cmd/psubuilder) utility that can be used to generate PSU file from local files and directories or GitHub releases.

It also includes a [WebAssembly-based UI](cmd/nhddl-psu) for generating PSU files from NHDDL releases.

### `psubuilder`

Grab the latest binary from Releases page.
You can also get it via `go install github.com/pcm720/nhddl-psu/cmd/psubuilder@latest`

To build `psubuilder`, all you need is to install Go (at least 1.23.4) and run `make psubuilder`.
The compiled binary will be placed in the `out` directory.

### WebAssembly UI

To build `nhddl-psu`, you'll need TinyGo (at least 0.34.0) and Go (at least 1.23.4).
Then you'll need to run `make` or `make nhddl-psu`.
The compiled WASM binary and support files will be placed in the `out` directory.

Makefile environment variables (injected into the binary at build time):
- `REPO` — target repository (required)
- `CORS_PROXY` — CORS proxy URL (optional, e.g. `https://cors.example.com/`)

Note that the UI will not be able to download release assets due to some GitHub endpoints not having CORS policies. To work around this, a CORS proxy is needed.