Skip to content

feed-mob/omni-collect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OmniCollect

Multi-platform topic intelligence API for AI agents. Install a Skill guide, auto-collect data from Xiaohongshu, GitHub, Twitter and more, then generate structured intel reports locally.

How It Works

┌──────────────┐     install skill      ┌──────────────────┐
│  AI Agent    │◄───────────────────────│  Skill (API Guide)│
│  Claude Code │                        └──────────────────┘
│  Codex       │── HTTP + secret key ──►┌──────────────────┐
│  Continue    │◄── structured JSONL ───│  OmniCollect API │
│  OpenClaw    │                        │  (FastAPI+SQLite) │
│  ...         │                        └───────┬──────────┘
└──────┬───────┘                                │
       │ local AI analysis                      │ Agent-Reach
       ▼                                        ▼
┌──────────────┐                     ┌─────────────────────┐
│  Intel Report│                     │ Xiaohongshu│GitHub  │
│  JSONL + MD  │── sync report ─────►│ Twitter    │ ...    │
└──────────────┘                     └─────────────────────┘
  • Platform (cloud): Data collection API, auth, report sync
  • Skill (local): A Markdown guide that teaches any AI agent how to call our APIs
  • AI analysis (local): Runs on the user's own model — we don't do inference

Supported Platforms

Platform Method Status
Xiaohongshu mcporter + Cookie Planned
GitHub REST API (HTTP) Planned
Twitter/X bird + Cookie Planned
More (HN, Reddit, ...) TBD Future

Tech Stack

  • Python + FastAPI + Pydantic — lightweight async API, auto-generated Swagger docs
  • SQLite + aiosqlite — lightweight, zero-ops, async
  • SQLAlchemy 2.0 — async ORM with declarative models
  • Jinja2 — server-side page rendering (planned)
  • Agent-Reach — native Python integration for multi-platform data fetching

Auth (Planned — M2)

No human registration needed. The AI agent handles everything:

  1. AI generates a key pair locally
  2. AI calls POST /api/v1/auth/register with the public key
  3. Server stores the key (max 3 registrations per IP)
  4. Key is persisted in the skill directory — done

Note: Auth endpoints are not yet implemented. Currently only GET /health and GET / are available. See ARCHITECTURE.md for the full API roadmap.

Quick Start

# Install
pip install -e ".[dev]"

# Run
python -m omni_collect.main

# Visit
# http://localhost:8000/docs  — Swagger UI
# http://localhost:8000/health — Health check

Project Structure

See ARCHITECTURE.md for the full architecture document, module breakdown, and development schedule.

License

TBD

About

Multi-platform topic intelligence API for AI agents. Install a Skill guide, auto-collect data from Xiaohongshu, GitHub, Twitter and more, then generate structured intel reports locally.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages