
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
terabox-cli
Advanced tools
TeraBox Frontend Project Scaffolding Tool - Unified and Standardized Development
TeraBox Frontend Project Scaffolding Tool - Unified and Standardized Development
# Global installation
npm install -g terabox-cli
# Or using yarn
yarn global add terabox-cli
IMPORTANT: The CLI downloads project templates from a private Git repository. You MUST obtain the access token from the administrator and configure the repository URL before using it, otherwise the tool will not work.
Contact the administrator to get the access token for the private template repository.
# Set environment variable (REQUIRED - tool will not work without this)
export TERABOX_TEMPLATE_REPO="direct:https://ADMIN_TOKEN@github.com/17713679014/terabox-vue3-template.git"
# Or add to ~/.zshrc or ~/.bashrc for permanent use
echo 'export TERABOX_TEMPLATE_REPO="direct:https://ADMIN_TOKEN@github.com/17713679014/terabox-vue3-template.git"' >> ~/.zshrc
# Reload shell configuration
source ~/.zshrc # or source ~/.bashrc
⚠️ Note: This method is not recommended as it requires modifying the installed package files.
Edit bin/init.js and update the PRIVATE_TEMPLATE_REPO constant:
const PRIVATE_TEMPLATE_REPO = 'direct:https://ADMIN_TOKEN@github.com/17713679014/terabox-vue3-template.git'
direct:https://ADMIN_TOKEN@github.com/17713679014/terabox-vue3-template.gitdirect:https://username:password@github.com/username/repo.gitdirect:https://TOKEN@gitlab.com/username/repo.git#branch-name at the end, e.g., direct:https://TOKEN@github.com/username/repo.git#mainContact the administrator to obtain the access token for the private template repository.
The administrator will provide you with:
Before using the CLI, make sure you have:
npm install -g terabox-cliexport TERABOX_TEMPLATE_REPO="direct:https://ADMIN_TOKEN@github.com/17713679014/terabox-vue3-template.git"terabox-cli create <project-name>
*****web - TeraBox Web Vue3 + Vite Project Templatewap - TeraBox Mobile Vue3 + Vite Project Template# Enter project directory
cd <project-name>
# Install dependencies
npm install
# or
yarn
# Start development server
npm run dev
# or
yarn dev
# Code linting
npm run lint
# or
yarn lint
# Code formatting
npm run lint:fix
# or
yarn lint:fix
web)wap)postcss-px-to-viewport: Auto px to vw conversionpostcss-rtl: Support right-to-left layoutautoprefixer: Auto CSS prefix additionWhen creating projects, CLI automatically updates the following configurations:
package.json: Project name, descriptionREADME.md: Project descriptionvite.config.mts: Build path, project namemock/translationHmrDataNoCDNLinks.json: Translation module keysvite.config/hmrConfig.ts: Hot reload configurationsrc/lang/**/*.ts: Translation identifierssrc/base/utils/analyze.ts: Data tracking prefixes<project-name>/
├── src/ # Source code
│ ├── base/ # Base utilities
│ │ └── utils/ # Utility functions
│ │ └── analyze.ts # Analytics tracking
│ ├── lang/ # Internationalization files
│ │ ├── zh/ # Chinese
│ │ ├── en/ # English
│ │ └── i18n.ts # i18n configuration
│ └── ... # Other source code
├── mock/ # Mock data
│ └── translationHmrDataNoCDNLinks.json
├── vite.config/ # Vite configuration
│ └── hmrConfig.ts # Hot reload configuration
├── package.json # Project configuration
├── vite.config.mts # Vite main configuration
├── postcss.config.js # PostCSS configuration
├── .eslintrc.js # ESLint configuration
├── .husky/ # Husky Git hooks
│ ├── pre-commit # Pre-commit check
│ └── commit-msg # Commit message check
└── README.md # Project documentation
# Clone project
git clone <repository-url>
cd terabox-cli
# Install dependencies
npm install
# Local testing
node bin/cli.js create test-project
terabox-cli/
├── bin/ # Executable files
│ ├── cli.js # Main entry
│ ├── create.js # Create command
│ └── init.js # Initialization logic
├── terabox-vue3-template/ # Project template
├── package.json # Package configuration
└── README.md # Documentation
The project integrates a complete code standards toolchain:
# Manual code checking
npm run lint
# Auto-fix code issues
npm run lint:fix
# Auto-run check when committing
git commit -m "feat: add new feature"
The project integrates npm auto-update checking functionality:
# Check for updates
npm outdated -g terabox-cli
# Update to latest version
npm update -g terabox-cli
# Or reinstall latest version
npm install -g terabox-cli@latest
When a new version is available, CLI will show a notification like:
⚠️ New version v1.3.0 found, current version v1.2.0
📦 Run the following command to update:
npm update -g terabox-cli
Welcome to submit Issues and Pull Requests!
ISC License
If this tool helps you, please give it a ⭐️!
FAQs
TeraBox Frontend Project Scaffolding Tool - Unified and Standardized Development
The npm package terabox-cli receives a total of 18 weekly downloads. As such, terabox-cli popularity was classified as not popular.
We found that terabox-cli demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.