Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pcm720/nhddl-psu
https://github.com/pcm720/nhddl-psu
Last synced: 24 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/pcm720/nhddl-psu
- Owner: pcm720
- License: bsd-3-clause
- Created: 2024-12-09T23:56:05.000Z (30 days ago)
- Default Branch: main
- Last Pushed: 2024-12-10T21:08:18.000Z (29 days ago)
- Last Synced: 2024-12-10T22:19:14.317Z (29 days ago)
- Language: Go
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.