{"data":{"slug":"1broseidon-promptext","name":"promptext","tagline":"Smart code context extractor for AI assistants","github_url":"https://github.com/1broseidon/promptext","owner":"1broseidon","repo":"promptext","owner_avatar_url":"https://avatars.githubusercontent.com/u/20682970?v=4","primary_language":"Go","stars":22,"forks":1,"topics":["ai","ai-tools","chatgpt","claude","cli","code-analysis","code-context","code2prompt","codebase","command-line-tool","context-window","developer-tools","go","golang","llm","llm-prompts","prompt-engineering","prompt-generator","tokenizer"],"archived":false,"github_pushed_at":"2026-04-12T20:05:25+00:00","maintenance_label":"Slowing","stars_delta_30d":0,"url":"https://www.graphcanon.com/tools/1broseidon-promptext","markdown_url":"https://www.graphcanon.com/tools/1broseidon-promptext.md","api_url":"https://www.graphcanon.com/api/graphcanon/tools/1broseidon-promptext","graph_url":"https://www.graphcanon.com/api/graphcanon/graph?tool=1broseidon-promptext","description":"Smart code context extractor for AI assistants","homepage_url":"https://chain.sh/promptext","license":"MIT","open_issues":0,"watchers":1,"ai_summary":"A tool written in Go that extracts code context for AI assistants, aiding in prompt engineering and code analysis.","readme_excerpt":"## Installation\n\n**macOS/Linux:**\n```bash\ncurl -sSL chain.sh/promptext/scripts/install.sh | bash\n```\n\n**Windows:**\n```powershell\nirm chain.sh/promptext/scripts/install.ps1 | iex\n```\n\n**Go Install (requires Go 1.19+):**\n```bash\ngo install github.com/1broseidon/promptext/cmd/promptext@latest\n```\n\n**Manual Download:**\nDownload pre-built binaries from [GitHub Releases](https://github.com/1broseidon/promptext/releases/latest)\n\nThe executable is installed as `promptext` with `prx` alias.\n\n---\n\n## Quick Start\n\nNavigate to your project directory and run:\n\n```bash\npromptext\n\n---\n\n### Installation\n\n```bash\ngo get github.com/1broseidon/promptext/pkg/promptext\n```\n\n---\n\n### Quick Start\n\n```go\npackage main\n\nimport (\n    \"fmt\"\n    \"log\"\n\n    \"github.com/1broseidon/promptext/pkg/promptext\"\n)\n\nfunc main() {\n    // Simple extraction\n    result, err := promptext.Extract(\".\")\n    if err != nil {\n        log.Fatal(err)\n    }\n\n    fmt.Printf(\"Extracted %d files (%d tokens)\\n\",\n        len(result.ProjectOutput.Files),\n        result.TokenCount)\n\n    // Use the formatted output\n    fmt.Println(result.FormattedOutput)\n}\n```\n\n---\n\n## License\n\nThis project is licensed under the **MIT License** — see the [LICENSE](LICENSE) file for details.\n\n---\n\n<div align=\"center\">\n\n**Built with ❤️ by the promptext community**\n\n[⭐ Star on GitHub](https://github.com/1broseidon/promptext) • [📖 Documentation](https://chain.sh/promptext) • [🐛 Report Bug](https://github.com/1broseidon/promptext/issues)\n\n</div>","github_created_at":"2024-12-16T20:06:59+00:00","created_at":"2026-07-11T23:20:33.362959+00:00","updated_at":"2026-09-30T21:19:24.537199+00:00","categories":[{"slug":"developer-tools","name":"Developer Tools","url":"https://www.graphcanon.com/categories/developer-tools","markdown_url":"https://www.graphcanon.com/categories/developer-tools.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/developer-tools"},{"slug":"llm-frameworks","name":"LLM Frameworks","url":"https://www.graphcanon.com/categories/llm-frameworks","markdown_url":"https://www.graphcanon.com/categories/llm-frameworks.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/llm-frameworks"}],"tags":[{"slug":"ai-tools","name":"ai-tools"},{"slug":"cli","name":"cli"},{"slug":"code-analysis","name":"code-analysis"},{"slug":"code-context","name":"code-context"},{"slug":"go","name":"go"},{"slug":"prompt-engineering","name":"prompt-engineering"},{"slug":"prompt-generator","name":"prompt-generator"},{"slug":"tokenizer","name":"tokenizer"}],"trust":{"provenance":{"is_fork":false,"github_id":904396561,"owner_type":"User","methodology":"github_public_v1","parent_repo":null,"near_duplicate_slugs":[]},"computed_at":"2026-09-18T08:33:11.315Z","maintenance":{"label":"Slowing","score":36,"methodology":"github_public_v1","releases_90d":0,"days_since_push":158,"last_release_at":"2026-03-17T21:32:33Z","stars_delta_30d":0,"open_issues_delta_30d":0},"security_summary":{"status":"findings","scanner":"osv@v1","low_count":2,"high_count":0,"last_scan_at":"2026-09-18T08:33:13.006Z","medium_count":0,"scan_profile":"deps","critical_count":0}},"capability_facts":{"scan":{"source":"repo_scan","observed_at":"2026-09-18T08:33:10.209Z"},"languages":{"value":["go"],"source":"github.language","observed_at":"2026-09-18T08:33:10.209Z"},"license_spdx":{"value":"MIT","source":"github.license","observed_at":"2026-09-18T08:33:10.209Z"}},"decision_facts":{"hosting":null,"pricing":{"model":"freemium","summary":"Promptext is free and open-source, with no direct costs for use."},"requirements":{"notes":["Requires Go 1.19+ for installation via Go install method."],"min_ram_gb":1,"requires_docker":false},"constraints":{"min_ram_gb":1,"pricing_model":"freemium","requires_docker":false},"when_to_use":["When you need to extract code context for AI assistants in a Go-based project, as Promptext is specifically optimized for this language.","If you are working on prompt engineering tasks that require precise code context extraction, Promptext can provide the necessary data for your AI assistant.","For developers who prefer command-line tools, Promptext offers a CLI interface that can be easily integrated into existing workflows."],"when_not_to_use":["If your project is not in Go, Promptext may not be the best choice, as its primary support is for Go projects.","When you require a tool that supports multiple programming languages simultaneously, Promptext, being Go-centric, might not meet your needs.","If you are looking for a tool that includes additional features beyond code context extraction, such as code refactoring or debugging, Promptext may not be the right fit."],"source":"enrich:decision_facts","observed_at":"2026-09-18T10:30:49.750Z"},"constraint_facets":{"min_ram_gb":1,"pricing_model":"freemium","requires_docker":false},"decision_summary":[{"label":"Pricing","value":"freemium - Promptext is free and open-source, with no direct costs for use."},{"label":"Requirements","value":"Min 1 GB RAM; Requires Go 1.19+ for installation via Go install method."},{"label":"Adopt for","value":"Promptext is a Go-based tool that specializes in extracting code context for AI assistants, aiding in prompt engineering and code analysis."},{"label":"License detail","value":"Promptext is distributed under the MIT License, allowing for free use, modification, and distribution."}]}}