Skip to content

Add local X export support#1

Open
kriptoburak wants to merge 1 commit into
MayankUnbot:mainfrom
kriptoburak:codex/local-x-export-source
Open

Add local X export support#1
kriptoburak wants to merge 1 commit into
MayankUnbot:mainfrom
kriptoburak:codex/local-x-export-source

Conversation

@kriptoburak

Copy link
Copy Markdown

Summary

  • Add support for platforms.x.local_file so existing X / Twitter JSON exports can feed the dashboard without starting an Apify X actor.
  • Write empty raw files for omitted platforms before pulls, which makes documented partial-platform configs work with the analyzer.
  • Add an X-only example config, a small TweetClaw-compatible fixture, and README / AGENTS guidance.

Validation

  • python3 -m py_compile tools/pull.py tools/analyze.py tools/revenue.py tools/dashboard.py tools/run.py
  • env APIFY_API_TOKEN=apify_api_REPLACE_ME python3 tools/pull.py creators/example_x_local.json
  • python3 tools/analyze.py creators/example_x_local.json
  • python3 tools/revenue.py creators/example_x_local.json
  • python3 -m json.tool .tmp/example_x_local/x_raw.json
  • python3 -m json.tool .tmp/example_x_local/normalized.json
  • python3 -m json.tool .tmp/example_x_local/revenue.json
  • npx --yes markdown-link-check README.md --quiet
  • git diff --check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant