CodeLibra automatically distributes license revenue among all developers in a module's dependency chain. This guide explains how revenue sharing works.
When a licensee purchases a subscription to your module:
Revenue is distributed based on each developer's module price within the composite total.
Your module costs $100/year:
| Component | Amount |
|---|---|
| Licensee pays | $100.00 |
| CodeLibra commission (20%) | $20.00 |
| You receive | $80.00 |
Your module costs $100/year and has two dependencies:
| Component | Amount |
|---|---|
| Licensee pays | $175.00 |
| CodeLibra commission (20%) | $35.00 |
| You receive | $80.00 |
| Developer A receives | $40.00 |
| Developer B receives | $20.00 |
Each developer receives 80% of their module's price, regardless of how many modules are in the chain.
Same scenario, but the licensee already has a license to Dependency A:
| Component | Amount |
|---|---|
| Licensee pays | $125.00 |
| CodeLibra commission (20%) | $25.00 |
| You receive | $80.00 |
| Developer A receives | $0 (already licensed) |
| Developer B receives | $20.00 |
Developer A doesn't receive payment because the licensee already has an active license—they were paid when that original license was purchased.
CodeLibra charges a 20% commission on all license revenue. This covers:
What you keep: 80% of your module's license price
No other fees: There are no setup fees, monthly charges, or hidden costs. CodeLibra only earns when you earn.
The 14-day hold protects against chargebacks and refund requests. After this period, funds are available for withdrawal.
You can see:
When a subscriber renews:
Example: Your price increased from $100 to $120:
If a subscriber receives a refund within the 14-day window:
After the 14-day window, refunds are evaluated case-by-case and generally not available.
If a payment is charged back:
If you remove your module from CodeLibra:
If an upstream dependency changes its pricing:
Your dashboard provides:
Overview metrics:
Per-module breakdown:
Transaction details:
You are responsible for tax obligations on your earnings. CodeLibra:
Consult a tax professional for guidance specific to your situation.
Underpricing leaves money on the table. See Setting Prices for guidance.
Active, well-maintained modules:
Each new release:
If your dependencies become expensive:
Why does CodeLibra take 20%?
The 20% covers payment processing (typically 2.9% + $0.30 per transaction), platform costs, and the infrastructure required to run the licensing system. This is competitive with or better than alternatives when you consider total costs.
Can I get a lower commission rate?
Volume-based commission tiers may be available. Check your account settings or contact support for details.
What if a dependency developer doesn't have a payout method set up?
Their revenue accumulates in their account until they set up payouts. Your revenue is unaffected.
Can I see exactly how revenue was distributed for a transaction?
Yes, transaction details show the full breakdown including all dependencies and their shares.