system-prompts-and-models-o.../site
Sahiix@1 13254d7cbf feat: Add metadata system, REST API, examples, and CI/CD pipeline
- Added 32 JSON metadata files for all AI coding tools
- Generated 39 REST API endpoints for programmatic access
- Created working examples in Python, JavaScript, and PowerShell
- Set up GitHub Actions workflow for automated deployment
- Enhanced README with comprehensive feature documentation
- Added version comparison and automation tools
- Updated 20+ documentation files
- Ready for GitHub Pages deployment
2025-10-02 22:23:26 +04:00
..
.gitignore Update .gitignore to exclude package-lock.json 2025-10-02 05:50:18 +00:00
build-enhanced.js feat: Add metadata system, REST API, examples, and CI/CD pipeline 2025-10-02 22:23:26 +04:00
build.js Fix broken site submodule - replace with functional static site generator 2025-10-02 05:46:48 +00:00
package.json Fix broken site submodule - replace with functional static site generator 2025-10-02 05:46:48 +00:00
README.md Fix broken site submodule - replace with functional static site generator 2025-10-02 05:46:48 +00:00

System Prompts Site Generator

This directory contains a static site generator for the System Prompts repository.

Quick Start

# Build the site
npm run build

# Preview locally
npm run preview

# Development mode (build + preview)
npm run dev

Features

  • 🔍 Scans the repository for .txt, .json, and .md files
  • 📄 Generates individual pages for each file with syntax highlighting
  • 📊 Creates an organized index page with statistics
  • 🎨 GitHub-inspired dark theme
  • 📱 Responsive design

Project Structure

site/
├── package.json       # Project dependencies and scripts
├── build.js           # Static site generator
├── .gitignore         # Git ignore rules
├── README.md          # This file
└── dist/              # Generated site (created on build)
    ├── index.html     # Main index page
    └── files/         # Individual file pages

How It Works

  1. Scanning: The build script recursively scans the parent directory for relevant files
  2. Processing: Each file is processed and converted to an HTML page
  3. Generation: An index page is created with the directory structure
  4. Output: All files are written to the dist/ directory

Configuration

The build script can be customized by editing build.js:

  • EXCLUDED_DIRS: Directories to skip during scanning
  • INCLUDED_EXTENSIONS: File extensions to include
  • Styling: Modify the embedded CSS in the HTML generation functions

Deployment

The generated dist/ directory can be deployed to:

  • GitHub Pages
  • Vercel
  • Netlify
  • Any static hosting service

See the main INSTALL.md for detailed deployment instructions.