Enter your lines of code, and your git history if you have it, and the value range calculates itself. Repositories start at 30,000 lines. You keep all your rights.
Showing a few example repositories. Type your own to take over.
Lines of code as counted by cloc: the SUM row, code column. How to count
Enter your lines of code.
An indicative range, not an offer. It moves with your exact line count and history. The final price is negotiable depending on your project: its stack, completeness, code quality and history. Well-built repositories can earn a quality bonus of up to 20% after technical review.
This is an estimate, not an offer. Final offers are subject to verification, code quality assessment and approval by Apta Innovations Limited.
Count your own code only, excluding dependencies and build output. The free tool cloc does this for you.
brew install clocchoco install clocsudo apt install clocnpm install -g cloccloc --vcs=git .--vcs=git counts only files tracked by git, so node_modules, build folders and anything in .gitignore are skipped.
| Language | files | blank | comment | code |
| TypeScript | 412 | 6,210 | 2,904 | 48,377 |
| Kotlin | 198 | 3,102 | 1,240 | 21,560 |
| JSON | 37 | 0 | 0 | 4,118 |
| SUM | 647 | 9,312 | 4,144 | 74,055 |
In this example you would enter 74,055. Prefer scc? Run scc . in the repo root and use the Total row, Code column.
Or run our check-repo.sh, which counts your lines with cloc (or scc) and checks the repo is ready to share. How to use it.
Run these from the root of your repo, after git fetch. They only read your history and change nothing. On Windows, run them in Git Bash.
git rev-list --count --branches --remotes=origin --tagsgh pr list --state all --limit 1000 --json number --jq lengthgit for-each-ref --format='%(refname)' refs/heads refs/remotes/origin | sed -e 's#^refs/heads/##' -e 's#^refs/remotes/origin/##' | grep -vx HEAD | sort -u | wc -lThe branch command lists your local branches and the ones on origin, strips the prefixes and counts each name once, so main and origin/main are one branch. The commit command likewise counts each commit once across local branches, origin and tags. The pull request command needs the GitHub CLI, signed in.
Priced on verified lines when entered, otherwise on the submitted count, with the history credit from the commits, pull requests and branches above. Every offer needs Apta's approval and ownership checks before acquisition.
Ownership and copyright stay with you. Nothing about your code changes hands.
The offer is based on the verified lines of code, excluding dependencies, generated files, duplicated code and build output.
Questions? WhatsApp Cephas Brian on 0758 294 212 or email xephas@aptahq.com or projects@aptahq.com