
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
**Scaflo** is a flexible CLI tool for scaffolding project files from structured JSON files, supporting both local and remote JSON sources. It simplifies setting up project files, managing templates, and automating file creation with customizable content.
Scaflo is a flexible CLI tool for scaffolding project files from structured JSON files, supporting both local and remote JSON sources. It simplifies setting up project files, managing templates, and automating file creation with customizable content.
%SRC%, %COMPONENTS%, and user prompts <-ask->.npm install -g scaflo
Direct use
scaflo <jsonPath>
without global installation
pnpm dlx scaflo@latest <jsonPath>
<jsonPath> - URL or local path to the JSON file defining your files and templates.| Option | Short | Description |
|---|---|---|
--dir | -d | Set working directory before processing files |
--force | -f | Force overwrite files without prompt |
--extend-path | -e | Extend file paths from a base directory |
Example:
scaflo https://example.com/template.json --dir my-project --extend-path src/components
The JSON file should follow this schema:
{
"files": [
{
"name": "example.txt",
"content": "https://example.com/example.txt",
"method": "w"
}
],
"groups": {
"base": "components",
"files": [
{
"name": "Button.tsx",
"content": "./templates/Button.tsx"
}
]
},
"dependencies": [
"axios",
"https://example.com/another-template.json"
]
}
"w": Write (default)."a": Append.You can use special placeholders in file paths:
| Placeholder | Description |
|---|---|
%SRC% | Replaced with src directory if it exists |
%COMPONENTS% | Points to src/components |
<-ask-> or <-ask|withDefaultName-> | in file or folder names, prompting the user to enter names dynamically. |
Example:
{
"files": [
{
"name": "<-ask->",
"content": "https://example.com/example.txt",
},
{
"name": "<-ask | defaultName.ts->",
"content": "https://example.com/example.txt",
},
{
"name": "<-ask|components->/button.tsx",
"content": "https://example.com/example.txt",
},
{
"name": "%components%/<-ask|button->.tsx",
"content": "https://example.com/example.txt",
},
],
}
set Config Value
scaflo set githubToken ghp_abcdef123456get Config Value
✅ valid properties
// key: value-type
{ githubToken: string }
scaflo https://raw.githubusercontent.com/your-repo/template.json -d my-project
template.json, processes the files inside, and places them in my-project.<-ask->.To access private GitHub files (e.g., raw URLs from private repos), set your GitHub token:
scaflo set githubToken <your_personal_access_token>
<-ask-> in file content.MIT License.
Contributions are welcome! Feel free to open issues or pull requests on GitHub.
FAQs
**Scaflo** is a flexible CLI tool for scaffolding project files from structured JSON files, supporting both local and remote JSON sources. It simplifies setting up project files, managing templates, and automating file creation with customizable content.
The npm package scaflo receives a total of 16 weekly downloads. As such, scaflo popularity was classified as not popular.
We found that scaflo 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.