@lacspace/thumbgen
Thumbnail variants for YouTube/OG/square/story from a headline + licensed photo — split, fullbleed with scrim, typographic band, number badge for data stories, quote; breaking banner + category accents; headline auto-fit to 3–4 whole-word lines with correct Devanagari shaping (sharp/Pango via newscard); credit, logo; rationale per variant for A/B via postbandit. No AI tokens.
npm i @lacspace/thumbgenKeywords
More in Automation Kit
Turn a full article into a compact brief for an AI writer — extractive TextRank summary, key-facts (numbers, money, %, dates, named entities), headline candidates and key phrases/hashtags, for English and Nepali (danda-aware, decimal-safe). Deterministic, no LLM; reuses keyphrase + factcheck-lite. describe() command schema for an AI conductor.
@lacspace/hookwriterDeterministic platform copy from facts — hooks, titles, captions, CTAs, descriptions in many styles (question, number-led, what-it-means, breaking, how-to, quote…), en + ne, trimmed to each platform's limit. Fills ONLY the facts you pass (never invents claims), drops sensational phrasing; AI optional, only to fill slots. describe() schema. Zero deps.
@lacspace/postbanditA tiny Thompson-sampling multi-armed bandit to learn the best option per platform — posting time, format, thumbnail or title variant — from engagement rewards. Beta posteriors per arm, deterministic when seeded, JSON-persistable; plugs into postplan. Zero deps.
@lacspace/commentguardComment moderation for English, romanized Nepali and Devanagari — spam, abuse, hate, doxxing, link-spam → allow/review/flag/hide, with PII detection (Nepali phone/email/URLs) and FAQ auto-replies. Deterministic rules + small extendable lexicons; borderline flag for an optional AI second opinion. describe() schema. Zero deps.
@lacspace/trendsTrending topics and hashtags for a region from official/public sources only — Google Trends daily RSS, YouTube mostPopular (optional key), Wikipedia pageviews — merged across scripts (Dashain ≡ दशैं) and scored, with story-relevance gating so you never trend-jack, and per-platform hashtag sets with limits + a shadow-ban filter. Bring-your-own-fetch; describe() schema.
@lacspace/datacardsAutomatic data posts from official Nepal sources — NRB forex (day-over-day deltas), FENEGOSIDA gold/silver, NOC fuel, DHM city weather + special-bulletin alerts, DoEnv air quality (AQI from PM2.5), injected NEPSE — each as a bilingual, BS+AD-dated newscard table/alert card with caption, alt text, hashtags, sparkline, worth-posting gate and a montage video plan. No AI tokens.