
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@kahwati/random-icon-generator
Advanced tools
A CLI tool to generate random robot avatar icons in various sizes, perfect for user avatars and identicons
Generate unique, robot-style avatars for your applications. Perfect for user profiles, Chrome Extensions, and anywhere you need distinctive, programmatically-generated icons.
🚀 CLI Guide • 📖 API Reference • 🎨 Examples • 🤝 Contributing
# Install latest version globally
sudo npm install -g @kahwati/random-icon-generator@latest
# Verify installation
random-icon-generator --version
# Update to latest version
sudo npm update -g @kahwati/random-icon-generator
# Uninstall
sudo npm uninstall -g @kahwati/random-icon-generator
# Generate icons in current directory
random-icon-generator generateIcons
# Generate icons in specific directory
random-icon-generator generateIcons ./my-icons
# Generate icons for Chrome Extension
random-icon-generator generateIcons ./extension/icons
# Create extension icons directory
mkdir -p my-extension/icons
# Generate full icon set
random-icon-generator generateIcons my-extension/icons
# Create avatars directory
mkdir user-avatars
# Generate unique avatar set
random-icon-generator generateIcons user-avatars
# Generate icons for different projects
random-icon-generator generateIcons project1/icons
random-icon-generator generateIcons project2/icons
After running the generator, you'll get the following files:
output-directory/
├── icon16.png # Chrome Web Store
├── icon19.png # Extension toolbar (standard)
├── icon32.png # Windows compatibility
├── icon38.png # Extension toolbar (retina)
├── icon48.png # Extensions page
├── icon96.png # High-DPI displays
├── icon128.png # Store & installation
├── icon256.png # Store detailed view
└── icon512.png # Promotional tiles
# If you get permission errors, try:
sudo random-icon-generator generateIcons
# Or fix permissions:
sudo chown -R $USER:$USER ~/.npm
# Ensure directory exists
mkdir -p path/to/icons
random-icon-generator generateIcons path/to/icons
# Check installed version
random-icon-generator --version
# Check for updates
npm outdated -g @kahwati/random-icon-generator
For programmatic usage, see our API Documentation.
# 1. Create a new extension project
mkdir my-chrome-extension
cd my-chrome-extension
# 2. Generate icon set
random-icon-generator generateIcons ./icons
# 3. Use in manifest.json
{
"name": "My Extension",
"icons": {
"16": "icons/icon16.png",
"48": "icons/icon48.png",
"128": "icons/icon128.png"
},
"action": {
"default_icon": {
"19": "icons/icon19.png",
"38": "icons/icon38.png"
}
}
}
# 1. Set up avatars directory
mkdir -p public/avatars
# 2. Generate multiple unique sets
for i in {1..5}; do
random-icon-generator generateIcons public/avatars/user$i
done
# Create directories for each size
mkdir -p icons/{small,medium,large}
# Generate different sets
random-icon-generator generateIcons icons/small # For small icons (16-48px)
random-icon-generator generateIcons icons/medium # For medium icons (96-128px)
random-icon-generator generateIcons icons/large # For large icons (256-512px)
# 1. Clone the repository
git clone https://github.com/Devehab/random-icon-generator.git
cd random-icon-generator
# 2. Install dependencies
npm install
# 3. Run tests
npm test
# 4. Try generating icons
node cli.js generateIcons test-icons
# Run linting
npm run lint
# Run tests with coverage
npm run test:coverage
# Build documentation
npm run docs
# Create a new release
npm version patch # or minor/major
npm publish
MIT License with Attribution - See LICENSE for details.
FAQs
A CLI tool to generate random robot avatar icons in various sizes, perfect for user avatars and identicons
The npm package @kahwati/random-icon-generator receives a total of 5 weekly downloads. As such, @kahwati/random-icon-generator popularity was classified as not popular.
We found that @kahwati/random-icon-generator 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.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.