promptext logo

promptext

Enrichment pending
1broseidon/promptext

Smart code context extractor for AI assistants

GraphCanon updated today · GitHub synced today

22
Stars
1
Forks
0
Open issues
1
Watchers
3mo
Last push
Go MITCreated Dec 16, 2024

Trust & integrity

Full report
Maintenance
Slowing (90d since push)
As of today · Source: github_public_v1
Provenance
Not a fork · Personal account
As of today · Source: github_public_v1
Security (OSV)
1 low (1 low)
As of today · Source: osv@v1

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

Overview

Smart code context extractor for AI assistants

Capability facts

Languages
go

Source: github.language · Jul 11, 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