spb/modelmap Public License
Internal cartography of local LLMs on Apple Silicon — registered, gated, negative-first. Public atlas at modelmap.io.
Python 66.3%
JavaScript 24.5%
CSS 8.1%
Shell 0.7%
1#!/bin/zsh2# =============================================================================3# Project : modelmap4# File : site/sync-content.sh5# Purpose : Snapshot the research repo into site/content/ + build-info.json6# Author : Simon-Pierre Boucher7# Contact : contact@spboucher.ai8# Website : https://modelmap.io9# Created : 2026-08-1210# Modified : 2026-08-1211# Platform : macOS / Apple Silicon (arm64)12# License : All rights reserved (research code)13# =============================================================================14set -euo pipefail1516REPO_ROOT="$(cd "$(dirname "$0")/.." && pwd)"17CONTENT="$REPO_ROOT/site/content"1819mkdir -p "$CONTENT"20# NOTE: rsync applies filters in order — excludes MUST precede the broad21# includes, or large binary artifacts (activation dumps, zarr stores) slip in.22rsync -a --delete \23 --exclude='*.bin' --exclude='*.log' --exclude='__pycache__' --exclude='.git' \24 --exclude='node_modules' --exclude='site' --exclude='*.zarr' --exclude='activations' \25 --include='CLAUDE.md' --include='README.md' --include='CITATION.cff' \26 --include='Makefile' --include='pyproject.toml' \27 --include='research/***' --include='experiments/***' --include='benchmarks/***' \28 --include='src/***' --include='tools/***' --include='results/***' \29 --include='atlas/***' --include='docs/***' --include='publications/***' \30 --exclude='*' \31 "$REPO_ROOT/" "$CONTENT/"3233COMMIT=$(git -C "$REPO_ROOT" rev-parse HEAD 2>/dev/null || echo "unknown")34COMMITS=$(git -C "$REPO_ROOT" rev-list --count HEAD 2>/dev/null || echo 0)35cat > "$CONTENT/build-info.json" <<EOF36{37 "author": "Simon-Pierre Boucher",38 "contact": "contact@spboucher.ai",39 "website": "https://modelmap.io",40 "commit": "$COMMIT",41 "commits": $COMMITS,42 "generated": "$(date -u +%Y-%m-%dT%H:%M:%SZ)"43}44EOF45echo "content synced at commit ${COMMIT:0:7} ($COMMITS commits)"46