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

next-tribune-blog

v2.0.0

Published

Automatic blog generator for Next.js from Tribune.sh blockchain articles

Readme

next-tribune-blog

A TypeScript package for Next.js that automatically generates blog pages from your Tribune.sh blockchain articles during build time.

Features

  • 🚀 Simple configuration - just add your wallet address
  • 📝 Automatic blog generation from YOUR Tribune.sh articles
  • 🎨 Beautiful default styles with dark mode support
  • 📅 Automatic date sorting
  • 🔍 SEO-friendly with metadata support
  • 💪 Full TypeScript support
  • 🎯 Next.js App Router compatible
  • ⛓️ Pre-configured for Tribune on Abstract mainnet
  • 🔗 Direct links to Tribune.sh and Abstract Scan

Installation

npm install next-tribune-blog
# or
yarn add next-tribune-blog
# or
bun add next-tribune-blog

Quick Start

After installation, the package automatically updates your next.config.ts. You just need to:

  1. Set your wallet address in next.config.ts:
const tribuneBlogPlugin = new NextTribuneBlogPlugin({
  // Replace with your actual wallet address
  walletAddress: '0xYourWalletAddress', // <-- CHANGE THIS!
});
  1. Build your project:
npm run build
  1. Run the development server:
npm run dev
  1. Visit your blog:
http://localhost:3000/blog

How it Works

  1. During build time, the plugin connects to Tribune.sh on Abstract mainnet
  2. Fetches all articles published by your wallet address
  3. Generates static blog pages with beautiful styling
  4. Creates a blog listing page and individual article pages

Configuration Options

const tribuneBlogPlugin = new NextTribuneBlogPlugin({
  // Your wallet address (REQUIRED)
  walletAddress: '0xYourWalletAddress',
  
  // Output directory (optional, default: 'src/app/blog')
  outputDir: 'src/app/blog',
});

The Tribune contract address and RPC URL are pre-configured for Abstract mainnet.

Generated Pages

The plugin generates:

  • /blog - Blog listing page with all your articles
  • /blog/[slug] - Individual article pages

Each article includes:

  • Cover image (if available)
  • Title and description
  • Publication date
  • Author wallet address (linked to Abstract Scan)
  • Link to view on Tribune.sh
  • Link to view article token on Abstract Scan

Updating Articles

Articles are fetched at build time for optimal performance. To update your blog with new articles:

npm run build

Development

# Clone the repository
git clone https://github.com/yourusername/next-tribune-blog.git
cd next-tribune-blog

# Install dependencies
npm install

# Build the package
npm run build

License

MIT

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Support

For issues and feature requests, please use the GitHub issues page.