Skip to content

feat: x-integration#1

Merged
rubenartus merged 6 commits into
mainfrom
feat/x-integration
Jan 25, 2026
Merged

feat: x-integration#1
rubenartus merged 6 commits into
mainfrom
feat/x-integration

Conversation

@rubenartus

Copy link
Copy Markdown
Owner

No description provided.

- Add config module for credential storage (~/.config/noslop/)
- Add X Ads API client with OAuth 1.0a authentication
- Add sync module for push/pull operations between local and X
- Add CLI commands:
  - noslop auth x: authenticate with X API
  - noslop x status: show sync status
  - noslop x push: push scheduled posts to X
  - noslop x pull: pull scheduled posts from X
  - noslop x cancel: cancel scheduled post on X
- Support --id flag for targeting specific posts
- Support --dry-run flag for previewing changes
- Support --force flag for overwriting local conflicts on pull
- Add tests for config credential storage
- Add tests for X API datetime conversion
- Add tests for sync logic (push/pull actions, status calculation)
- Add X integration commands table
- Add setup instructions for X API credentials
- Add workflow examples for push/pull operations
- Update post file format to show X section
- Add OAuth 1.0a request token and access token functions
- Implement interactive PIN flow:
  1. User enters API key/secret (or uses env vars)
  2. Browser opens to X authorization page
  3. User authorizes and gets PIN
  4. PIN exchanged for access tokens
- No external server required
- Update README with simpler auth instructions
- Store account name in project's CLAUDE.md (## X Account section)
- Store credentials per account at ~/.config/noslop/credentials/x/
- Each project can be linked to a different X account
- Add commands:
  - noslop auth x --list: list all authenticated accounts
  - noslop auth x --unlink: remove account link from project
  - noslop auth x --logout <name>: delete stored credentials
- Update tests for new account-based API
- Update README with multi-account documentation
@rubenartus rubenartus merged commit 0dd7ec8 into main Jan 25, 2026
3 checks passed
@rubenartus rubenartus deleted the feat/x-integration branch January 25, 2026 00:51
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