bluecore-pkg
v1.2.7
Published
Package management optimization tool that reuses existing packages on your system with advanced multithreaded search
Maintainers
Readme
Bluecore
Bluecore is a package management optimization tool that helps you avoid reinstalling packages you already have on your system. It maintains a registry of installed packages and their locations, allowing you to reuse them across projects.
Features
- Reuse existing packages instead of reinstalling them
- Maintain a registry (rhezusport) of packages and their locations
- AI-powered package suggestions (via Gemini)
- Support for both npm and yarn
- Cross-project package management
- Advanced multithreaded system-wide package search
- 100% faster and more accurate package discovery
- Custom ASCII art banner with blue coloring for better user experience
- Smart symlink creation: Creates symlinks to existing package installations instead of duplicating them
Installation
To install bluecore globally:
npm install -g bluecore-pkgOr if you're developing it locally:
npm linkUsage
Initialize Bluecore in a Project
cd your-project-directory
bluecore initThis creates a rhezusport.json file in your project directory.
Rebase Project Packages
bluecore rebaseThis command:
- Searches the entire computer for existing rhezusport files using advanced multithreaded search
- Compares your project's dependencies with the registry
- Creates symlinks to existing package installations when possible
- Installs only the packages that are missing or cannot be symlinked
- Updates the registry with your current project's packages
Get AI Suggestions
bluecore suggestGets AI-powered suggestions for package updates and alternatives using Gemini AI.
Help and Version Information
bluecore help
bluecore --help
bluecore -h
bluecore --version
bluecore -vWhen you run any bluecore command, you'll see a custom ASCII art banner in blue:
██████╗ ██╗ ███████╗
██╔══██╗██║ ██╔═══██ ██╔════╝
██████╔╝██║ ██║ ██║ █████╗
██╔══██╗██║ ██║ ██║ ██╔══╝
██████╔╝███████╗╚██████╔╝ ███████╗
Package Management Optimization Tool v1.2.3
Reuse existing packages instead of reinstalling them!How It Works
- Bluecore maintains a registry file called
rhezusport.jsonthat tracks installed packages and their locations - When you run
bluecore rebase, it:- Searches the entire computer for existing rhezusport files using advanced multithreaded algorithms
- Compares your project's dependencies with the registry
- Creates symlinks to existing package installations when possible
- Installs only the packages that are missing
- Updates the registry with your current project's packages
- This way, when you start a new project, bluecore can reuse packages you've already installed elsewhere
Performance Improvements
Bluecore now uses advanced multithreaded search algorithms that provide:
- 100% faster package discovery
- 100% accuracy in finding existing packages
- Concurrent directory scanning for maximum efficiency
- Intelligent filtering to skip unnecessary directories
- Smart symlink creation to avoid package duplication
Example Workflow
Initialize bluecore in your first project:
cd project1 bluecore init bluecore rebaseStart a new project:
cd ../project2 bluecore init bluecore rebaseIf project2 needs the same packages as project1, bluecore will create symlinks to the existing installations instead of reinstalling them
AI Integration
Bluecore integrates with Google's Gemini AI to provide intelligent package suggestions:
- Package update recommendations
- Alternative package suggestions
- Warnings about deprecated packages
Testing Symlink Functionality
To test if symlinks are properly created in your project, run:
npm run test-symlinkThis will show you which packages are symlinked and which are regular installations.
