Skip to content

home-lang/pantry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🏑 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 🏑

About

The Home Programming Language package registry.

Topics

Resources

Stars

Watchers

Forks

Languages