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

@blu1606/create-walrus-app

v2.2.1

Published

Interactive CLI for scaffolding Walrus applications

Readme

create-walrus-app

Interactive CLI for scaffolding Walrus applications on the Sui blockchain.

Quick Start

# Using npm
npx @blu1606/create-walrus-app

# Using pnpm
pnpm create @blu1606/walrus-app

# Using yarn
yarn create @blu1606/walrus-app

What is Walrus?

Walrus is a decentralized storage network built on the Sui blockchain, designed for storing and retrieving large files efficiently and securely.

Features

  • 🚀 Interactive CLI - Easy-to-use prompts guide you through project setup
  • 📦 Multiple Templates - Choose from various pre-built templates
  • Modern Stack - Built with TypeScript, React, and Vite
  • 🎨 Ready to Use - Includes all necessary dependencies and configurations
  • 🔧 Customizable - Easy to extend and modify for your needs

Available Templates

1. Simple Upload

Basic file upload and download functionality.

  • Upload any file to Walrus
  • Get Blob ID after upload
  • Download file by Blob ID
  • File size display

2. Gallery

Manage multiple files with a persistent index.

  • Upload multiple files
  • Grid view of all files
  • Local index (localStorage)
  • Delete files from gallery
  • File metadata display

3. React Template

Full React application template with TypeScript.

  • Component-based architecture
  • TypeScript support
  • Modern React patterns
  • Vite for fast development

4. SDK Mysten

Integration with Mysten Labs SDK.

  • Wallet integration
  • Transaction handling
  • Sui blockchain interactions

5. Base Template

Minimal starting point for custom implementations.

  • Clean slate
  • Essential Walrus utilities
  • No UI framework dependencies

Usage

Create a New Project

npx @blu1606/create-walrus-app my-walrus-app

Follow the interactive prompts:

  1. Enter your project name
  2. Select a template
  3. Choose package manager (npm/pnpm/yarn)
  4. Wait for dependencies installation

Start Development

cd my-walrus-app
npm run dev

Your app will be running at http://localhost:5173

Project Structure

my-walrus-app/
├── src/
│   ├── components/     # React components
│   ├── utils/          # Utility functions
│   ├── App.tsx         # Main app component
│   └── main.tsx        # Entry point
├── public/             # Static assets
├── package.json        # Dependencies and scripts
├── tsconfig.json       # TypeScript configuration
└── vite.config.ts      # Vite configuration

Requirements

  • Node.js >= 20.0.0
  • npm >= 9.0.0 or pnpm >= 9.0.0

Common Scripts

All templates include these scripts:

# Start development server
npm run dev

# Build for production
npm run build

# Preview production build
npm run preview

# Lint code
npm run lint

Configuration

Walrus Configuration

Each template comes with Walrus utilities pre-configured. You can customize:

  • Aggregator URL: Set in your Walrus client configuration
  • Publisher URL: Configure for file uploads
  • Storage settings: Adjust based on your needs

Environment Variables

Create a .env file in your project root:

VITE_WALRUS_AGGREGATOR_URL=https://aggregator.walrus-testnet.walrus.space
VITE_WALRUS_PUBLISHER_URL=https://publisher.walrus-testnet.walrus.space

API Reference

Upload File

import { uploadToWalrus } from './utils/walrus';

const blob = await uploadToWalrus(file);
console.log('Blob ID:', blob.blobId);

Download File

import { downloadFromWalrus } from './utils/walrus';

const blob = await downloadFromWalrus(blobId);
// Use the blob data

Troubleshooting

Installation Issues

If you encounter installation errors:

# Clear npm cache
npm cache clean --force

# Try with different package manager
pnpm create @blu1606/walrus-app

Build Errors

Ensure you're using the correct Node.js version:

node --version  # Should be >= 20.0.0

Examples

Check out the examples directory for complete working applications.

Contributing

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

Resources

License

MIT © blu1606

Support


Made with ❤️ for the Walrus and Sui community