
code2prompt
CLI that converts a codebase into one prompt with a source tree, templates and token counting.
Website captured Oct 19

CLI that converts a codebase into one prompt with a source tree, templates and token counting.
Website captured Oct 19
Fast BPE tokenizer for OpenAI models: count tokens before they hit the context window.
Latest collected value
Latest collected value
Latest collected value
Latest collected value
Latest collected value
Latest collected value
Latest collected value
| Signal | code2prompt 7d | code2prompt 28d | tiktoken 7d | tiktoken 28d |
|---|---|---|---|---|
| GitHub stars | ▲0.1% | ▲0.5% | ▲0.2% | ▲0.9% |
| GitHub forks | ▲0.2% | ▲0.2% | ▲0.7% | ▲1.7% |
| PyPI downloads (last week) | ▼43.2% | ▼45.8% | ▲5.5% | ▲12.7% |
| Hacker News stories (7 days) | — | — | — | — |
| Hacker News points (7 days) | — | — | — | — |
| GitHub open issues & PRs | ▲5.0% | ▲16.7% | ▲0.7% | ▲4.2% |
| GitHub contributors | ▲0.0% | ▲4.9% | ▲0.0% | ▲4.0% |