
Security News
Software Engineering Daily Podcast: Feross on AI, Open Source, and Supply Chain Risk
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.
Init is a new tool to quickly scaffold new projects. You can spot init projects by their .init file in the root of the GitHub project. It uses Nunjucks, a powerful templating engine powered by Jinja2. You can use any of the methods documented on the Nunjucks documentation.
We at Kreativgebiet saw Pollinate by EverySquare the other day. Since we liked the approach but didn't want to have a json file for every project we wanted to create something that prompts the user in real-time about the data it should insert.
Disclaimer: Code heavily inspired by Pollinate
To use the init command globally install it using the -g argument of the npm install command like this:
npm install -g init-cli
Init uses Nunjucks to insert context data into the templates it grabs from GitHub (and soon other git sources and local folders). Use Nunjucks templating language (powered by Jinja2) to implement dynamic project scaffolds.
It's simple to use Init for scaffolding a new codebase for you next project. Simple search for a init template on GitHub and use the username/reponame to scaffold the project.
Let's assume the username is kreativgebiet and the projectname is init-example. To scaffold a new project from this repository, simply use the following command:
init kreativgebiet/init-example
Since this feature isn't implemented, yet, you can initialize a new git repository with the following command and start developing with git.
git init
Basically just replace kreativgebiet with the username and scaffolder-example with the repository name.
In the future some options will be added to the project.
--no-init – initializing a new git project--no-git – don't initialize anything on the folder--hub repo-name – create a new public repository on githubgit init on project scaffoldingThis project is owned by Kreativgebiet and licensed under MIT license
FAQs
Initialize with simple git repositories
The npm package init-cli receives a total of 1 weekly downloads. As such, init-cli popularity was classified as not popular.
We found that init-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.

Security News
GitHub has revoked npm classic tokens for publishing; maintainers must migrate, but OpenJS warns OIDC trusted publishing still has risky gaps for critical projects.

Security News
Rust’s crates.io team is advancing an RFC to add a Security tab that surfaces RustSec vulnerability and unsoundness advisories directly on crate pages.