Adapter Community Contribution Quick Reference
This is a quick reference guide for contributing adapters to Idiomark. For detailed information, see the full documentation.
Quick Start (5 Minutes)
# 1. Choose an adapter from bounties.yaml
cat bounties.yaml | grep -A 5 "name: reddit"
# 2. Claim it (comment on GitHub issue or use CLI)
pnpm tsx scripts/bounty.ts claim reddit @yourusername
# 3. Generate adapter scaffold
pnpm cli generate adapter
# 4. Implement, test, and validate
cd packages/adapters/reddit
pnpm test
pnpm build
pnpm tsx ../../scripts/validate-adapter.ts reddit
# 5. Submit PR
git checkout -b adapter/reddit
git add .
git commit -m "feat: add Reddit adapter"
git push origin adapter/reddit
# Then create PR using the adapter template
Essential Commands
# Bounty Management
pnpm tsx scripts/bounty.ts list # List all bounties
pnpm tsx scripts/bounty.ts claim <platform> <user> # Claim a bounty
pnpm tsx scripts/bounty.ts complete <platform> # Mark complete
pnpm tsx scripts/bounty.ts stats # Show statistics
# Adapter Development
pnpm cli generate adapter # Generate scaffold
pnpm test --filter @idiomark/adapter-<name> # Run tests
pnpm build --filter @idiomark/adapter-<name> # Build
pnpm typecheck --filter @idiomark/adapter-<name> # Type check
pnpm lint --filter @idiomark/adapter-<name> # Lint
# Validation
pnpm tsx scripts/validate-adapter.ts <name> # Validate adapter
Quality Checklist
Before submitting, verify:
- Implements
PlatformAdapterinterface - All types defined in
types.ts - Rate limiting implemented
- Error handling for 401, 429, 5xx
- Test coverage >80%
- README with examples
- No hardcoded credentials
- Builds without warnings
File Locations
E:/dev/projects/idiomark/
├── docs/
│ ├── contributing-adapters.md # Full contribution guide
│ ├── adapter-quality.md # Quality standards
│ └── adapters-guide.md # Implementation details
├── bounties.yaml # Available bounties
├── HALL_OF_FAME.md # Top contributors
├── contributing.md # General contributing guide
├── packages/adapters/
│ ├── github/ # Example adapter
│ ├── twitter/ # Example adapter
│ └── registry.json # Adapter registry
├── .github/
│ ├── ISSUE_TEMPLATE/
│ │ └── adapter_request.md # Request new adapter
│ ├── PULL_REQUEST_TEMPLATE/
│ │ └── adapter.md # PR template
│ └── workflows/
│ └── adapter-test.yml # CI/CD tests
└── scripts/
├── bounty.ts # Bounty management
└── validate-adapter.ts # Validation tool
Bounty Levels
| Priority | Bounty | Examples |
|---|---|---|
| P0 (High) | $100+ | Reddit, YouTube, Stack Overflow |
| P1 (Medium) | $50-99 | Medium, DEV.to, Bluesky |
| P2 (Low) | $25-49 | Tumblr, Pinterest, Mastodon |
Code Review Timeline
- Initial review: 2-3 business days
- Address feedback: 1 week
- Final review: 2-3 business days
- Merge: After 2+ approvals
- Payment: Within 7 days
Getting Help
- Documentation: See docs directory
- Issues: Create a GitHub issue
- Discussions: Use GitHub Discussions
- Email: dev.23.xyz@gmail.com
Recognition
Contributors are recognized in:
- Hall of Fame - Top contributors
- Adapter README - Your name in the adapter
- Badges - For GitHub profile
Ready to contribute? Check out the Bounties page and claim an adapter today!