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 🙏

© 2026 – Pkg Stats / Ryan Hefner

create-anta-app

v1.0.2

Published

A CLI tool to create Anta apps from the Next.js starter repository

Downloads

8

Readme

create-anta-app

A CLI tool to quickly create Anta apps from your Next.js starter repository with customizable branding and configuration.

Features

  • 🚀 Quick Setup: Clone your Next.js starter repository in seconds
  • 🎨 Custom Branding: Interactive prompts for project name, tagline, and brand colors
  • ⚙️ Auto Configuration: Automatically updates config.js with your project details
  • 📦 Dependency Management: Installs dependencies automatically
  • 🌐 Dev Server: Starts development server immediately after setup

Installation

Global Installation

npm install -g create-anta-app

Local Development

# Clone this repository
git clone <your-repo-url>
cd anta-cli

# Install dependencies
npm install

# Link globally for testing
npm link

Usage

Basic Usage

create-anta-app

With Project Name

create-anta-app my-awesome-app

With Custom Repository

create-anta-app my-app --repo https://github.com/yourusername/your-nextjs-starter.git

Skip Installation

create-anta-app my-app --skip-install

Skip Development Server

create-anta-app my-app --skip-dev

Options

| Option | Description | Default | |--------|-------------|---------| | -r, --repo <url> | GitHub repository URL | https://github.com/yourusername/your-nextjs-starter.git | | --skip-install | Skip dependency installation | false | | --skip-dev | Skip starting development server | false | | -h, --help | Display help information | | | -V, --version | Display version number | |

Interactive Prompts

The CLI will ask you for the following information:

  1. Project Name - Name of your project directory
  2. Project Title - Display name for your application
  3. Tagline - Short description of your project
  4. Primary Color - Main brand color (hex code)
  5. Secondary Color - Secondary brand color (hex code)

Configuration

The tool automatically updates the config.js file in your cloned repository with the provided information. If the file doesn't exist, it creates one with the following structure:

module.exports = {
  // Site Information
  siteName: 'Your Project Title',
  siteDescription: 'Your Project Tagline',
  siteUrl: 'https://example.com',
  
  // Brand Colors
  primaryColor: '#3B82F6',
  secondaryColor: '#1E40AF',
  
  // Social Media
  social: {
    twitter: '@example',
    github: 'https://github.com/example',
    linkedin: 'https://linkedin.com/in/example'
  },
  
  // SEO
  seo: {
    title: 'Your Project Title',
    description: 'Your Project Tagline',
    keywords: ['nextjs', 'react', 'tailwindcss']
  }
};

Prerequisites

  • Node.js (version 14 or higher)
  • npm or yarn
  • Git

Development

Project Structure

create-anta-app/
├── bin/
│   └── create-anta-app.js    # CLI entry point
├── src/
│   └── index.js              # Main application logic
├── package.json              # Package configuration
└── README.md                 # This file

Dependencies

  • commander - CLI framework
  • inquirer - Interactive command line prompts
  • simple-git - Git operations
  • chalk - Terminal styling
  • ora - Elegant terminal spinners

Building and Testing

# Install dependencies
npm install

# Test the CLI locally
npm link
create-anta-app test-app

# Unlink when done testing
npm unlink -g create-anta-app

Troubleshooting

Common Issues

  1. Repository not found: Make sure the repository URL is correct and accessible
  2. Permission denied: Ensure you have write permissions in the target directory
  3. Dependencies installation failed: Check your internet connection and npm configuration
  4. Dev server won't start: Verify that the cloned repository has a valid package.json with a dev script

Getting Help

If you encounter any issues:

  1. Check that all prerequisites are installed
  2. Verify your repository URL is correct
  3. Ensure you have proper permissions in the target directory
  4. Check the console output for specific error messages

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Changelog

Version 1.0.0

  • Initial release
  • Basic repository cloning functionality
  • Interactive project configuration
  • Automatic dependency installation
  • Development server startup