Source To Prompt Tui banner
Dicklesworthstone Dicklesworthstone

Source To Prompt Tui

AI community

Description

TUI for combining source code files into LLM-ready prompts: tree explorer, syntax preview, token estimation, and structured XML output

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

s2p — Source2Prompt TUI

![Platform](https://img.shields.io/badge/platform-macOS%20%7C%20Linux%20%7C%20Windows-blue) ![Runtime](https://img.shields.io/badge/runtime-Bun%201.3+-purple) ![Status](https://img.shields.io/badge/status-beta-orange) ![License](https://img.shields.io/badge/License-MIT%2BOpenAI%2FAnthropic%20Rider-blue)

A world-class terminal UI for combining source code files into LLM-ready prompts. Features a tree explorer with file sizes and line counts, live syntax preview, token estimation, presets, and structured XML-like output — all in a single compiled binary.

curl -fsSL "https://raw.githubusercontent.com/Dicklesworthstone/source_to_prompt_tui/main/install.sh?$(date +%s)" | bash

Table of Contents


Highlights

  • Zero-setup binaries: Installer downloads pre-built macOS/Linux/Windows binaries; other platforms can build from source automatically (requires git + Bun).
  • Tree file explorer: Navigate your project with vim-style keys (j/k/h/l), expand/collapse directories, filter by path. Each file shows its size and line count.
  • Quick file-type selects: Press t for all text files, or 1-9,0,r for JS/React/TS/JSON/MD/Python/Go/Java/Ruby/PHP/Rust.
  • Live syntax preview: See