npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

create-magic-portfolio

v1.0.1

Published

✨ Professional CLI tool for Magic Portfolio installation

Readme

Magic Portfolio

A professional portfolio generator built with Next.js and Once UI components. Create stunning portfolio websites with minimal effort.

Magic Portfolio

Quick Start

# Create a new portfolio project
npx create-magic-portfolio@latest

Features

Core Features

  • 🎨 Modern and professional design
  • ⚡ Built with Next.js for optimal performance
  • 🎯 SEO optimized
  • 📱 Fully responsive
  • 🎭 Easy customization
  • 📝 Markdown support for content
  • 🔍 Dark/Light mode
  • 🌐 Multi-language support
  • 📊 Analytics integration
  • 🔒 Security best practices

Templates

  • Minimal (Recommended): Clean and minimal design with focus on content
  • Creative: Bold and creative design with animations
  • Professional: Corporate-style portfolio with advanced features

Feature Selection

Choose from a variety of features during setup:

  • 🌓 Dark Mode - Automatic theme switching with system preference
  • 📝 Blog Section - Create and manage blog posts
  • 🎯 Project Showcase - Display your work with filtering
  • 📬 Contact Form - Built-in contact form with API endpoint
  • 📊 Analytics - Integration with popular analytics platforms
  • 🔍 SEO Optimization - Meta tags, OpenGraph, and Twitter Cards
  • 🌐 Multi-language Support - Multiple language support with i18n
  • ✨ Custom Animations - Smooth page transitions and effects

Installation

Using CLI (Recommended)

# Using npx
npx create-magic-portfolio@latest

# Or install globally
npm install -g create-magic-portfolio
create-magic-portfolio

Manual Installation

# Clone the repository
git clone https://github.com/once-ui-system/magic-portfolio.git my-portfolio

# Navigate to project directory
cd my-portfolio

# Install dependencies
npm install

# Start development server
npm run dev

Project Structure

my-portfolio/
├── src/
│   ├── app/
│   │   ├── resources/
│   │   │   ├── config/     # Configuration files
│   │   │   ├── content/    # Content files (Markdown)
│   │   │   └── i18n/       # Translation files
│   │   ├── api/           # API routes
│   │   ├── providers/     # React providers
│   │   └── components/    # React components
│   └── styles/           # Global styles
├── public/               # Static assets
└── package.json

Configuration

Basic Configuration

Edit src/app/resources/config/site.js to customize your portfolio:

module.exports = {
  template: 'minimal',
  features: ['darkMode', 'projects', 'contact'],
  featureConfigs: {
    darkMode: {
      enabled: true,
      defaultTheme: 'light'
    },
    // ... other feature configurations
  }
}

Feature Configuration

Each feature can be configured in site.js:

  • Dark Mode: Theme preferences and storage
  • Blog: Posts per page and categories
  • Projects: Layout and filtering options
  • Contact: Form fields and endpoint
  • Analytics: Provider and tracking ID
  • SEO: Meta tags and social cards
  • i18n: Languages and fallbacks
  • Animations: Types and durations

Development

# Start development server
npm run dev

# Build for production
npm run build

# Start production server
npm start

# Run tests
npm test

Deployment

Magic Portfolio can be deployed to any platform that supports Next.js:

  • Vercel (Recommended)
  • Netlify
  • GitHub Pages
  • AWS
  • DigitalOcean

Requirements

  • Node.js v18.17.0 or higher
  • npm or yarn package manager
  • Git

Contributing

Contributions are welcome! Please read our Contributing Guide for details.

License

MIT