Contributing to Idiomark
Thanks for your interest in contributing! Idiomark is an open protocol, and we welcome contributions from the community.
Ways to Contribute
We welcome contributions in many forms:
- Adapters - Build integrations for new platforms (earn bounties!)
- Documentation - Improve guides and examples
- Bug Reports - Help us find and fix issues
- Feature Requests - Suggest improvements
- Code Review - Review pull requests
- Community - Help other users
Adapter Contributors
Want to build an adapter? Check out:
- Adapter Contribution Guide - Step-by-step guide for building adapters
- Adapter Quality Standards - Quality criteria and checklist
- Bounties - Earn money for building adapters
- Hall of Fame - See who's contributing
Quick Start
- Fork the repository
- Clone your fork:
git clone https://github.com/YOUR_USERNAME/idiomark.git - Install dependencies:
pnpm install - Make your changes
- Submit a pull request
Development
Prerequisites
- Node.js 18+
- pnpm 9+
Setup
# Install dependencies
pnpm install
# Run in development mode
pnpm dev
# Run tests
pnpm test
# Build all packages
pnpm build
Project Structure
idiomark/
├── packages/
│ ├── cli/ # Command-line interface
│ ├── core/ # Core extraction/validation logic
│ ├── sdk/ # Developer SDK
│ └── adapters/ # Platform adapters (Twitter, GitHub, etc.)
├── docs/ # Protocol specification
├── examples/ # Example .idiomark files
└── turbo.json # Monorepo config
Contributing Guidelines
Code Style
- Use TypeScript for all new code
- Follow existing code style
- Add JSDoc comments for exports
- Keep functions small and focused
Commit Messages
Use conventional commits:
feat: add Twitter platform adapter
fix: resolve validation error for missing fields
docs: update spec with new personality dimensions
test: add tests for IdiomarkExtractor
Submitting Changes
- Create a new branch:
git checkout -b feature/my-feature - Make your changes
- Write tests for new functionality
- Ensure all tests pass:
pnpm test - Submit a pull request
Reporting Issues
When reporting issues, please include:
- Idiomark version
- Node.js version
- Operating system
- Steps to reproduce
- Expected behavior
- Actual behavior
Documentation
- Quick Start Guide - Get started in 5 minutes
- Protocol Specification - Complete protocol spec
- Adapter Implementation - How adapters work
- SDK Documentation - Developer SDK guide
- Examples - Usage examples
- FAQ - Frequently asked questions
Adapter Contribution Flow
- Browse bounties.yaml for available adapters
- Claim by commenting on the issue or using the CLI
- Implement following contributing-adapters.md
- Test to ensure >80% coverage
- Submit a PR with the adapter template
- Review with maintainers (2+ approvals required)
- Merge and receive bounty payment
Hall of Fame
Top contributors are recognized in the Hall of Fame. Build an adapter to get listed!
License
By contributing, you agree that your contributions will be licensed under the MIT License.