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

astro-ai-coauthor

v0.0.4

Published

An Astro integration for developer-mode documentation review, metadata tracking, and AI-assisted documentation maintenance

Downloads

318

Readme

🤖 astro-ai-coauthor

For solo developers and small teams who want to improve their documentation quality without expensive tools or complex workflows.

An intelligent Astro integration that transforms your documentation workflow with developer-mode feedback collection, metadata tracking, and AI-assisted documentation maintenance.

🎯 Who Is This For?

  • Solo Developers building documentation sites who want to track improvement areas
  • Technical Writers who need a lightweight way to self-review and iterate on docs
  • Small Teams working on internal documentation without enterprise doc tools
  • Open Source Maintainers who want to improve docs incrementally

💡 The Problem It Solves

As you write documentation, you notice issues but forget to fix them later. You want to:

  • 📝 Capture feedback while reviewing your own docs in dev mode
  • 📊 Track which pages need improvement without complex tools
  • 🔄 Iterate on documentation quality over time
  • 🤖 Get AI suggestions for improvements (coming soon)
  • 🚫 Avoid expensive doc platforms for personal/small projects

This tool gives you a simple feedback loop: Write docs → Review in dev mode → Log issues → See dashboard → Improve → Repeat.


npm version License: MIT CodeQL Dependabot Updates Quality Gate Status Coverage Reliability Rating Security Rating Maintainability Rating


🌟 Features

✅ Currently Available (v0.0.3)

Core Features

  • 📝 Dev-Mode Feedback Widget - Floating widget in development mode for instant self-review
  • 💾 Local-First Storage - File-based storage by default (.local-doc-feedback.json), no cloud required
  • 📊 Enhanced Dashboard - Beautiful interface at /_ai-coauthor/dashboard with comprehensive analytics
  • 🔍 Category Filtering - Organize feedback by accuracy, clarity, completeness, and more
  • 🏷️ Metadata Tracking - Track documentation metadata for better organization
  • 🔌 Pluggable Adapters - Extend with custom storage if needed (optional)

NEW in v0.0.3 - Productivity Features

  • 📥 Smart Export - Export feedback in JSON, CSV, or Markdown formats
  • 📈 Advanced Analytics - Page performance tracking, rating distributions, category breakdowns
  • 📊 Trend Visualization - See feedback patterns over time with visual charts
  • ✅ Smart Task Generation - Automatically prioritize pages that need attention
  • 🔍 Advanced Filtering - Filter exports by page, category, rating, or date range
  • 📑 Page Performance Table - Quick overview of all pages with status indicators

🚧 Future Planned Features

  • ⏰ Stale Documentation Detection - Automatically flag outdated documentation (v0.4.0)
  • 🤖 Local AI Integration - Ollama/LM Studio support for privacy-first AI suggestions (v0.4.0)
  • 🔄 Workspace Sync - Sync feedback across multiple machines (v0.4.0)
  • 🔗 CI Integration - Run documentation quality checks in CI pipeline (v1.0+, if team features are needed)

📦 Installation

npm install astro-ai-coauthor

🚀 Quick Start

1. Add the integration to your astro.config.mjs

import { defineConfig } from 'astro/config';
import astroAICoauthor from 'astro-ai-coauthor';

export default defineConfig({
  integrations: [
    astroAICoauthor({
      enableFeedbackWidget: true,
      enableMetadata: true,
    }),
  ],
});

2. Start your development server

npm run dev

3. Use the feedback widget

Visit any page and click the feedback widget (💬) in the bottom-right corner to:

  • Rate the page helpfulness (1-5)
  • Select a feedback category
  • Leave comments and suggestions

4. View the Enhanced Dashboard

Navigate to /_ai-coauthor/dashboard to see:

Summary Statistics

  • Total feedback count and average rating
  • Number of pages with feedback
  • Category distribution

Analytics & Insights

  • Page performance table with status indicators
  • Feedback trends over time
  • Category breakdown visualization
  • Action items prioritized by urgency

Export Options

  • Download feedback as JSON, CSV, or Markdown
  • Filter by page, category, rating, or date
  • Share reports with stakeholders

📚 Documentation


🎯 Use Cases

Solo Developer Self-Review

  • Log issues as you spot them while reviewing your own docs
  • Track TODOs for documentation improvements
  • See patterns in what needs work (clarity, examples, etc.)
  • Prioritize which pages to improve first

Small Team Documentation

  • Lightweight feedback collection without heavy tools
  • Local-first - no external services required
  • Simple dashboard to review all feedback
  • Export feedback to share with stakeholders

Technical Writing Workflow

  • Iterate on drafts with structured feedback
  • Rate page quality as you write
  • Self-review checklist built into dev mode
  • AI-assisted improvements (coming in v0.3.0)

Open Source Documentation

  • Dogfood your own docs before publishing
  • Track documentation debt alongside code
  • Keep it simple - just install and use
  • No external dependencies or services needed

🤝 Contributing

Contributions are welcome! See the Development Guide for setup instructions and testing with the playground.


📄 License

MIT License - see LICENSE for details.


🙏 Acknowledgments

Built with ❤️ for the Astro community.

Special thanks to:

  • The Astro core team for building an amazing framework
  • Documentation maintainers everywhere who inspired this project
  • Early adopters and contributors

Built for developers who care about documentation quality 📝✨