A static web interface for browsing and managing Neutree model catalog. Built with vanilla HTML, CSS, and JavaScript for fast performance and easy deployment.
- 📊 Model Gallery: Browse all available models with rich metadata
- 🔍 Search & Filter: Find models by name, task type, or other criteria
- ✅ Multi-Selection: Select individual models or use bulk selection
- 📋 YAML Generation: Generate complete YAML configurations for selected models
- 🚀 Auto Deployment: Automatically deploys to GitHub Pages on push
This project includes GitHub Actions workflow for automatic deployment to GitHub Pages:
-
Enable GitHub Pages in your repository settings:
- Go to Settings → Pages
- Set Source to "GitHub Actions"
-
Push to main branch - the workflow will automatically:
- Build the project using Deno and npm
- Deploy to GitHub Pages
- Your site will be available at
https://<username>.github.io/<repository-name>
-
Manual deployment (if needed):
- Go to Actions tab
- Run "Deploy to GitHub Pages" workflow manually
# Install dependencies
npm install
# Start development server (with file watching)
npm run dev
# Build for production
npm run build- View all available models in the grid layout
- Use the search box to find specific models
- Filter by task type using the dropdown menu
- Switch between light and dark themes
- Click checkboxes to select individual models
- Use "Select All" or "Select None" for bulk operations
- Selected count is displayed in the header
- Select the models you want to deploy
- Click "Generate YAML" button
- Copy the generated configuration from the modal
- Use the configuration in your deployment
Convert HuggingFace models to catalog format using the built-in tool:
# Convert a HuggingFace model to YAML format
deno run --allow-net scripts/hf2catalog.ts https://huggingface.co/microsoft/DialoGPT-medium
# Convert to JSON format
deno run --allow-net scripts/hf2catalog.ts https://huggingface.co/microsoft/DialoGPT-medium --jsonExample:
# Add Qwen model to catalog
deno run --allow-net scripts/hf2catalog.ts https://huggingface.co/Qwen/Qwen2.5-7B-Instruct > catalog/qwen2-5-7b-instruct.yaml
# Rebuild to include the new model
npm run buildThe tool automatically extracts model metadata and generates the appropriate configuration format for the catalog.