Skip to main content
Glama
convert-icon.js914 B
#!/usr/bin/env node /** * Convert SVG icon to PNG * This is a placeholder script - in production, you would use a tool like: * - sharp with sharp-svg * - puppeteer for browser-based conversion * - svg2png npm package * * For now, this creates a simple placeholder PNG */ console.log("Icon conversion script"); console.log("To convert the SVG to PNG, you can use one of these methods:"); console.log(""); console.log("1. Online tool: https://cloudconvert.com/svg-to-png"); console.log("2. Command line with ImageMagick:"); console.log( " convert -density 300 -background none assets/icon.svg -resize 128x128 assets/icon.png", ); console.log("3. Command line with rsvg-convert:"); console.log(" rsvg-convert -w 128 -h 128 assets/icon.svg -o assets/icon.png"); console.log(""); console.log("The SVG icon has been created at assets/icon.svg"); console.log("Please convert it to PNG manually for now.");

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AbdallahAHO/lokalise-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server