Socialia - Unified Social Media Management

Socialia is a unified social media management package for posting, analytics, and insights. Part of SciTeX for scientific research automation.

Key Features

  • Multi-Platform Support: Twitter/X, LinkedIn, Reddit, Slack, YouTube

  • Three Interfaces: Python API, CLI commands, and MCP server (8 tools)

  • Analytics Integration: Google Analytics tracking and reporting

  • Scheduling: Schedule posts for later with daemon support

  • Org-mode Integration: Draft management with Emacs org-mode

  • AI Integration: MCP server for AI agent workflows

Quick Example

Python API:

from socialia import Twitter, LinkedIn, GoogleAnalytics

# Post to Twitter
twitter = Twitter()
twitter.post("Hello World!")

# Post to LinkedIn
linkedin = LinkedIn()
linkedin.post("Professional update!")

# Track analytics
ga = GoogleAnalytics()
ga.track_event("page_view", {"page": "/docs"})

CLI:

# Post to Twitter
socialia post twitter "Hello World!"

# Post with image
socialia post twitter "Check this out!" --image photo.jpg

# Schedule a post
socialia post twitter "Hello!" --schedule "10:00"

# Check all platform connections
socialia check

MCP Server:

# Start MCP server
socialia mcp start

# List available tools
socialia mcp list-tools -v

Indices and tables