archon-dataset-sync / huggingface.yml
personalbotai
Deploy Archon Dataset Sync v2.1 with branch support\n\n- Add sync_dataset.sh with DATASET_BRANCH support\n- Add Flask monitoring dashboard (app.py)\n- Add Dockerfile for HF Space deployment\n- Add comprehensive documentation\n- Security hardening (upstream protection)\n- Auto-retry with exponential backoff\n- Health checks and graceful shutdown\n\nArchon Standard: Build for Eternity
9de9a1b
# Hugging Face Spaces Configuration
# Archon Dataset Sync Dashboard
# Space metadata
title: "Archon Dataset Sync"
emoji: "πŸ›οΈ"
colorFrom: "blue"
colorTo: "cyan"
sdk: "docker"
app_file: "app.py"
# Space settings
pinned: false
private: false
# Hardware configuration
# Uncomment sesuai kebutuhan
# hardware: cpu-basic
# hardware: cpu-up-to-4-cores
# Timeout (seconds) - increased for sync operations
# timeout: 1200
# Build configuration
# build: auto # default
# Dependencies (for non-Docker spaces)
# requirements: requirements.txt
# Environment variables (set di Space Settings β†’ Variables)
# Required:
# - DATASET_REPO: https://github.com/personalbotai/picoclaw-memory.git
# - DATASET_BRANCH: acron-memory
# Optional:
# - GITHUB_TOKEN: ghp_xxx (untuk private repo atau rate limit)
# - SYNC_INTERVAL: 300 (default 5 menit)
# - PICOCLAW_HOME: /data/.picoclaw (default)
# - MAX_RETRIES: 3
# - BACKUP_RETENTION_DAYS: 7
# - MIN_DISK_FREE_MB: 1024
# Note: Docker-based space akan menggunakan Dockerfile
# Pastikan semua env vars di-set di Space Settings β†’ Variables
# Tags untuk discoverability
tags:
- "sync"
- "dataset"
- "archon"
- "nullclaw"
- "monitoring"
- "automation"
# Short description
short_description: "Dataset synchronization daemon dengan branch support dan monitoring dashboard"
# Full description (bisa juga di README.md)
# description: |
# Archon Dataset Sync adalah sistem sinkronisasi otomatis untuk workspace
# ke remote git repository dengan fitur:
# - Branch selection (acron-memory, main, dll)
# - Auto-retry dengan exponential backoff
# - Health checks (disk space)
# - Graceful shutdown
# - Concurrent protection
# - Structured logging
# - Monitoring dashboard (Flask)
#
# Ideal untuk Hugging Face Spaces deployment.
# Model card (jika ada model)
# model_card: model_card.md
# Datasets (jika menggunakan dataset HF)
# datasets:
# - username/dataset-name
# Widgets (jika ada inference API)
# widgets:
# - input: text
# label: Input
# - output: text
# label: Output
# License
# license: mit
# Authors
# authors:
# - "Syamsul Bahri <syamsulbahri@example.com>"
# References
# references:
# - title: Archon Documentation
# url: https://github.com/personalbotai/nullclaw
# Citation (jika ada paper)
# citation:
# - type: article
# title: "Archon: Sovereign Agent Runtime"
# year: 2025
# authors: ["Syamsul Bahri"]
# Demo configuration (jika ada demo)
# demo:
# - title: "Dashboard Preview"
# file: screenshots/dashboard.png
# Gallery (multiple screenshots)
# gallery:
# - screenshots/1.png
# - screenshots/2.png
# Space dependencies (Spaces yang di-inject)
# spaces_dependencies: []
# Variables definition (hanya dokumentasi, set di UI)
# variables:
# - name: DATASET_REPO
# type: string
# description: Git repository URL
# required: true
# - name: DATASET_BRANCH
# type: string
# description: Branch untuk sinkronisasi
# required: true
# default: main
# - name: GITHUB_TOKEN
# type: secret
# description: GitHub token untuk autentikasi
# required: false
# Note: Untuk deployment, set environment variables di Hugging Face Space Settings β†’ Variables