
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.
A CLI tool written in TypeScript to display directory structure and file contents, respecting .gitignore rules.
A CLI tool written in TypeScript that displays directory structures and file contents, fully respecting
.gitignorerules.
Install globally via npm:
npm install -g treesrc
or use it temporarily without installing:
npx treesrc <directory>
Simply run treesrc followed by the target directory:
treesrc ./my-project
You can also specify additional ignore patterns:
treesrc ./my-project -i '*.log' '*.tmp'
.gitignore rulesUsage: treesrc <directory> [options]
Arguments:
directory Target directory
Options:
-i, --ignore <patterns...> Additional ignore patterns
-V, --version output the version number
-h, --help display help for command
Clone the repository and install dependencies:
git clone https://github.com/yourusername/treesrc.git
cd treesrc
npm install
npm run build
npm link
npm start -- <directory> [options]
treesrc ./my-project -i '*.log' '*.tmp'Added binary file detection
Files are now checked for binary content by scanning the first bytes. If binary data is detected, the file content display is skipped with a message: "Binary file not displayed."
Updated documentation
README updated to reflect changes regarding handling of binary files.
.git to default ignore patternsMade with ❤️ by O6lvl4.
FAQs
A CLI tool written in TypeScript to display directory structure and file contents, respecting .gitignore rules.
We found that treesrc demonstrated a not healthy version release cadence and project activity because the last version was released 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.

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.