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-computelabs-app

v1.1.1

Published

Create modern web applications with Compute Labs - featuring Web2, AI, and Web3 templates

Readme

create-computelabs-app

🚀 Create modern web applications with Compute Labs in seconds. Choose from four specialized templates: Standard Web2, AI-Structured, Web3, or the powerful AI + Web3 combined template.

npm version License Node Version PRs Welcome

CLI Prompt Example

Features

Four Specialized Templates

  • Standard Web2: Next.js with theming, i18n, and Redux
  • AI-Structured: Multi-provider AI integration (OpenAI, Anthropic, Gemini, Ollama)
  • Web3: Solana blockchain with wallet connectivity and DeFi components
  • AI + Web3 Combined: Full-stack powerhouse with both AI and blockchain features

🎨 Built-in Features

  • Compute Labs branding and design system
  • Light/dark mode with next-themes
  • Internationalization (8 languages)
  • TypeScript for type safety
  • Tailwind CSS for styling
  • Redux Toolkit for state management
  • ESLint & Prettier configured

Quick Start

Using npx (recommended)

npx create-computelabs-app my-app
cd my-app
npm install
npm run dev

Using npm

npm create computelabs-app@latest my-app
cd my-app
npm install
npm run dev

Using yarn

yarn create computelabs-app my-app
cd my-app
yarn
yarn dev

The CLI will guide you through selecting and configuring your template.

Template Options

🌐 Standard Web2

Perfect for traditional web applications with modern features:

  • Next.js 14 with App Router
  • Redux Toolkit for state management
  • Internationalization ready (8 languages)
  • Theme switching (light/dark mode)
  • Responsive design with Tailwind CSS

🤖 AI-Structured

Build AI-powered applications with multiple LLM providers:

  • Providers: OpenAI, Anthropic, Google Gemini, Ollama (local)
  • Features: Chat interface, streaming responses, cost tracking
  • Components: Pre-built chat UI, model selector, message handling
  • API Routes: Ready-to-use endpoints for chat and completions
  • Demo Page: Interactive AI playground at /ai-demo

🔗 Web3

Create blockchain applications on Solana:

  • Wallet Support: Phantom, Backpack, OKX
  • DeFi Components: Token swap interface with slippage control
  • Utilities: Transaction helpers, token operations, RPC management
  • Networks: Mainnet, Testnet, Devnet support
  • Demo Page: Token swap interface at /swap

🚀 AI + Web3 Combined

The ultimate full-stack template combining AI and blockchain:

  • All AI Features: Multi-provider LLMs, streaming chat, API endpoints
  • All Web3 Features: Solana integration, wallet support, DeFi components
  • Unified Interface: Seamless integration of AI and blockchain features
  • Use Cases: AI trading bots, smart contract analysis, DeFi assistants
  • Demo Pages: Both /ai-demo and /swap included

Project Structure

my-app/
├── src/
│   ├── app/              # Next.js App Router
│   ├── components/       # React components
│   ├── lib/              # Utilities and configurations
│   ├── store/            # Redux store
│   └── assets/           # Images, fonts
├── public/               # Static files
├── .env.local           # Environment variables
└── package.json         # Dependencies

Configuration

Environment Variables

Each template generates appropriate .env.local and .env.example files:

AI Template:

OPENAI_API_KEY=sk-...
ANTHROPIC_API_KEY=sk-ant-...
GOOGLE_API_KEY=AI...
OLLAMA_HOST=http://localhost:11434

Web3 Template:

NEXT_PUBLIC_SOLANA_NETWORK=devnet
NEXT_PUBLIC_RPC_URL=https://api.devnet.solana.com

AI + Web3 Combined Template:

# AI Configuration
OPENAI_API_KEY=sk-...
ANTHROPIC_API_KEY=sk-ant-...
GOOGLE_API_KEY=AI...
OLLAMA_HOST=http://localhost:11434

# Web3 Configuration
NEXT_PUBLIC_SOLANA_NETWORK=devnet
NEXT_PUBLIC_RPC_URL=https://api.devnet.solana.com

Testing

Before deploying or publishing:

# Run automated tests
node test-templates.js

# Manual testing (see TESTING.md for full guide)
node create.js test-project
cd test-project
npm install
npm run dev

Contributing

We welcome contributions! Please see CONTRIBUTING.md for guidelines.

Development

# Fork and clone the repository
git clone https://github.com/YOUR_USERNAME/computelabs-template.git

# Create a feature branch
git checkout -b feature/amazing-feature

# Make changes and test
node test-templates.js

# Submit a pull request

Documentation

Support

License

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

Acknowledgments

  • Next.js team for the amazing framework
  • Vercel for hosting and deployment
  • Solana Labs for blockchain infrastructure
  • OpenAI, Anthropic, and Google for AI capabilities
  • The open-source community for invaluable contributions

Built with ❤️ by Compute Labs