Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

xxxxaa/mds

Repository files navigation

AI Tools Prompts & Configurations Viewer

A modern React-based web application for visualizing and exploring system prompts and tool configurations from various AI development platforms and tools.

AI Tools Viewer Vite License

πŸš€ Features

πŸ“Š Dashboard Overview

  • Real-time statistics of all AI tools and models
  • Visual categorization and organization
  • Quick navigation to different tool categories

πŸ” Advanced Search & Filtering

  • Full-text search across tool names, prompts, and configurations
  • Category-based filtering (Code Editors, AI Assistants, Development Tools, etc.)
  • Real-time search results with highlighting

πŸ“ Prompt Analysis

  • Formatted View: Structured display with sections and headers
  • Raw View: Original text with syntax highlighting
  • Copy to Clipboard: Easy copying of prompts for reuse
  • Metadata Display: Author, creation date, and modification timestamps

βš™οΈ Configuration Explorer

  • Interactive JSON Schema Viewer: Collapsible tree structure for complex configurations
  • Tool Definition Visualization: Graphical representation of tool parameters
  • Type Information: Color-coded data types (string, number, boolean, array, object)
  • Required Fields Highlighting: Clear indication of mandatory parameters

🎨 Modern UI/UX

  • Responsive Design: Optimized for desktop, tablet, and mobile devices
  • Dark/Light Theme Support: Automatic theme detection
  • Grid/List View Toggle: Multiple viewing options for better organization
  • Smooth Animations: Enhanced user experience with CSS transitions

🧭 Navigation System

  • Individual Model Routes: Direct URLs for each AI tool (/model/claude-code)
  • Breadcrumb Navigation: Easy navigation hierarchy
  • Deep Linking: Shareable URLs for specific tools and configurations

πŸ› οΈ Technology Stack

  • Frontend Framework: React 18 with Hooks
  • Build Tool: Vite for fast development and optimized builds
  • Routing: React Router for client-side navigation
  • Styling: Modern CSS with Flexbox and Grid layouts
  • Icons: Lucide React for beautiful, consistent icons
  • Data Processing: Node.js scripts for build-time data generation

πŸ“¦ Quick Start

Prerequisites

  • Node.js: Version 16.0 or higher
  • npm: Version 8.0 or higher (comes with Node.js)

Installation

  1. Clone the repository:
git clone <repository-url>
cd mds
  1. Install dependencies:
npm install
  1. Generate data from prompts:
npm run generate-data
  1. Start development server:
npm run dev

The application will be available at http://localhost:3000.

Build for Production

npm run build

This will generate optimized assets in the dist directory.

πŸ“ Project Structure

mds/
β”œβ”€β”€ public/ # Static assets
β”‚ β”œβ”€β”€ data/ # Generated JSON data files
β”‚ β”‚ β”œβ”€β”€ tools.json # Main tools data
β”‚ β”‚ └── stats.json # Statistics data
β”‚ └── vite.svg # Favicon
β”‚
β”œβ”€β”€ scripts/ # Build scripts
β”‚ └── generateData.js # Data generation script
β”‚
β”œβ”€β”€ src/ # Source code
β”‚ β”œβ”€β”€ components/ # React components
β”‚ β”‚ β”œβ”€β”€ AIModelCard.jsx # Model card component
β”‚ β”‚ β”œβ”€β”€ AIModelDetail.jsx # Detailed model view
β”‚ β”‚ β”œβ”€β”€ HomePage.jsx # Main dashboard
β”‚ β”‚ β”œβ”€β”€ ModelPage.jsx # Individual model page
β”‚ β”‚ β”œβ”€β”€ Breadcrumb.jsx # Navigation breadcrumb
β”‚ β”‚ β”œβ”€β”€ PromptViewer.jsx # Prompt display component
β”‚ β”‚ └── ToolDefinitionViewer.jsx # Config viewer
β”‚ β”‚
β”‚ β”œβ”€β”€ utils/ # Utility functions
β”‚ β”‚ └── clientDataParser.js # Data fetching utilities
β”‚ β”‚
β”‚ β”œβ”€β”€ styles/ # Stylesheets
β”‚ β”‚ └── App.css # Main application styles
β”‚ β”‚
β”‚ β”œβ”€β”€ App.jsx # Root application component
β”‚ └── main.jsx # Application entry point
β”‚
β”œβ”€β”€ prompt/ # Source data directory
β”‚ └── system-prompts-and-models-of-ai-tools/
β”‚
β”œβ”€β”€ package.json # Dependencies and scripts
β”œβ”€β”€ vite.config.js # Vite configuration
β”œβ”€β”€ index.html # HTML template
β”œβ”€β”€ .gitignore # Git ignore rules
└── README.md # This file

πŸ”§ Data Generation Process

The application uses a sophisticated build-time data generation system:

  1. Directory Scanning: Recursively scans the prompt/system-prompts-and-models-of-ai-tools/ directory
  2. File Processing:
    • Parses .txt files as system prompts
    • Processes .json files as tool configurations
    • Extracts metadata (creation date, file size, etc.)
  3. Special Collections: Handles nested collections like "Open Source prompts"
  4. Data Transformation: Creates structured JSON with:
    • Tool categorization
    • Statistical summaries
    • Search indexes
    • Routing slugs
  5. Static Generation: Outputs optimized JSON files for frontend consumption

Supported File Types

  • .txt: System prompts and instruction files
  • .json: Tool definitions, configurations, and schemas
  • Nested directories: Automatic collection handling

πŸ“œ Available Scripts

Script Description
npm run dev Start development server with hot reload
npm run build Build for production (includes data generation)
npm run preview Preview production build locally
npm run generate-data Generate data files from source directory

🎯 Usage Examples

Viewing a Specific Tool

Navigate to http://localhost:3000/model/claude-code to view Claude Code's prompts and configurations.

Searching for Prompts

Use the search bar to find prompts containing specific keywords like "code review" or "debugging".

Exploring Tool Configurations

Click on any tool card to view its detailed configuration schema with interactive exploration.

Copying Prompts

Use the copy button in the prompt viewer to copy formatted prompts to your clipboard.

🎨 Customization

Adding New Tools

  1. Add your tool's directory to prompt/system-prompts-and-models-of-ai-tools/
  2. Include .txt files for prompts and .json files for configurations
  3. Run npm run generate-data to update the data
  4. The new tool will automatically appear in the interface

Styling Modifications

  • Edit src/styles/App.css for visual customizations
  • Component-specific styles are organized by section
  • Uses CSS custom properties for easy theming

πŸ” Troubleshooting

Data Generation Issues

  • Ensure the prompt/ directory exists and contains valid files
  • Check console output for JSON parsing errors
  • Invalid JSON files are skipped with warnings

Development Server Issues

  • Verify Node.js version is 16 or higher
  • Clear npm cache: npm cache clean --force
  • Delete node_modules and reinstall: rm -rf node_modules && npm install

🀝 Contributing

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/amazing-feature
  3. Make your changes
  4. Run data generation: npm run generate-data
  5. Test your changes: npm run dev
  6. Commit your changes: git commit -m 'Add amazing feature'
  7. Push to the branch: git push origin feature/amazing-feature
  8. Open a Pull Request

πŸ“„ License

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

πŸ™ Acknowledgments

  • Thanks to all AI tool developers whose prompts and configurations are showcased
  • Built with modern web technologies for optimal performance
  • Inspired by the need for better AI prompt organization and sharing

Made with ❀️ for the AI development community

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /