Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
@log4brains/web
Advanced tools
Log4brains architecture knowledge base web UI and static site generator
This package provides the web UI of the Log4brains architecture knowledge base and its static site generation capabilities.
You should use npx init-log4brains
as described in the Log4brains README, which will install all the required dependencies in your project, including this one, and set up the right scripts in your package.json
.
You can also install this package manually via npm or yarn:
npm install --save-dev @log4brains/web
or
yarn add --dev @log4brains/web
And add these scripts to your package.json
:
{
[...]
"scripts": {
[...]
"log4brains-preview": "log4brains-web preview",
"log4brains-build": "log4brains-web build",
}
}
You should have a look at the main Log4brains README to get more context.
This command will start the web UI in preview mode locally on http://localhost:4004/.
You can define another port with the -p
option.
In this mode, the Hot Reload feature is enabled: any changes you make to the markdown files are applied live in the UI.
npm run log4brains-preview
or
yarn log4brains-preview
This command should be used in your CI/CD pipeline. It creates a static version of your knowledge base, ready to be deployed on a static website hosting service like GitHub or GitLab pages.
npm run log4brains-build
or
yarn log4brains-build
The default output directory is .log4brains/out
. You can change it with the -o
option.
FAQs
Log4brains architecture knowledge base web UI and static site generator
The npm package @log4brains/web receives a total of 2,298 weekly downloads. As such, @log4brains/web popularity was classified as popular.
We found that @log4brains/web demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.