
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.
magicslides
Advanced tools
Command-line interface for MagicSlides - the ai ppt maker that helps you create stunning presentations in seconds
Enable AI coding assistants (Claude Code, Cursor, Codex, etc.) to create presentations:
npx skills add IndianAppGuy/magicslides-cli
Once installed, your AI agent can automatically generate presentations from topics or URLs.
npm install -g magicslides
# or
yarn global add magicslides
npm install magicslides
# or
yarn add magicslides
magicslides login
You'll be prompted to enter your API key. Alternatively, provide it directly:
magicslides login --key sk_your_api_key_here
magicslides create --topic "Introduction to Quantum Computing" --slides 10
magicslides --help # Show all commands
magicslides login # Configure API key
magicslides create # Create from topic
magicslides create-url # Create from URL
Authenticate with your MagicSlides API key:
# Interactive prompt
magicslides login
# With API key flag
magicslides login --key sk_your_api_key_here
Options:
-k, --key <apiKey> - Provide API key directlyCreate a presentation from a topic:
# Basic usage
magicslides create --topic "Climate Change Solutions"
# With custom options
magicslides create --topic "AI in Healthcare" --slides 15 --language es
# Interactive mode
magicslides create --interactive
Options:
-t, --topic <topic> - Required (unless interactive): Presentation topic-s, --slides <number> - Number of slides (1-50, default: 5)-l, --language <code> - Language code (default: en)-i, --interactive - Enable interactive mode with promptsExamples:
# Create a 5-slide presentation in English
magicslides create --topic "Getting Started with Docker"
# Create a 20-slide presentation in Spanish
magicslides create --topic "Inteligencia Artificial" --slides 20 --language es
# Create in French with 8 slides
magicslides create -t "Introduction à Python" -s 8 -l fr
# Interactive mode (prompts for all options)
magicslides create -i
Create a presentation from a web article or blog post:
# Basic usage
magicslides create-url --url "https://techcrunch.com/ai-article"
# With custom options
magicslides create-url --url "https://example.com/blog" --slides 12 --language de
# Interactive mode
magicslides create-url --interactive
Options:
-u, --url <url> - Required (unless interactive): URL to create presentation from-s, --slides <number> - Number of slides (1-50, default: 5)-l, --language <code> - Language code (default: en)-i, --interactive - Enable interactive mode with promptsExamples:
# Create from TechCrunch article
magicslides create-url --url "https://techcrunch.com/2024/01/15/ai-news"
# Create from blog with 10 slides
magicslides create-url -u "https://medium.com/@author/article" -s 10
# Interactive mode
magicslides create-url -i
The CLI supports 40+ languages using ISO 639-1 codes:
| Language | Code | Language | Code | Language | Code |
|---|---|---|---|---|---|
| English | en | Spanish | es | French | fr |
| German | de | Italian | it | Portuguese | pt |
| Russian | ru | Japanese | ja | Korean | ko |
| Chinese | zh | Arabic | ar | Hindi | hi |
| Turkish | tr | Polish | pl | Dutch | nl |
| Swedish | sv | Finnish | fi | Danish | da |
The CLI stores your API key securely in:
~/.config/configstore/magicslides-cli.json%APPDATA%/configstore/magicslides-cli.jsonTo reset your configuration:
# Remove the config file manually
rm ~/.config/configstore/magicslides-cli.json
# Then login again
magicslides login
The CLI is designed to work seamlessly with AI coding assistants like Claude, ChatGPT, and GitHub Copilot.
Example prompt for Claude:
Create a presentation about "Machine Learning Basics" with 10 slides using MagicSlides CLI
Example for automation:
#!/bin/bash
# Create multiple presentations
topics=("AI Basics" "Deep Learning" "Neural Networks")
for topic in "${topics[@]}"; do
magicslides create --topic "$topic" --slides 8
done
Check your usage at Dashboard
Problem: "Authentication required" error
Solution:
magicslides loginProblem: "Invalid API key" error
Solution:
sk_magicslides login again with the new keyProblem: "No response from server" error
Solution:
Problem: "Rate limit exceeded" error
Solution:
# From a list of topics
for topic in "AI" "ML" "DL"; do
magicslides create --topic "$topic" --slides 5
done
# From a file containing URLs
while read url; do
magicslides create-url --url "$url" --slides 8
done < urls.txt
const { exec } = require('child_process')
exec('magicslides create --topic "Node.js Basics" --slides 10', (error, stdout) => {
if (error) {
console.error(`Error: ${error.message}`)
return
}
console.log(stdout)
})
# Clone the repository
git clone https://github.com/magicslides/magicslides-cli.git
cd magicslides-cli
# Install dependencies
yarn install
# Build
yarn build
# Link locally for testing
npm link
magicslides-cli/
├── src/
│ ├── index.ts # CLI entry point
│ ├── commands/ # Command implementations
│ │ ├── login.ts
│ │ ├── create.ts
│ │ └── create-url.ts
│ ├── lib/ # Core functionality
│ │ ├── api-client.ts
│ │ ├── config.ts
│ │ ├── auth.ts
│ │ └── utils.ts
│ ├── ui/ # UI utilities
│ │ ├── spinner.ts
│ │ ├── format.ts
│ │ └── prompts.ts
│ └── types/ # TypeScript types
│ └── index.ts
├── dist/ # Compiled output
├── package.json
├── tsconfig.json
└── README.md
Contributions are welcome! Please feel free to submit a Pull Request.
git checkout -b feature/amazing-feature)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)MIT © MagicSlides
Made with ❤️ by the MagicSlides team
FAQs
Create stunning AI-powered presentations from your terminal
The npm package magicslides receives a total of 1 weekly downloads. As such, magicslides popularity was classified as not popular.
We found that magicslides 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
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.