feat: x-integration#1
Merged
Merged
Conversation
- 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.