home-lang/pantry-registry
publicClone
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.
- packages
- scripts
- .env.example 481 B
- .gitignore 81 B
- README.md 1.6 KB
- registry.json 218 B
🏡 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.0Registry 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:
- Create a new JSON file in
packages/directory - Add the package name to
registry.json - Ensure tarballs are accessible via the URLs specified
License
MIT License
Built with ❤️ for the Home community 🏡