promptext logo

promptext

1broseidon/promptext

Smart code context extractor for AI assistants

GraphCanon updated 2w · GitHub synced 2w

22 stars1 forksLast push 4mo Go MIT

Decision brief

For developers seeking a tool to streamline AI interaction with codebases via context extraction, promptext stands out for its Go-centric design and CLI focus.

Good fit when

  • When you work in a Go (golang) project environment where quick, efficient code context extraction is required.
  • If your workflow involves frequent interactions between large codebases and AI assistants like ChatGPT or Claude, and you prefer command-line tools.

Avoid when

  • In projects heavily reliant on languages other than Go, as the support for extracting contexts from non-Go files is limited.
  • If your development setup does not allow for CLI operations. promptext's primary mode of operation is through its command-line interface.
Pricing:
freemium - promptext is freely available under the MIT license. It does not directly charge for usage but potential costs might arise from integrating it into larger commercial products.
Requirements:
promptext requires either an existing Go installation (version 1.19+) or uses one-off scripts for installation on macOS/Linux and Windows.; A compatible command-line environment is a must since promptext operates primarily through the command line.

Observed Jul 17, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Slowing (111d since push)
As of 2w
Provenance
Not a fork · Personal account
As of 2w
Security (OSV)
1 low (1 low)
As of 1mo

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

go get github.com/1broseidon/promptext
pkg.go.dev

Similar tools

Same-category neighbours. No typed graph edges are catalogued for this tool yet.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

A Go-based tool that extracts smart code contexts from repositories to aid in prompt-based interactions with AI assistants.

Capability facts

Languages
go

Source: github.language · Aug 2, 2026

Categories

Tags

README

Installation

macOS/Linux:

curl -sSL chain.sh/promptext/scripts/install.sh | bash

Windows:

irm chain.sh/promptext/scripts/install.ps1 | iex

Go Install (requires Go 1.19+):

go install github.com/1broseidon/promptext/cmd/promptext@latest

Manual Download: Download pre-built binaries from GitHub Releases

The executable is installed as promptext with prx alias.


Quick Start

Navigate to your project directory and run:

promptext

---

### Installation

```bash
go get github.com/1broseidon/promptext/pkg/promptext

Quick Start

package main

import (
    "fmt"
    "log"

    "github.com/1broseidon/promptext/pkg/promptext"
)

func main() {
    // Simple extraction
    result, err := promptext.Extract(".")
    if err != nil {
        log.Fatal(err)
    }

    fmt.Printf("Extracted %d files (%d tokens)\n",
        len(result.ProjectOutput.Files),
        result.TokenCount)

    // Use the formatted output
    fmt.Println(result.FormattedOutput)
}

License

This project is licensed under the MIT License — see the LICENSE file for details.


Built with ❤️ by the promptext community

⭐ Star on GitHub📖 Documentation🐛 Report Bug

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.