ReviewOS

home-lang/pantry-registry

public
Clone

Push over the same URL. A password will not work: create a token under access tokens and use it in place of one.

A performant, universal package manager (and registry) that just works.

main · 1 commit

Mirrored from home-lang/pantry-registry · synced 14 minutes ago

README.md

🏡 Pantry Home

Official package registry for the Home programming language.

Simple text-based package registry - just JSON files describing available packages.

Structure

pantry-home/
├── registry.json          # Main registry index
└── packages/              # Package metadata files
    ├── http.json
    ├── database.json
    └── ...

Package Format

Each package is a JSON file in packages/ directory:

{
  "name": "http",
  "description": "HTTP server and client for Home",
  "author": "Home Team",
  "license": "MIT",
  "repository": "https://github.com/home-lang/home",
  "versions": {
    "1.0.0": {
      "tarball": "https://github.com/home-lang/home/releases/download/http-v1.0.0/http-1.0.0.tar.gz",
      "sha256": "checksum...",
      "dependencies": {}
    }
  }
}

Usage with Home Package Manager

The Home package manager reads the registry to install packages:

# Install a package
home add http

# Install specific version
home add http@1.0.0

Registry Index

registry.json contains the list of all available packages:

{
  "name": "Pantry Home",
  "description": "Official package registry for the Home programming language",
  "version": "1.0.0",
  "packages": ["http", "database"],
  "updated_at": "2025-10-23T00:00:00Z"
}

Adding a Package

To add a new package to the registry:

  1. Create a new JSON file in packages/ directory
  2. Add the package name to registry.json
  3. Ensure tarballs are accessible via the URLs specified

License

MIT License


Built with ❤️ for the Home community 🏡