What is UselessPkg?

UselessPkg is a small registry for .useless packages — the same package format used by UselessOS. Create an account, publish a package under an id like xyzcorppkg, and anyone (or just you, if it's private) can fetch the pre-compiled .useless file over HTTP with a single request.

[Site notice] Packages must be pre-compiled before you publish them — run upkg pre-compile file.useless locally to resolve all import/export statements into a single flat file first. UselessPkg only stores and serves the result; it does not compile anything for you.
Publishing a package
  1. Sign up for an account.
  2. Pre-compile your script: upkg pre-compile file.useless
  3. Create a package, choose an id, paste the compiled contents, and pick public or private.
  4. Share the install URL with your users.
Installing a package

Public packages:

GET /install/xyzcorppkg

Private packages (send credentials in the request body):

POST /install/xyzcorppkg
Content-Type: application/json

{"email": "you@example.com", "password": "your-password"}

See the full documentation for response formats, error codes, and rate limits.