config-rocket is a toolkit/engine that helps you create or install configurable config-packs, which can range anywhere from some configuration files, a component, or even a full library template!
- Cross-platform 🪟🍏🐧
- Easy, interactive, safe install of any
config packand zip archives, whether its a public one shared by your friend, or your own, privately-stored.config-rocketdoes not allow any code execution, so the installation of aconfig packis safe, but you should verify that the archive contains the files that you expect.
- Config type-safety:
config-rocketis powered byTypescript (TS), and provides type-safety, autocompletion, typedoc documentation right in your IDE while crafting your configs. - Powerful creator candies:
parametersthat works interactively with your users.variables,excludes,filesBuilderhelps you conditionally customize your assemble process without code execution.fuelcontext support that help you reduces duplication work in multiple files.frametemplate for the quick file-to-file base bones.snapshotthat helps simulating of an existing user project, ensuring your configs will deploy correctly. (Intended for more advanced use case like testing AI agents) (TBA)
- Easy shipping: Bundle your
config pack, or just create a zip archive, create a GitHub release, or upload it somewhere, and everyone can use it viaconfig-rocketCLI!
- Easily extendable: tailor your own rules and functionalities via exported functions and hooks support, for example: Roo Rocket
npx config-rocket --repo="NamesMT/config-packs"
# Or by url: `npx config-rocket --url=https://direct.url/to-config.zip`
# Interactively configure the installation parameters (if any)
# Nothing more, enjoy :)- Generate a repo from
config-packs-template- It's a template to create your own
config packsforconfig-rocketecosystem.
- It's a template to create your own
- Start shipping!
This project is similar to cookiecutter (I didn't know of it's existence while creating config-rocket).
But I'm proud to say that in the current early stage, config-rocket can pretty much match the functionalities of cookiecutter, with some notes/feats:
- Targets for broader adaptation and safety, no script execution from config packs.
- Provides development toolings and type-safety.
- For serious creators / communities, it's more flexible and easier to create your own extends of
config-rocketwith more rules and features, you are in FULL POWER of using the inner toolings to control/build the FULL PROCESS: CLI invoke, fetching, unpack, assemble,...