markusmcnugen/SharePoint Mirror Sync

Sync a whole repo, specific extensions, or files to a Sharepoint site using glob patterns with a client ID and secret

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
file_pathSource file path (glob ok)yes
site_nameSharepoint site name (see README.md)yes
host_nameSharepoint host name (see README.md)yes
upload_pathTarget upload path (see README.md)yes
tenant_idSharepoint tenant IDyes
client_idSharepoint client IDyes
client_secretSharepoint client secretyes
max_retriesMax retries for uploadno3
login_endpointMicrosoft Online Login API Endpoint (see README.md)nologin.microsoftonline.com
graph_endpointMicrosoft Graph API Endpoint (see README.md)nograph.microsoft.com
file_path_recursive_matchFind files recursively in subdirectories specified in file_pathnofalse
force_uploadForce upload all files regardless of changes (skips smart sync comparison)nofalse
convert_md_to_htmlConvert Markdown files to HTML with Mermaid diagrams as SVG (best for SharePoint viewing)notrue
force_md_to_html_regenerationForce regeneration of HTML from .md files even if source unchanged (requires convert_md_to_html=true)nofalse
exclude_patternsComma-separated list of exclusion patterns (e.g., "*.pyc,__pycache__,*.log")no""
sync_deleteDelete SharePoint files that no longer exist in the repository (mirror sync)nofalse
sync_delete_whatifPreview deletions without actually deleting (requires sync_delete=true)notrue
max_upload_workersMaximum concurrent upload workers (1-10, default: 4 for Graph API limits). WARNING: Starting Sept 30, 2025, Microsoft will reduce per-app throttling to HALF the tenant limit.no4
debugEnable general debug output (execution flow, decisions, file processing)nofalse
debug_metadataEnable metadata-specific debug output (Graph API fields, column verification)nofalse
namedescription
returnFunction output