How peanutcandybutwithmeat/alencar-sociedade works
Alencar e Sociedade is a Portuguese-language editorial site generated as static pages. The principal workflow loads Markdown articles and frontmatter, derives article metadata and paths, then renders pages and supporting indexes into docs/; readers browse those pages and use browser-side search and sharing. The build also creates listings, legacy redirects, Open Graph covers, and a sitemap, with optional Bluesky posting and Git publication. The README is empty, so capabilities and relationships here are grounded in the supplied source excerpts and file tree.
Main entry points: build.py Build orchestrator · config.py Site settings · listagens.py Listings and menu · bluesky.py Bluesky publisher
Components 22
Content and configuration
- Markdown articles
content - Site settings
config.py
Site generation
- Build orchestrator
build.py - Article loader
src/loader.py - Listings and menu
src/listagens.py - Template renderer
src/render.py - Page templates
templates - Cover images
src/covers.py - Legacy redirects
src/redirects.py - Search index
src/search_index.py - Sitemap
src/sitemap.py - Bluesky publisher
src/publishers/bluesky.py - Git publisher
src/git_publish.py
Published site
- Generated site
docs - Static assets
static
Reader features
- Browser search
static/js/busca.js - Article sharing
static/js/compartilhar.js - Share-card renderer
static/js/cartao.js
Other components
- Article authors
- Site readers
- Bluesky
- Git remote
Connections 28
- Article authors → Markdown articles: writes
- Markdown articles → Article loader: provides articles
src/loader.py - Build orchestrator → Site settings: uses settings
build.py - Build orchestrator → Article loader: loads articles
build.py - Build orchestrator → Listings and menu: builds listings
build.py - Build orchestrator → Template renderer: renders pages
build.py - Build orchestrator → Page templates: selects templates
build.py - Build orchestrator → Cover images: creates covers
build.py - Build orchestrator → Legacy redirects: creates redirects
build.py - Build orchestrator → Search index: creates index
build.py - Build orchestrator → Sitemap: creates sitemap
build.py - Build orchestrator → Bluesky publisher: requests posts
build.py - Build orchestrator → Git publisher: optionally publishes
build.py - Build orchestrator → Generated site: prepares output
build.py - Build orchestrator → Static assets: copies assets
build.py - Listings and menu → Article loader: uses slugifier
src/listagens.py - Listings and menu → Template renderer: renders listings
src/listagens.py - Template renderer → Site settings: loads templates from
src/render.py - Cover images → Site settings: uses fonts and paths
src/covers.py - Legacy redirects → Site settings: uses redirect settings
src/redirects.py - Search index → Site settings: writes to output
src/search_index.py - Sitemap → Site settings: uses site URL
src/sitemap.py - Bluesky publisher → Site settings: uses data path
src/publishers/bluesky.py - Bluesky publisher → Bluesky: posts articles
src/publishers/bluesky.py - Git publisher → Git remote: pushes changes
src/git_publish.py - Site readers → Generated site: browses
- Browser search → Generated site: searches articles
- Article sharing → Share-card renderer: renders share cards
static/js/compartilhar.js