{"_id":"initium","_rev":"28-b8786c6072aa811711341b3a0f8bd67b","name":"initium","dist-tags":{"latest":"0.8.4"},"versions":{"0.0.1":{"name":"initium","version":"0.0.1","author":{"url":"luca.lanziani@nearform.com","name":"Luca Lanziani"},"_id":"initium@0.0.1","maintainers":[{"name":"lucalanziani","email":"luca@lanziani.com"}],"dist":{"shasum":"4d51fc990ccccd5acfd91f7416124f4089ce1c0f","tarball":"https://registry.npmjs.org/initium/-/initium-0.0.1.tgz","fileCount":1,"integrity":"sha512-5AgWddD31wkt0t1uz5p52sIztvGvE1V0GxoAjcUk7ajh1oVKXvFTJKUm1EgLNHBsOh91dLg2dFEG2UFaBCmZgg==","signatures":[{"sig":"MEYCIQDDl7VFwjbRiYIWk4QurfcTVMxS0COcaDZsXcaEslsodwIhAPiWcxFt+6sEY8mGqYNn1v0zMwyTcpBwBEFcgtB30Fe0","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":252},"main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"lucalanziani","email":"luca@lanziani.com"},"_npmVersion":"8.19.2","description":"\"The initium project cli\"","directories":{},"_nodeVersion":"19.0.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/initium_0.0.1_1691504997751_0.78596343002805","host":"s3://npm-registry-packages"}},"0.5.0":{"name":"initium","version":"0.5.0","keywords":["initium","kubernetes"],"author":{"name":"Nearform"},"license":"ISC","_id":"initium@0.5.0","maintainers":[{"name":"lucalanziani","email":"luca@lanziani.com"}],"homepage":"https://github.com/nearform/initium-cli","bugs":{"url":"https://github.com/nearform/initium-cli/issues"},"bin":{"initium":"scripts/npx-run.js"},"dist":{"shasum":"f1c4fb53bd07213a5f10d96106f4dbab9789d88e","tarball":"https://registry.npmjs.org/initium/-/initium-0.5.0.tgz","fileCount":5,"integrity":"sha512-ARSJVdcXKB4i+69drtLoJh49xfbUN54dswD5avNmiM7WtDn6cCYSGR7h7lQxV/+/YwOyXJwEqKBaEiqwzXLkvA==","signatures":[{"sig":"MEQCIG7JLRm95Bv9Ai4v7YcM4gmZuINQznBP3Orb3IZSBBG9AiBzEd2UFjSI+LJYui8IZahdu4SZjPS/RUwnOU3/nB9f0A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5639},"gitHead":"01837ed8ea1e2fe38ba9bf842cce9760360ac38f","scripts":{"test":"exit 0","postinstall":"node scripts/npm-install.js"},"_npmUser":{"name":"lucalanziani","email":"luca@lanziani.com"},"binaryName":"initium","repository":{"url":"git+https://github.com/nearform/initium-cli.git","type":"git"},"_npmVersion":"8.19.2","description":"A single static binary that can run on any CI to build your code and deploy it in a single step.","directories":{},"_nodeVersion":"18.12.1","dependencies":{"npm":"^10.1.0","tar":"^6.2.0","axios":"^1.5.0","semver":"^7.5.4","unzipper":"^0.10.14"},"_hasShrinkwrap":false,"repositoryName":"initium-cli","_npmOperationalInternal":{"tmp":"tmp/initium_0.5.0_1695303979072_0.11822107718367514","host":"s3://npm-registry-packages"}},"0.6.0":{"name":"initium","version":"0.6.0","keywords":["initium","kubernetes"],"author":{"name":"Nearform"},"license":"ISC","_id":"initium@0.6.0","maintainers":[{"name":"lucalanziani","email":"luca@lanziani.com"},{"name":"sociablesteve","email":"steve.goode@nearform.com"},{"name":"williamlines","email":"williamlines42@gmail.com"},{"name":"codyzu","email":"cody.zuschlag@gmail.com"},{"name":"davidefiorello","email":"davide@codeflyer.com"},{"name":"donal.moynihan","email":"donal.moynihan@nearform.com"},{"name":"shogun_panda","email":"paolo@cowtech.it"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"irelandm","email":"mark.ireland@nearform.com"},{"name":"eamonn.frisby","email":"eamonn.frisby@nearform.com"}],"homepage":"https://github.com/nearform/initium-cli","bugs":{"url":"https://github.com/nearform/initium-cli/issues"},"bin":{"initium":"scripts/npx-run.js"},"dist":{"shasum":"f9e14aaadf7501b0f692eb3fa1ec110000ba4967","tarball":"https://registry.npmjs.org/initium/-/initium-0.6.0.tgz","fileCount":5,"integrity":"sha512-t+QGp4Ywbto+3OfC2pmwXWaKcwaYy96rQKhQmBQPw32kMR5fexFvAGJ1hqcde2eiiomXrYINdHf1sI54jDuk9Q==","signatures":[{"sig":"MEUCIQDTfkjmZeL5A/kpFkuAI+EqPnsxbD1Poa0HEMIcyY/+RgIgefXBKuf/jNN7b8gWz/+d7eKdeiuImfco5I7TBQRBvik=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5639},"gitHead":"70cd5ab07598d999f8c9bf5e963c6581ce11cd40","scripts":{"test":"exit 0","postinstall":"node scripts/npm-install.js"},"_npmUser":{"name":"lucalanziani","email":"luca@lanziani.com"},"binaryName":"initium","repository":{"url":"git+https://github.com/nearform/initium-cli.git","type":"git"},"_npmVersion":"8.19.2","description":"A single static binary that can run on any CI to build your code and deploy it in a single step.","directories":{},"_nodeVersion":"18.12.1","dependencies":{"npm":"^10.1.0","tar":"^6.2.0","axios":"^1.5.0","semver":"^7.5.4","unzipper":"^0.10.14"},"_hasShrinkwrap":false,"repositoryName":"initium-cli","_npmOperationalInternal":{"tmp":"tmp/initium_0.6.0_1696326618610_0.6961544421410639","host":"s3://npm-registry-packages"}},"0.7.0":{"name":"initium","version":"0.7.0","keywords":["initium","kubernetes"],"author":{"name":"Nearform"},"license":"ISC","_id":"initium@0.7.0","maintainers":[{"name":"yuna-iwata","email":"yunac4649@gmail.com"},{"name":"manosim","email":"hello@manos.im"},{"name":"lucalanziani","email":"luca@lanziani.com"},{"name":"donal.moynihan","email":"donal.moynihan@nearform.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"eamonn.frisby","email":"eamonn.frisby@nearform.com"}],"homepage":"https://github.com/nearform/initium-cli","bugs":{"url":"https://github.com/nearform/initium-cli/issues"},"bin":{"initium":"scripts/npx-run.js"},"dist":{"shasum":"a529ca2927659f70f7e3097a03eb61517bd2924d","tarball":"https://registry.npmjs.org/initium/-/initium-0.7.0.tgz","fileCount":5,"integrity":"sha512-K6a3bhW72KP8p1gkyC6bB72IlS3eNIYIjwqrufH/OJ7RtTgZXdtGrrGVQ6wiqlDRCX7rnRuJniCNhDK5l/PeNg==","signatures":[{"sig":"MEQCIFmAuqKqwzWAKhSBxoYidGQadpZIYiGlzFLYEO7o9KvLAiBetlHu1Z+qdcMRVUt4LkVhTvUaxvND6i6on3lyaZTm2A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5639},"gitHead":"d920d8a702ba544911b24fd77ded307b5deaf724","scripts":{"test":"exit 0","postinstall":"node scripts/npm-install.js"},"_npmUser":{"name":"lucalanziani","email":"luca@lanziani.com"},"binaryName":"initium","repository":{"url":"git+https://github.com/nearform/initium-cli.git","type":"git"},"_npmVersion":"8.19.2","description":"A single static binary that can run on any CI to build your code and deploy it in a single step.","directories":{},"_nodeVersion":"19.0.0","dependencies":{"npm":"^10.1.0","tar":"^6.2.0","axios":"^1.5.0","semver":"^7.5.4","unzipper":"^0.10.14"},"_hasShrinkwrap":false,"repositoryName":"initium-cli","_npmOperationalInternal":{"tmp":"tmp/initium_0.7.0_1700126022679_0.4271323144245016","host":"s3://npm-registry-packages"}},"0.8.2":{"name":"initium","version":"0.8.2","keywords":["initium","kubernetes"],"author":{"name":"Nearform"},"license":"ISC","_id":"initium@0.8.2","maintainers":[{"name":"s-dilip","email":"justsyd224@gmail.com"},{"name":"lucalanziani","email":"luca@lanziani.com"},{"name":"donal.moynihan","email":"donal.moynihan@nearform.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"eamonn.frisby","email":"eamonn.frisby@nearform.com"}],"homepage":"https://github.com/nearform/initium-cli","bugs":{"url":"https://github.com/nearform/initium-cli/issues"},"bin":{"initium":"scripts/npx-run.js"},"dist":{"shasum":"d1fe3da7ac3b1f6752d08aa244d56b2c9f48422d","tarball":"https://registry.npmjs.org/initium/-/initium-0.8.2.tgz","fileCount":5,"integrity":"sha512-BT4C3+o+xvrYMRuOveaDAg23k1up9riT6h0xit045koZ/jRC1sugWq9KgaQ1nlTE6N5HkhPbv6ZtLPdBx5P91g==","signatures":[{"sig":"MEUCIQCtTHeZgwsu0uH7Uj2Agm1zSJ9SYy1lOr13iV1+jV64vgIgXCsJsYpc3bUzuHDvmTIQesrjDrvRq+nWu/iaZp61Jss=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5666},"gitHead":"0424e5da509a027c1f620d3572bc51ca7b023a69","scripts":{"test":"exit 0","postinstall":"node scripts/npm-install.js"},"_npmUser":{"name":"lucalanziani","email":"luca@lanziani.com"},"binaryName":"initium","repository":{"url":"git+https://github.com/nearform/initium-cli.git","type":"git"},"_npmVersion":"8.19.2","description":"A single static binary that can run on any CI to build your code and deploy it in a single step.","directories":{},"_nodeVersion":"18.12.1","dependencies":{"npm":"^10.1.0","tar":"^6.2.0","axios":"^1.5.0","semver":"^7.5.4","unzipper":"^0.10.14"},"_hasShrinkwrap":false,"repositoryName":"initium-cli","_npmOperationalInternal":{"tmp":"tmp/initium_0.8.2_1701442248727_0.3050384626212348","host":"s3://npm-registry-packages"}},"0.8.4":{"name":"initium","version":"0.8.4","keywords":["initium","kubernetes"],"author":{"name":"Nearform"},"license":"ISC","_id":"initium@0.8.4","maintainers":[{"name":"s-dilip","email":"justsyd224@gmail.com"},{"name":"lucalanziani","email":"luca@lanziani.com"},{"name":"donal.moynihan","email":"donal.moynihan@nearform.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"eamonn.frisby","email":"eamonn.frisby@nearform.com"}],"homepage":"https://github.com/nearform/initium-cli","bugs":{"url":"https://github.com/nearform/initium-cli/issues"},"bin":{"initium":"scripts/npx-run.js"},"dist":{"shasum":"d644cec5d826e52f7db638e950e5d9ecc415f61d","tarball":"https://registry.npmjs.org/initium/-/initium-0.8.4.tgz","fileCount":6,"integrity":"sha512-jo5nwiMVWcFWyZKPztACmA98eg+cubwA80aHrcLd3CgbfbW4qpaJXDe5cYXeVeSP1ZrF9snjUoxrf+Pt4reZXw==","signatures":[{"sig":"MEUCIBmuBQupXQR1jqspWzbvDXXRzAKqgBJ1tdHAMJMBqccHAiEAtKljSZOXpZEcdx9nApk56/AQEVKRSGbX0mdM+wnW3tM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/initium@0.8.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":9230},"gitHead":"fa59795423b285319156ab206af1e5715a109d6b","scripts":{"test":"exit 0","postinstall":"node scripts/npm-install.js"},"_npmUser":{"name":"lucalanziani","email":"luca@lanziani.com"},"binaryName":"initium","repository":{"url":"git+https://github.com/nearform/initium-cli.git","type":"git"},"_npmVersion":"9.8.1","description":"A single static binary that can run on any CI to build your code and deploy it in a single step.","directories":{},"_nodeVersion":"18.18.2","dependencies":{"npm":"^10.1.0","tar":"^6.2.0","axios":"^1.5.0","semver":"^7.5.4","unzipper":"^0.10.14"},"_hasShrinkwrap":false,"repositoryName":"initium-cli","_npmOperationalInternal":{"tmp":"tmp/initium_0.8.4_1701445094511_0.6626268575699821","host":"s3://npm-registry-packages"}}},"time":{"created":"2023-08-08T14:29:57.749Z","modified":"2026-06-25T17:04:29.773Z","0.0.1":"2023-08-08T14:29:57.909Z","0.3.0":"2023-09-20T20:02:21.523Z","0.5.0":"2023-09-21T13:46:19.376Z","0.6.0":"2023-10-03T09:50:18.789Z","0.7.0":"2023-11-16T09:13:42.892Z","0.8.2":"2023-12-01T14:50:48.879Z","0.8.4":"2023-12-01T15:38:14.696Z"},"bugs":{"url":"https://github.com/nearform/initium-cli/issues"},"author":{"name":"Nearform"},"license":"ISC","homepage":"https://github.com/nearform/initium-cli","keywords":["initium","kubernetes"],"repository":{"url":"git+https://github.com/nearform/initium-cli.git","type":"git"},"description":"A single static binary that can run on any CI to build your code and deploy it in a single step.","maintainers":[{"email":"simone.busoli@gmail.com","name":"simoneb"},{"email":"eamonn.frisby@nearform.com","name":"eamonn.frisby"},{"email":"donal.moynihan@nearform.com","name":"donal.moynihan"},{"email":"contato@gbdev.me","name":"gbdev13"},{"email":"steve.goode@nearform.com","name":"sociablesteve"},{"email":"ryan@loose-bits.com","name":"ryan.roemer"},{"email":"elizibin@gmail.com","name":"elizibin"},{"email":"luca@lanziani.com","name":"lucalanziani"}],"readme":"# Initium project CLI\n\nA single static binary that can run on any CI to build your code and deploy it in a single step.\n\nAll with a nice development workflow in mind like ephemeral environment for your PRs.\n\n### Running the CLI\n\nThe CLI is currently published on [NPM](https://www.npmjs.com/package/initium). You can run it using\n\n```\nnpx initium\n```\n\nThat will install the Initium CLI in your folder's `node_modules`.\n\nWe recommend you not to try installing the CLI globally if you don't use a Node.js version manager (like `nvm`), as you can run into permission errors.\n\n### Pre-requisites\n\n1. GoLang\n\n    You can install it with your prefered package manager or usign asfd with `asdf install`.\n\n2. Docker (or similar solutions)  \n\n    Here you can find a list of possible candidates:\n    - [Docker](https://docs.docker.com/engine/install/) ( cross-platform, paid solution )\n    - [Rancher Desktop](https://rancherdesktop.io/) ( cross-platform, FOSS )\n    - [lima](https://github.com/lima-vm/lima) + [nerdctl](https://github.com/containerd/nerdctl) ( macOS only )\n\n### Build the executable\n\nIn order to build the executable you simply need to run \n\n```bash\nmake build\n```\n\nYou will be able to run the executable from \n\n```bash\n./bin/initium\n```\n\n### Setup local environment\n\nThese are the environment variables that you have to set in order to use the onmain, onbranch commands from your local environment\n\n```\nexport INITIUM_REGISTRY_PASSWORD=\"<github_pat>\"\nexport INITIUM_REGISTRY_USER=\"<github_user>\"\n```\n\nand\n\n```\nexport INITIUM_CLUSTER_ENDPOINT=$(kubectl config view -o jsonpath='{.clusters[?(@.name == \"kind-initium-platform\")].cluster.server}')\nexport INITIUM_CLUSTER_TOKEN=$(kubectl get secrets initium-cli-token -o jsonpath=\"{.data.token}\" | base64 -d)\nexport INITIUM_CLUSTER_CA_CERT=$(kubectl get secrets initium-cli-token -o jsonpath=\"{.data.ca\\.crt}\" | base64 -d)\n```\n\n### Supported Application Runtimes\n\nFollowing we have a matrix related to which application runtime our CLI is currently compatible with. For each one of them a Dockerfile template is being used in order to provide an easy way to build and deploy the application to a Kubernetes cluster. \n\n| Application Runtimes | Supported          |\n|----------------------|:------------------:|\n| [Nodejs](https://github.com/nearform/initium-cli/blob/main/assets/docker/Dockerfile.node.tmpl) | :white_check_mark: |\n| [GoLang](https://github.com/nearform/initium-cli/blob/main/assets/docker/Dockerfile.go.tmpl) | :white_check_mark: |\n| Python               | Coming Soon        |\n| More will be added...|                    |\n\n\n### CI Integrations\n\nThe matrix below gives an overview of the integration status of our CLI with CI platforms. CLI is able to create automatically `build` and `deploy` pipelines in order to enable CICD process for the application it is used with. Related template files are being used to cover different process steps. \n\n| CI Systems           | Supported          |\n|----------------------|:------------------:|\n| [GitHub Actions](https://github.com/nearform/initium-cli/tree/main/assets/github) | :white_check_mark: |\n| Gitlab CI            | Coming Soon        |\n| Azure Devops         | Coming Soon        |\n| More will be added...|                    |\n\n\nEncrypt your secret with:\n\n```\n./initium secrets encrypt --publicKey age1zmh77nlvddsz55q5l67d4ufwewvyhentlku9z90t969szd2lnghslnlese --secret <your secret>\n```\n\nor if it's not a string\n\n```\n./initium secrets encrypt --publicKey age1zmh77nlvddsz55q5l67d4ufwewvyhentlku9z90t969szd2lnghslnlese --base64secret <your secret in base64>\n```\n","readmeFilename":"README.md"}