Single Source, Multi-Platform -> Makefile as Publishing…
    Neura MarketNeura Market/Cursor
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityDeepSeekDeepSeek
    CoPilotCoPilotStable DiffusionStable DiffusionMidjourneyMidjourney
    View All Directories
    OverviewRulesPromptsMCPsAgentsGamesBlogVideosGuidesCoursesCommunityExtensionsTrending
    CursorBlogSingle Source, Multi-Platform -> Makefile as Publishing Engine
    Back to Blog
    Single Source, Multi-Platform -> Makefile as Publishing Engine
    claude

    Single Source, Multi-Platform -> Makefile as Publishing Engine

    Yunus Emre Ak September 8, 2025
    0 views

    Single Source, Multi-Platform → Makefile as Publishing Engine The Problem I...

    Single Source, Multi-Platform -> Makefile as Publishing Engine

    The Problem

    I write in one place. Readers are everywhere.

    I update content. Old versions live forever on different platforms.

    I publish manually. Time dies with each copy-paste.

    The Discovery

    My content lives in Git. That's the single source of truth.

    GitBook reads from Git. dev.to can read from Git. Medium can read from Git. Everything can read from Git.

    So why am I copy-pasting?

    The Architecture

    Git (Source of Truth)
        ↓
    GitHub (Version Control)
        ↓
    GitBook (Primary Interface) 
        ↓
    Makefile (Publishing Engine)
        ├-> dev.to
        ├-> Medium
        ├-> Hashnode
        └-> Anywhere
    

    One source. Infinite destinations.

    The Implementation

    State Management Without Database

    # .clarity/devto-articles.json
    {
      "article-name": "2829234",  # dev.to article ID
      "another-one": "2829233"
    }
    
    # .clarity/devto-checksums.json  
    {
      "article-name": "a3f5b2c8d9e1f4g6",  # MD5 hash
      "another-one": "b4g6c3d0e2f5a7h8"
    }
    

    No database. Just JSON files. Git tracks them. Simple.

    Change Detection Without Complexity

    CURRENT_CHECKSUM=$(md5 -q article.md)
    SAVED_CHECKSUM=$(jq -r '.article' .clarity/devto-checksums.json)
    
    if [ "$CURRENT_CHECKSUM" = "$SAVED_CHECKSUM" ]; then
        echo "[OK] No changes, skipping"
    else
        # Update only what changed
    fi
    

    MD5 hash comparison. File changed? Update. File same? Skip.

    Platform Differences as Features

    GitBook uses `` tags. dev.to doesn't understand them.

    Solution? Strip them during publish:

    CONTENT=$(cat article.md | sed 's///g')
    

    Each platform has its reality. Adapt, don't fight.

    The Workflow

    1. Write in Markdown (Git)
    2. Push to GitHub
    3. GitBook auto-updates (webhook)
    4. Run make sync-devto
    5. All platforms updated

    One command. All platforms synced.

    Real Examples from My System

    Creating New Article

    # Write locally
    code docs/claude-ai-vibe-coding/new-article.md
    
    # Push to Git
    git add . && git commit -m "new article" && git push
    
    # Sync everywhere
    make sync-devto  # Updates or creates as needed
    

    Updating Existing Article

    # Edit locally
    code existing-article.md
    
    # System detects changes via MD5
    make sync-devto
    # Output: [OK] Article Name - No changes, skipping
    # or
    # Output: -> Updating: Article Name (ID: 2829234)
    

    Rate Limiting? Solved

    if [ "$HTTP_CODE" = "429" ]; then
        echo "Rate limit. Waiting 35 seconds..."
        sleep 35
        $(MAKE) retry
    fi
    

    Patience as code. Not error handling, feature implementation.

    Why Makefile?

    I used GitHub Actions. Then I woke up.

    GitHub Actions = Their computer, their rules, their time. Makefile = My computer, my rules, my time.

    # This runs on MY machine
    publish: 
        @echo "I control this"
    
    # This runs on THEIR machine
    # .github/workflows/publish.yml
    # I wait, I hope, I pray
    

    Control matters more than convenience.

    The Philosophy

    Single Source of Truth: Git. Not Notion, not Google Docs. Git.

    Platform Agnostic: Write once, publish everywhere.

    Automation Over Memory: I don't remember to update. Code remembers for me.

    State Without Database: JSON files in .clarity/. Git tracks them. Done.

    Adapt, Don't Force: Each platform is different. Transform content to fit.

    Pattern Recognition

    This isn't about blogging. It's about:

    1. Information Flow: One source -> Many destinations
    2. State Management: Local files > Remote databases
    3. Change Detection: Checksums > Timestamps
    4. Platform Reality: Transform > Complain
    5. Control: Makefile > CI/CD services

    Start Your Own

    # Minimal viable publisher
    sync: 
        @for article in docs/*.md; do \
            if [ file_changed ]; then \
                curl -X POST platform.com/api \
                    -d "$$(cat $$article)"
            fi
        done
    

    Expand from here. Add state. Add checksums. Add platforms.

    The Result

    • Write once, publish everywhere
    • No manual updates
    • No forgotten platforms
    • No version mismatches
    • Full control

    My blog is everywhere. My time is mine.

    Conclusion

    Stop logging into platforms. Stop copy-pasting. Stop remembering to update.

    Write in Git. Let Makefile handle the rest.

    Publishing isn't about platforms. It's about flow.

    Git -> Makefile -> World.

    That's it. That's the system.


    Part of the Zero Documentation -> Living Code philosophy. See also: Git as Evolution Engine - how commits become learning.


    Read the original: Single Source, Multi-Platform -> Makefile as Publishing Engine

    Tags

    claudeaivibecodingcursor

    Comments

    More Blog

    View all
    Cursor Automations in 2026: wire event-triggered coding agents to Slack, CI, and timerscursor

    Cursor Automations in 2026: wire event-triggered coding agents to Slack, CI, and timers

    Cursor Automations in 2026: wire event-triggered coding agents to Slack, CI, and...

    M
    Manu Shukla
    Index Everything, or Read Everything? The Dilemma of Feeding Specs to AI in Multi-Repo Developmentai

    Index Everything, or Read Everything? The Dilemma of Feeding Specs to AI in Multi-Repo Development

    The specs exist. The AI just can't see them. I've always been the type who builds hobby...

    S
    Shunya Shida
    Connect Claude Code, Cursor and Codex to Amazon Bedrock's new console (2026)amazonbedrock

    Connect Claude Code, Cursor and Codex to Amazon Bedrock's new console (2026)

    Connect Claude Code, Cursor and Codex to Amazon Bedrock's new console (2026) Summary. On 5...

    M
    Manu Shukla
    Spotting AI UI is too easyai

    Spotting AI UI is too easy

    There is a weird uncanny valley with LLM-generated UI right now. The code functions perfectly, but if...

    H
    Harish .s
    Seven ranking frameworks, one search page, zero translation tablesai

    Seven ranking frameworks, one search page, zero translation tables

    I went down a rabbit hole this morning reading the late-2025 Juejin AI roundups side by side, and the...

    N
    ninghonggang
    Zendesk MCP: Let Claude Handle Your Support Ticketsmcp

    Zendesk MCP: Let Claude Handle Your Support Tickets

    Install guide and config at curatedmcp.com Zendesk MCP: Let Claude Handle Your Support...

    C
    curatedmcp

    Stay up to date

    Get the latest Cursor prompts, rules, and resources delivered to your inbox weekly.

    Neura Market LogoNeura Market

    Discover the best AI prompts, plugins, and resources for Cursor and more.

    Content Types

    • Rules
    • Prompts
    • MCPs
    • Agents
    • Guides

    Platforms

    • ChatGPT Directory
    • Claude Directory
    • Gemini Directory
    • Cursor Directory
    • Grok Directory
    • Perplexity Directory
    • DeepSeek Directory
    • CoPilot Directory
    • Stable Diffusion Directory
    • Midjourney Directory
    • All Directories

    Resources

    • Blog
    • Documentation
    • Help Center
    • Marketplace

    Legal

    • Privacy Policy
    • Terms of Service

    © 2026 Neura Market. All rights reserved.

    |

    Not affiliated with any AI platform vendors.

    Neura Market

    Custom AI Systems & Services

    Our team of experienced AI builders will help build custom AI systems, workflows, and solutions for your business.

    Request custom work

    Ready-made automations for this

    Workflows from the Neura Market marketplace related to this Cursor resource

    • Traffic Funnel: Multiplatform Video Publishing & Traffic Automation (Short version)make · $3.99 · Uses make
    • Create a new problem in Freshservice from a new feature in ArcGIS Field Mapsmake · $3.99 · Uses make
    • Automate Transcription Management and Publishing with Harmoniq and Google Servicesmake · $4.99 · Uses make
    • Automate Article Creation and Publishing on Shopify with OpenAImake · $4.99 · Uses make
    Browse all workflows