feat: PC6 journal unifie + n8n workflow agregateur (V1 MVP)
Composant Vue JournalList : - fetch PUBLIC_JOURNAL_URL (defaut data.trans-former.fr/journal.json) - ecoute event 'hashtag-filter-change' emis par ColJournal (PC2) - filtre par hashtag actif, tri desc respecte (n8n cote serveur) - fallback gracieux : loading / errored / empty / no-match Cabling : - ColJournal.astro importe et rend <JournalList client:visible /> - placeholder remplace par le composant Vue Workflow n8n (docs/n8n-workflow-journal-aggregate.json) : - Schedule trigger cron 0 3 * * * - Fetch Gitea Atom (jules.atom) + Behold AEP + Behold julesneny (skip si feed IDs absents) - Code Node normalisation 3 sources -> format JSON commun - Tri desc + cap top 100 - Write Binary File vers /home/node/.n8n/journal/journal.json (volume Docker partage) Sources V1 actives : - Gitea Atom (#stack) - active, 200 OK confirme - Behold @aep (#aep-politique) - conditionnel feed ID - Behold @julesneny (#peinture) - conditionnel feed ID Sources skipped (V1.5/V2) : - GitHub.com : username 'julesneny' n'existe pas (HTTP 404), pivot Gitea - Substack 'transformations' : pris par 'WoodHorse' (pas Jules), handle a confirmer - LinkedIn, Castopod, Blog : V2 Mock journal.json en public/data/ pour dev local (fallback si data.trans-former.fr indisponible). Setup VPS prepare (cf docs/PC6-JOURNAL-N8N-SETUP.md) : - Caddyfile bloc data.trans-former.fr ajoute en commentaire (active apres DNS) - Dossier /var/lib/docker/volumes/vps-kit_n8n_data/_data/journal/ cree - journal.json initial deploye - Caddy reload OK valide (config valide) - Workflow JSON copie sur VPS /tmp/n8n-workflow-journal-aggregate.json (import manuel UI) Checkpoint Jules requis : - Ajout DNS A 'data' -> 178.104.106.195 (OVH) - Decommenter bloc Caddy + reload - Import workflow n8n via UI (creds basic auth deprecies, login email user) - Run manuel + activation cron Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
---
|
||||
// ColJournal - colonne gauche : CTA Manifeste + Hashtags accordeon + Journal skeleton
|
||||
// ColJournal - colonne gauche : CTA Manifeste + Hashtags accordeon + Journal (PC6)
|
||||
// 7 hashtags = 7 plateformes (cf delta 15 du PILOTE-PC.md)
|
||||
import JournalList from '../vue/JournalList.vue';
|
||||
|
||||
const hashtags = [
|
||||
{ tag: '#manifeste', plateforme: 'Blog trans-former.fr', canal: 'ecriture longue' },
|
||||
{ tag: '#building-public', plateforme: 'LinkedIn', canal: 'journal pro' },
|
||||
@@ -55,10 +57,7 @@ const hashtags = [
|
||||
<span class="text-xs text-neutral-400 font-normal">chrono</span>
|
||||
</h2>
|
||||
<div id="journal-list" class="space-y-3 text-sm">
|
||||
<!-- PC6 remplit ce slot via <JournalList client:visible /> -->
|
||||
<p class="text-neutral-400 italic text-xs">
|
||||
Chargement du journal...
|
||||
</p>
|
||||
<JournalList client:visible />
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user