Skip to main content

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:

Quick Start​

  1. Fork the repository
  2. Clone your fork: git clone https://github.com/YOUR_USERNAME/idiomark.git
  3. Install dependencies: pnpm install
  4. Make your changes
  5. 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​

  1. Create a new branch: git checkout -b feature/my-feature
  2. Make your changes
  3. Write tests for new functionality
  4. Ensure all tests pass: pnpm test
  5. 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​

Adapter Contribution Flow​

  1. Browse bounties.yaml for available adapters
  2. Claim by commenting on the issue or using the CLI
  3. Implement following contributing-adapters.md
  4. Test to ensure >80% coverage
  5. Submit a PR with the adapter template
  6. Review with maintainers (2+ approvals required)
  7. 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.