| Crates.io | asimov-x-module |
| lib.rs | asimov-x-module |
| version | 0.2.4 |
| created_at | 2025-11-06 07:13:26.800853+00 |
| updated_at | 2025-11-06 07:13:26.800853+00 |
| description | ASIMOV module. |
| homepage | https://github.com/asimov-modules |
| repository | https://github.com/asimov-modules/asimov-template-module |
| max_upload_size | |
| id | 1919182 |
| size | 74,144 |
ASIMOV module for importing data from X (Twitter) lists and converting it to JSON-LD format.
--limit optionX_TOKEN environment variable# From Cargo (Rust)
cargo install asimov-x-module
# Import all list members (default JSONL output)
asimov-x-cataloger "https://x.com/i/lists/1234567890"
# Import first 100 members only
asimov-x-cataloger "https://x.com/i/lists/1234567890" --limit 100
# Output in JSON format instead of JSONL
asimov-x-cataloger "https://x.com/i/lists/1234567890" --limit 100 --output json
# Show version information
asimov-x-cataloger --version
# Show license information
asimov-x-cataloger --license
# Show help
asimov-x-cataloger --help
Set your X API token as an environment variable:
export X_TOKEN="your-x-api-token-here"
Or use a .env file:
X_TOKEN=your-x-api-token-here
Get your API token from: X Developer Portal
⚠️ IMPORTANT: X API has strict rate limits that vary by subscription plan.
Free plan users: Use --limit=100 and wait 15 minutes between requests.
git clone https://github.com/asimov-modules/asimov-x-module.git
cd asimov-x-module
cargo test
cargo build --bin asimov-x-cataloger
{"@type":"know:XUser","id":"123","name":"John Doe","username":"johndoe",...}
{"@type":"know:XUser","id":"456","name":"Jane Smith","username":"janesmith",...}
{
"@context": {...},
"@id": "https://x.com/i/lists",
"members": {
"count": 2,
"items": [...]
}
}
This project is licensed under the Unlicense - see the UNLICENSE file for details.