23 Commits

Author SHA1 Message Date
Dani 786982f982 cleanup: remove all GitHub workflow-based tracking systems
- Remove 4 obsolete tracking workflows:
  - analytics-processor.yml (GitHub Issues-based tracking)
  - tracking-dispatch.yml (repository dispatch events)
  - process-tracking-logs.yml (GitHub Pages log processing)
  - simple-tracking.yml (manual workflow dispatch)

- Remove obsolete JSON data file:
  - docs/analytics/download-stats.json (workflow-generated data)

- Update WORKFLOWS_REFERENCE.md to reflect current architecture:
  - Document only active workflows (deploy, publish-package)
  - Replace workflow tracking docs with Supabase integration info
  - Add migration history and troubleshooting for new system

The tracking system now uses direct Supabase database integration
from the CLI, eliminating all GitHub Actions dependencies for
analytics. This provides better performance, reliability, and
real-time tracking capabilities.

Remaining workflows handle only deployment and package publishing.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-19 18:15:53 -04:00
Dani 8788f4ea7a 🚀 Setup Automated Deployment - Main Branch to aitmpl.com
## GitHub Actions Workflow:
✅ Automatic deployment on push to main branch only
✅ Uses Vercel CLI for production builds
✅ Deploys to aitmpl.com custom domain
✅ Other branches require manual deployment

## Configuration Files:
-  - GitHub Actions workflow
-  - Setup instructions for secrets
-  - Vercel configuration with caching and security headers

## Required GitHub Secrets:
- VERCEL_TOKEN
- VERCEL_ORG_ID
- VERCEL_PROJECT_ID

## Deployment Flow:
🎯 Push to main → Auto-deploy to https://aitmpl.com
🔧 Other branches → Manual deployment only

Professional CI/CD pipeline for seamless production deployments.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-07 12:49:50 -04:00
Dani 9e665f343c feat: add GitHub Packages publishing workflow
- Add automated workflow to publish CLI package to GitHub Packages
- Configure package scoping with @davila7/claude-code-templates
- Include version bumping and automatic GitHub releases
- Add .npmrc for proper registry configuration
- Support both manual triggers and release-based publishing

Package will be available as:
npm install -g @davila7/claude-code-templates --registry=https://npm.pkg.github.com

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-01 11:13:17 -04:00
Dani 880066726d docs: add workflows reference guide
- Document active vs deprecated workflows
- Provide clear usage instructions for download tracking
- Include troubleshooting guide for workflow conflicts
- Prevent confusion about which workflow to use

Active: simple-tracking.yml (download tracking)
Deprecated: 3 previous tracking attempts

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-01 09:07:25 -04:00
Dani 5386eb009f feat: deprecate old tracking workflows and clarify active system
- Mark analytics-processor.yml as DEPRECATED (issues-based approach)
- Mark process-tracking-logs.yml as DEPRECATED (scheduled cron approach)
- Mark tracking-dispatch.yml as DEPRECATED (repository dispatch approach)
- Disable all triggers on deprecated workflows to prevent conflicts
- Add clear documentation that simple-tracking.yml is the ACTIVE workflow
- Keep deprecated files for reference and historical context

Active workflow: simple-tracking.yml (manual triggers + PR creation)
Deprecated workflows: 3 previous attempts with different approaches

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-01 09:04:35 -04:00
Dani c352782102 fix: add pull request permissions to tracking workflow
- Add pull-requests: write permission for GitHub CLI
- Enable automated PR creation for tracking updates

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-01 08:57:21 -04:00
Dani d9aac6b0df fix: update tracking workflow to create PRs instead of direct push
- Change workflow to create pull requests for tracking updates
- Maintain repository security by requiring PR review
- Add detailed PR descriptions with component information
- Use GitHub CLI for automated PR creation

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-01 08:56:03 -04:00
Dani 1e8b0be89d feat: implement elegant download tracking system with analytics dashboard
- ✨ Add comprehensive download tracking infrastructure
- 📊 Create detailed analytics dashboard at /download-stats.html
- 🔧 Implement GitHub Actions workflow for stats processing
- 🎨 Add elegant footer link instead of main page widget
- 📈 Support interactive charts with Chart.js integration
- 🔒 Maintain privacy-first approach with anonymous tracking
- 📱 Responsive design for mobile and desktop
- 🚀 Ready for production deployment

Components added:
- GitHub Actions workflow for manual tracking triggers
- Analytics JSON data structure and processing
- Interactive dashboard with doughnut and line charts
- Progress bars and detailed component metrics
- Terminal-style design consistent with site theme

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-01 08:49:40 -04:00
Dani 537c07a0ea feat(docs): Migrate Docusaurus deployment to Vercel
- Remove Docusaurus deployment from GitHub Actions workflow.
- Configure Vercel for Docusaurus deployment.
- Update Docusaurus baseUrl for Vercel.
2025-07-31 20:06:28 -04:00
Dani 947b68fcfc fix(deploy): Ensure .nojekyll is copied to root 2025-07-31 19:50:10 -04:00
Dani 40630e439b fix(deploy): Add .nojekyll file to disable Jekyll 2025-07-31 19:46:01 -04:00
Dani 792515b211 fix(deploy): Implement single-job deployment workflow 2025-07-31 19:40:56 -04:00
Dani 3159f525fc chore(deploy): Refactor deployment workflow for robustness 2025-07-31 19:31:49 -04:00
Dani 4e86085725 fix(deploy): Use standard GitHub Pages action for deployment 2025-07-31 19:24:14 -04:00
Dani 56646d0497 fix: Adjust Docusaurus deployment path to simplify site structure 2025-07-31 18:37:44 -04:00
Dani fa873d9075 fix: correct timestamp generation in tracking workflow
- Fix last_updated field to use actual timestamp instead of literal string
- Use CURRENT_TIMESTAMP variable with proper command substitution
- Update sample data to reflect recent testing (2 agent downloads)
- Remove single quotes around EOF to allow variable expansion
2025-07-31 17:29:34 -04:00
Dani 4c76fe3aba feat: add GitHub Pages tracking endpoints
- Add track.html endpoint for visible tracking
- Add api/track.html for silent tracking with 1x1 pixel
- Create GitHub Action to process tracking logs
- Use GitHub Pages infrastructure for anonymous tracking
- No external dependencies or authentication required
2025-07-31 17:10:25 -04:00
Dani 936dd417d4 feat: implement anonymous tracking via GitHub repository dispatch
- Replace direct issue creation with repository dispatch events
- Add tracking-dispatch.yml workflow to handle tracking events
- Enable anonymous tracking without requiring user tokens
- Maintain same analytics data structure for compatibility
2025-07-31 13:11:17 -04:00
Dani ae7ab15d62 feat: enhance tracking service debug logging control 2025-07-31 12:44:38 -04:00
Dani 0e674ca0ca fix: Change GitHub Actions to use npm install instead of npm ci
- Replace npm ci with npm install to avoid lock file sync issues
- This ensures dependencies install even with minor version conflicts
- Keep npm caching for better performance

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-30 19:50:16 -04:00
Dani ae6d77a91d fix: Fix Docusaurus TypeScript configuration and complete download tracking system
- Fix tsconfig.json by removing invalid @docusaurus/tsconfig extends
- Add proper TypeScript configuration for Docusaurus
- Complete download count badges for template, agent, command, and MCP cards
- Add analytics data integration with card regeneration
- Include tracking service and GitHub Actions workflow for analytics processing
- Update web interface with download statistics display

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-30 19:39:02 -04:00
daniel 03f9be889b feat: Add logging for site structure creation in deployment workflow and remove deprecated Dashboard component 2025-07-28 18:29:06 -05:00
daniel 350b11d74a Add SVG illustration and TypeScript configuration file
- Added a new SVG file `undraw_docusaurus_tree.svg` to the static images directory for enhanced visual representation.
- Introduced a new TypeScript configuration file `tsconfig.json` to improve editor experience and project structure.
2025-07-25 20:50:46 -05:00