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

specchain-pro

v0.1.0

Published

AI-powered specification generation with blockchain proof-of-authorship

Downloads

4

Readme

SpecChain Pro

AI-powered specification generation with blockchain proof-of-authorship

Version License Node

🚀 Quick Start

# Install dependencies
npm install

# Build the project
npm run build

# Run in development mode
npm run dev -- new "Your idea here"

# Run tests
npm test

📋 Features

MVP (Current Phase)

  • ✅ Project structure and configuration
  • 🚧 AI-powered spec generation (in progress)
  • 🚧 Blockchain proof-of-authorship (in progress)
  • 🚧 Cryptographic verification (in progress)
  • 🚧 CLI interface (in progress)
  • 🚧 Local storage (in progress)

Coming Soon

  • Remix system with attribution
  • Public feed for spec discovery
  • Export to multiple formats
  • Local AI support for offline operation
  • Web application interface

🛠️ Installation

Prerequisites

  • Node.js >= 18.0.0
  • npm or yarn

Option 1: Install from GitHub (Recommended)

npm install -g github:yourusername/specchain-pro

Option 2: Install from Source

git clone https://github.com/yourusername/specchain-pro.git
cd specchain-pro
npm install
npm run build
npm link  # Make 'spec' command available globally

Option 3: Install from npm (When Published)

npm install -g specchain-pro

Note: npm publishing is optional. See DEPLOY_WITHOUT_NPM.md for alternative deployment methods.

📖 Usage

Generate a new specification

spec new "Build a real-time chat application with WebRTC"

Sign a specification (create blockchain proof)

spec sign spec-123

Verify a specification

spec verify spec-123

List all specifications

spec list
spec list --tags "web,api"
spec list --author "0xYourAddress"

Export a specification

spec export spec-123 markdown
spec export spec-123 json --output ./my-spec.json
spec export spec-123 github

Manage configuration

spec config show
spec config set --key ai.provider --value openai

⚙️ Configuration

Configuration is stored in ~/.specchain/config.json. You can edit it manually or use the CLI:

{
  "ai": {
    "provider": "openai",
    "model": "gpt-4",
    "temperature": 0.7,
    "maxTokens": 2000
  },
  "blockchain": {
    "network": "testnet",
    "rpcUrl": "https://sepolia.infura.io/v3/YOUR_KEY",
    "contractAddress": "0x...",
    "gasLimit": 500000
  },
  "storage": {
    "basePath": "~/.specchain",
    "maxVersionHistory": 50
  }
}

Environment Variables

You can override configuration with environment variables:

export OPENAI_API_KEY="your-api-key"
export BLOCKCHAIN_RPC_URL="https://your-rpc-url"
export CONTRACT_ADDRESS="0x..."

🧪 Development

Project Structure

specchain-pro/
├── src/
│   ├── cli/           # CLI interface
│   ├── core/          # Core orchestration
│   ├── ai/            # AI spec engine
│   ├── blockchain/    # Blockchain proof layer
│   ├── storage/       # Local storage
│   ├── export/        # Export system
│   ├── utils/         # Utilities
│   └── types/         # TypeScript types
├── dist/              # Compiled output
├── tests/             # Test files
└── docs/              # Documentation

Running Tests

# Run all tests
npm test

# Run tests in watch mode
npm run test:watch

# Run with coverage
npm test -- --coverage

Linting and Formatting

# Lint code
npm run lint

# Format code
npm run format

📚 Documentation

🗺️ Roadmap

Phase 1: MVP (Months 1-4) - Current

  • [x] Project setup and infrastructure
  • [ ] Local storage layer
  • [ ] Cryptographic hashing
  • [ ] Blockchain proof layer
  • [ ] AI spec engine
  • [ ] CLI interface
  • [ ] Export system

Phase 2: Growth (Months 5-8)

  • [ ] Remix and lineage system
  • [ ] Public feed layer
  • [ ] Local AI support
  • [ ] Layer 2 optimization

Phase 3: Web App (Months 9-12)

  • [ ] React web application
  • [ ] Wallet integration
  • [ ] Visual spec creation
  • [ ] Public feed browsing

Phase 4: Scale (Months 13-18)

  • [ ] Team collaboration
  • [ ] Third-party integrations
  • [ ] Enterprise features
  • [ ] Community ecosystem

🤝 Contributing

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

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add 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.

🙏 Acknowledgments

  • OpenAI for GPT-4 API
  • Ethereum and Layer 2 communities
  • All contributors and supporters

📞 Support


Status: 🚧 MVP Development in Progress

Version: 0.1.0 (Alpha)

Last Updated: January 2025 "# specchain-pro"