Skip to content

allaycc/allay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

allay

allay is a package manager for CC: Tweaked.

Why allay

Most CC software gets installed with wget run, which is fine until you're installing programs that depend on other programs that depend on libraries you didn't know existed. Then you're managing a small forest of files by hand, and updates are an exercise in patience.

allay handles the actual problem. Dependencies install themselves, updates apply across everything at once, and removals can clean up the things that came along just for the package you're removing.

Install

wget run https://raw.githubusercontent.com/allaycc/allay/main/install.lua

Use

allay install <package>
allay install gh:user/repo[@ref]
allay install gh:user/repo[@ref] -- <installer args>
allay update
allay search <query>
allay help

For GitHub repos that ship their own installer, allay can run the upstream installer under observation and record the files, fetches, and shell launches it performed. The install remains removable and updateable through allay.

Sources

Sources are configured at /etc/allay/sources.lua. Add one with:

allay source add <user/repo>           # GitHub shorthand
allay source add https://example.com/  # any HTTPS URL

allay supports HTTPS and floppy-disk sources out of the box. For rednet sources, install allay-rednet-transport. Packages in unicornpkg format work too (after allay install alicorn).

Authoring

Drop an allay.lua in your repo, list it in your source's index.lua, and tag a release. See allay-spec for the format.

Repository layout

This repo contains allay's CLI and core libraries.

  • bin/allay.lua — the CLI entry point
  • lib/ — internal modules
  • install.lua — bootstrap installer
  • tests/ — test suites

Related repos:

Tests

cd tests && lua run_all.lua

License

MIT.

About

The package manager you should use for CC: Tweaked

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages