{"id":19650966,"url":"https://github.com/alexis-moins/recipe","last_synced_at":"2025-07-13T10:37:03.820Z","repository":{"id":134844659,"uuid":"419041932","full_name":"alexis-moins/recipe","owner":"alexis-moins","description":"Store files in a recipe book to use them anytime, anywhere 📚","archived":false,"fork":false,"pushed_at":"2024-09-23T15:54:44.000Z","size":153,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T09:41:57.413Z","etag":null,"topics":["bash","cli","recipe"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alexis-moins.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-19T18:14:27.000Z","updated_at":"2024-09-23T15:53:33.000Z","dependencies_parsed_at":"2024-04-28T16:29:47.377Z","dependency_job_id":"971ae831-d728-4264-83c4-309b5cd06eff","html_url":"https://github.com/alexis-moins/recipe","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexis-moins%2Frecipe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexis-moins%2Frecipe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexis-moins%2Frecipe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexis-moins%2Frecipe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexis-moins","download_url":"https://codeload.github.com/alexis-moins/recipe/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251345868,"owners_count":21574799,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","cli","recipe"],"created_at":"2024-11-11T15:04:39.367Z","updated_at":"2025-04-28T16:31:06.537Z","avatar_url":"https://github.com/alexis-moins.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003cdiv align='center'\u003e\n\n![Version](https://img.shields.io/badge/version-1.7.1-blue.svg)\n\n\u003c/div\u003e\n\n`recipe` is a bash script allowing users to manage a collection of git repositories (called a `recipe books`) of files commonly used across different projects or directories (called `recipes`). You could, for instance, add generic Dockerfile or docker-compose.yaml files to your recipe book to easily bootstrap new docker projects.\n\n## Prerequisites\n\n- bash 4.0 or higher\n- [gum](https://github.com/charmbracelet/gum)\n- git\n\n\n## 🧰 Installation\n\nClone the repository\n```bash\ngit clone git@github.com:alexis-moins/recipe.git ~/.recipe\n```\n\nGo into the install directory and execute the [install](install.sh) script:\n```bash\n./install.sh\n```\n\nThe install script copies the `recipe` script in the `~/.local/bin` directory (you can also change the destination by passing it as an argument to the install script).\n\n## 🌱 Quick Start\n\nAfter installing, you can follow these steps to quickly see how it works:\n\n```bash\n# First initialize a new recipe book\nrecipe book add personal\n\n# Or, if you already have a recipe book\nrecipe book add personal git@github.com:alexis-moins/recipe-book.git\n\n# Set the recipe book as the global one\nrecipe book global personal\n\n# You can now add a recipe\nrecipe add Dockerfile docker/express-js\n\n# View the list of your recipes\nrecipe list\n\n# Edit a recipe\nrecipe edit docker/express-js\n\n# Even use a recipe in another project\nrecipe use docker/express-js Dockerfile\n```\n\n## 🚦 Usage\n\n```\n$ recipe\n\nrecipe - store redundant files in a recipe book to use them anytime, anywhere\n\nUsage:\n  recipe COMMAND\n  recipe [COMMAND] --help | -h\n  recipe --version | -v\n\nRecipe Commands:\n  add       Add a new recipe\n  list      List all your recipes\n  filter    Filter recipes\n  use       Use a recipe locally\n  remove    Remove a recipe\n  edit      Edit a recipe\n  show      Show the content of a recipe\n\nCommands:\n  env       Print environment information\n  book      List, filter, and add recipe books\n\nGit Commands:\n  status    Show the status of your recipe book\n  stage     Stage files interactively\n  unstage   Unstage files interactively\n  restore   Restore unstaged files interactively\n  diff      Show interactive diff with last commit\n  commit    Commit changes\n  git       Run git commands within your recipe book\n\nRecipe Book Commands:\n  cd        Navigate to your recipe book in a new shell\n\nOptions:\n  --recipe-book, -b RECIPE_BOOK\n    Name of the recipe book\n\n  --help, -h\n    Show this help\n\n  --version, -v\n    Show version number\n\nEnvironment Variables:\n  RECIPE_SHOW_CMD\n    Command used to show recipes\n    Default: cat\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexis-moins%2Frecipe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexis-moins%2Frecipe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexis-moins%2Frecipe/lists"}