How h-ssiqueira/followback works
Followback is a small Node.js utility that uses a GitHub token to find followers the authenticated user does not yet follow, then follows them. The main workflow is token retrieval, account-count lookup, paginated follower and following retrieval, set comparison, and follow requests. These behaviors are implemented together in script.js; the graph separates them by responsibility rather than implying separate modules. The README also documents running the script through GitHub Actions, but the workflow file was not sampled, so that integration is not mapped here.
Main entry points: script.js Workflow orchestration
Components 13
Execution
- Script runner
script.js - Token retrieval
script.js - HTTP request helper
script.js
Followback workflow
- Workflow orchestration
script.js - Account counts
script.js - Login pagination
script.js - Follower pages
script.js - Following pages
script.js - Missing-follow comparison
script.js - Follow user
script.js
Other components
- Operator
- Git configuration
- GitHub API
Connections 15
- Operator → Script runner: runs
README.md - Script runner → Workflow orchestration: starts
script.js - Workflow orchestration → Token retrieval: retrieves token
script.js - Token retrieval → Git configuration: reads fallback
script.js - Workflow orchestration → Account counts: gets counts
script.js - Account counts → HTTP request helper: requests profile
script.js - Workflow orchestration → Login pagination: retrieves logins
script.js - Login pagination → Follower pages: pages through
script.js - Login pagination → Following pages: pages through
script.js - Follower pages → HTTP request helper: requests pages
script.js - Following pages → HTTP request helper: requests pages
script.js - Workflow orchestration → Missing-follow comparison: compares lists
script.js - Missing-follow comparison → Follow user: selects logins
script.js - Follow user → HTTP request helper: sends follow
script.js - HTTP request helper → GitHub API: sends HTTP
script.js