SPB Git

Repository Public

spbmaclustr-social

MacLustr Social and Remote Navigator: plans and publishes social posts with a human approval step, and drives a sandboxed Chromium worker for assisted navigation. Ships with a synthetic fixture site so every flow can be tested without touching a real account.

23 entries at the root
History

Latest commit docs(readme): keep live counters in badges only, so the generated block is stable 7ebb2b1

NameLast commitUpdated
apps chore: standardize SP Boucher source headers and attribution
database Schéma PostgreSQL et cœur de l'API de contrôle (sessions, baux, contenus, tâches)
docs docs(readme): showcase — stack and metric badges, key figures, screenshots, repository layout,...
infra chore: standardize SP Boucher source headers and attribution
native chore: standardize SP Boucher source headers and attribution
packages chore: standardize SP Boucher source headers and attribution
scripts chore: standardize SP Boucher source headers and attribution
services chore: standardize SP Boucher source headers and attribution
tests chore: standardize SP Boucher source headers and attribution
workers chore: standardize SP Boucher source headers and attribution
.env.example Liste de pairs autorisés, LaunchAgent du worker (compte dédié), préproduction, manifeste mld,...
.gitignore Ignore le fichier d'espace de travail généré par pnpm sur le nœud
.spb-source-governance.toml chore: standardize SP Boucher source headers and attribution
CLAUDE.md chore: standardize SP Boucher source headers and attribution
package.json API de contrôle (routes, authentification par clés d'accès, agents), passerelle Navigator,...
pnpm-lock.yaml API de contrôle (routes, authentification par clés d'accès, agents), passerelle Navigator,...
README.md docs(readme): keep live counters in badges only, so the generated block is stable
shot-approve-error.png Tests bout en bout (Chromium réel, passerelle, worker, fixtures) ; correctifs : ordre des...
shot-estop-390.png Tests bout en bout (Chromium réel, passerelle, worker, fixtures) ; correctifs : ordre des...
shot-signin.png Tests bout en bout (Chromium réel, passerelle, worker, fixtures) ; correctifs : ordre des...
shot-viewer-stop.png Tests bout en bout (Chromium réel, passerelle, worker, fixtures) ; correctifs : ordre des...
tsconfig.json Moteur de politique et moteur de recettes (DSL typé, exécuteur, validation)
vitest.config.ts chore: standardize SP Boucher source headers and attribution
README.md View source

# MacLustr Social Engine & Remote Navigator

social.spboucher.ai platform author

Node.js React TypeScript Vite Fastify Playwright Vitest PostgreSQL WebSocket Claude API Zod Swift SQL Shell

commits last-commit activity language languages size branches tags license clones

Fichiers suivis lignes de code langages fichiers de test docs captures

# Aperçu

home
home
home mobile
home mobile

Deux services privés du cluster MacLustr :

  • Social — https://social.spboucher.ai : console éditoriale multimarque (brouillons, vérifications, approbations liées au contenu exact, calendrier, médiathèque, commentaires, statistiques, audit).
  • Navigator — https://navigator.spboucher.ai : un vrai Chromium qui tourne sur un Mac dédié, affiché et piloté à distance depuis un Mac ou un iPhone.

Sur Facebook, c'est vous qui publiez. Les conditions de Meta interdisent l'accès automatisé sans permission écrite ; le système prépare, vérifie, rappelle et vous assiste dans le navigateur distant, et vous cliquez vous-même sur Publier. L'automatisation complète existe et est testée, mais seulement sur une plateforme de test synthétique. Détail : docs/COMPLIANCE.md.

# Dépôt

text
apps/social-web  apps/navigator-web  apps/shared      interfaces React (FR/EN, clair/sombre)
services/control-api                                  API, authentification par clés d'accès, cœur métier, CLI
services/navigator-gateway                            relais WebSocket authentifié spectateur ⇄ worker
services/scheduler                                    balayages, boîte d'envoi, releases Git, sonde de santé
services/fixture-site                                 plateforme de test synthétique
workers/navigator-worker                              Chromium persistant (Playwright), entrées, recettes
native/MacAccessibilityBridge                         pont Swift (fenêtres, dialogues)
packages/contracts policy-engine workflow-engine agent-runtime brand-kit media-engine
database/migrations                                   schéma PostgreSQL, réversible
infra/launchd infra/reverse-proxy infra/mld           LaunchAgent du worker, routes, manifeste
tests/unit integration security e2e                   129 tests
docs/                                                 voir ci-dessous

# Développer

bash
pnpm install
createdb mls_dev                     # PostgreSQL 17 local
npx vitest run                       # crée et détruit ses propres bases mls_test_*
zsh scripts/ci.sh                    # lint, secrets, typage, tests, audit, build reproductible
pnpm build                           # dist/*.mjs + dist/{social,navigator}-web

# Exploiter

Application mld maclustr-social, épinglée sur m4ml. Mise à jour depuis le laptop : zsh scripts/push-to-node.sh.

Document Pour
docs/OPERATOR_GUIDE.md l'usage quotidien, les rôles, l'arrêt d'urgence
docs/FACEBOOK_LOGIN_GUIDE.md se connecter à Facebook dans le navigateur distant
docs/SESSION_RECOVERY.md une session expirée, en panne, à déplacer
docs/INCIDENT_RUNBOOK.md quoi faire quand ça tourne mal
docs/BACKUP_RESTORE.md sauvegardes chiffrées, restauration éprouvée
docs/DEPLOYMENT.md installer, mettre à jour, revenir en arrière
docs/ARCHITECTURE.md, docs/DECISIONS.md comment c'est fait et pourquoi
docs/THREAT_MODEL.md, docs/SECURITY_REPORT.md menaces, parades, points ouverts
docs/TEST_REPORT.md ce qui est passé, ce qui n'a pas été exécuté
docs/AUDIT.md l'état du cluster avant le projet
docs/openapi.json l'API interne (74 chemins)

# Auteur

Simon-Pierre Boucher. Dépôt privé.

# Arborescence du dépôt

text
maclustr-social/
├── apps/                       63 fichiers  applications
│   ├── navigator-web/          19
│   ├── shared/                  1
│   └── social-web/             43
├── database/                    2 fichiers
│   └── migrations/              2
├── docs/                       19 fichiers  documentation
│   ├── evidence/                3
│   └── readme/                  2
├── infra/                       7 fichiers  infrastructure
│   ├── launchd/                 3
│   ├── mld/                     1
│   └── reverse-proxy/           3
├── native/                      3 fichiers  code natif
│   └── MacAccessibilityBridge/     3
├── packages/                    6 fichiers  paquets de l'espace de travail
│   ├── agent-runtime/           1
│   ├── brand-kit/               1
│   ├── contracts/               1
│   ├── media-engine/            1
│   ├── policy-engine/           1
│   └── workflow-engine/         1
├── scripts/                    13 fichiers  scripts
├── services/                   30 fichiers  services
│   ├── control-api/            23
│   ├── fixture-site/            2
│   ├── navigator-gateway/       2
│   └── scheduler/               3
├── tests/                       9 fichiers  tests
│   ├── e2e/                     2
│   ├── integration/             3
│   ├── security/                1
│   └── unit/                    1
├── workers/                     4 fichiers
│   └── navigator-worker/        4
├── CLAUDE.md
├── package.json
├── README.md
├── tsconfig.json
└── vitest.config.ts

# Langages

Langage Fichiers Lignes Part
TypeScript 106 14 461 ██████████████████ 88.0 %
Shell 13 693 █ 4.2 %
CSS 4 645 █ 3.9 %
JavaScript 4 282 █ 1.7 %
SQL 2 186 █ 1.1 %
Swift 1 142 █ 0.9 %
HTML 2 29 █ 0.2 %

Compté sur les fichiers suivis par git, hors dépendances et fichiers générés.

# Fiche du dépôt

Premier commit 2026-12-01
Contributeurs 1
Branche par défaut main
Fichiers suivis 169
Site https://social.spboucher.ai
Sujets social-media publishing browser-automation playwright typescript approval-workflow maclustr
Cloner git clone https://git.spboucher.ai/maclustr-social.git

# Author

Simon-Pierre Boucher · spboucher.ai · contact@spboucher.ai

Clone maclustr-social

Anonymous clone and fetch. Pushing requires the owner's personal access token.

Snapshot of main

Files main
Menu

Theme