mirror of
https://github.com/hanzo-apps/hanzo.ai.git
synced 2026-10-30 14:58:08 +00:00
hanzo.ai/bounty answered 404 while fifteen open issues labelled bounty in hanzoai, hanzo-js and hanzo-go, and hanzoai/.github's CONTRIBUTING, send readers there. The page that existed lives on the unmerged rewards branch, on /v1/rewards, which api.hanzo.ai does not serve. The page asks GitHub's issue search when it opens and draws the newest six in the fold's window, each a link to its issue with its tier, and the rest as one link to the same search. GitHub not answering, or nothing open, is said. The words say how a bounty is taken and that none pays money; under the fold, how to propose one and where a security report goes. /oss links it. LLM.md: the referral section as it now stands, and /bounty's.
89 lines
3.8 KiB
TypeScript
89 lines
3.8 KiB
TypeScript
import Link from 'next/link'
|
||
import { Page, PageHero, Prose, Section } from '@/components/marketing/page-kit'
|
||
import { pageMeta } from '@/lib/page-meta'
|
||
import Activity from '@/components/oss/Activity'
|
||
import { OSS_SHARE } from '@/lib/counts'
|
||
import { phrase } from '@hanzo/i18n'
|
||
import { T } from '@hanzo/i18n/react'
|
||
|
||
/**
|
||
* The open-source royalty, as hanzoai/cloud apps/author pays it: `defaultShareBps`
|
||
* 2000 of a deploying org's metered spend, per period, to the verified author of
|
||
* the repository the deployed project was built from.
|
||
*/
|
||
const SHARE = OSS_SHARE
|
||
|
||
export const metadata = pageMeta({
|
||
title: 'Open source royalty',
|
||
description: `A verified author earns ${SHARE} of the metered spend of every org that deploys a project built from their repository.`,
|
||
path: '/oss',
|
||
})
|
||
|
||
export default function Oss() {
|
||
return (
|
||
<Page>
|
||
<PageHero
|
||
eyebrow={phrase('Open source')}
|
||
title={phrase('Your repository runs, and you are paid')}
|
||
lede={
|
||
<T values={{ share: SHARE }}>
|
||
{'Verify that you own a repository. Every org that deploys a project built from it pays you {share} of its metered spend, accrued each period, with the record behind every number.'}
|
||
</T>
|
||
}
|
||
/>
|
||
<Section title={phrase('How it works')}>
|
||
<Prose>
|
||
<ol>
|
||
<li>
|
||
<T values={{ route: <code>POST /v1/author/connect</code> }}>{'Connect your GitHub account with {route}.'}</T>
|
||
</li>
|
||
<li>
|
||
<T values={{ route: <code>POST /v1/author/repos/verify</code>, file: <code>hanzo.json</code> }}>
|
||
{'Prove you own a repository, or a whole owner, with {route}: through a linked GitHub account that can push to it, or a {file} on its default branch carrying your verify code.'}
|
||
</T>
|
||
</li>
|
||
<li><T>{'When an org deploys a project built from that repository, the deploy is recorded against it.'}</T></li>
|
||
<li>
|
||
<T values={{ share: SHARE }}>
|
||
{'Each period, you accrue {share} of that org’s metered spend — once per org per period, and never from your own org.'}
|
||
</T>
|
||
</li>
|
||
<li><T>{'Payouts are recorded against what has accrued, and settled by a person.'}</T></li>
|
||
</ol>
|
||
<p>
|
||
<T values={{ share: SHARE }}>
|
||
{'Repositories Hanzo maintains earn the same {share} when other orgs deploy them, recorded to Hanzo’s own account.'}
|
||
</T>
|
||
</p>
|
||
</Prose>
|
||
</Section>
|
||
<Section title={phrase('What you can read')}>
|
||
<Prose>
|
||
<p>
|
||
<T values={{ route: <code>GET /v1/author</code> }}>
|
||
{'{route} answers your verified repositories, the deploys recorded against them, and what has accrued, is pending and has been paid.'}
|
||
</T>{' '}
|
||
<T values={{ route: <code>GET /v1/author/basis</code> }}>
|
||
{'{route} is the audit trail: every ledger row, the spend it was computed from and the share applied.'}
|
||
</T>
|
||
</p>
|
||
<p>
|
||
<T values={{ affiliates: <Link href="/affiliate"><T>affiliates</T></Link> }}>
|
||
{'Referring customers is a separate programme, paid on Hanzo’s margin: see {affiliates}.'}
|
||
</T>{' '}
|
||
<T values={{ bounties: <Link href="/bounty"><T>bounties</T></Link> }}>
|
||
{'Open issues scoped for an outside fix are the {bounties}.'}
|
||
</T>{' '}
|
||
<T values={{ page: <Link href="/open-source"><T>the open source page</T></Link> }}>
|
||
{'Everything Hanzo publishes is on {page}.'}
|
||
</T>
|
||
</p>
|
||
</Prose>
|
||
</Section>
|
||
<Section title={phrase('Ecosystem activity')}>
|
||
<Activity />
|
||
</Section>
|
||
</Page>
|
||
)
|
||
}
|