惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Y
Y Combinator Blog
有赞技术团队
有赞技术团队
J
Java Code Geeks
H
Hackread – Cybersecurity News, Data Breaches, AI and More
美团技术团队
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Hugging Face - Blog
Hugging Face - Blog
人人都是产品经理
人人都是产品经理
酷 壳 – CoolShell
酷 壳 – CoolShell
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
C
Check Point Blog
博客园 - 【当耐特】
The GitHub Blog
The GitHub Blog
Recent Announcements
Recent Announcements
The Cloudflare Blog
Microsoft Azure Blog
Microsoft Azure Blog
腾讯CDC
Vercel News
Vercel News
IT之家
IT之家
MyScale Blog
MyScale Blog
博客园_首页
Martin Fowler
Martin Fowler
WordPress大学
WordPress大学
罗磊的独立博客

Hacker News: Show HN

PurrrrrFocus: Pomodoro Timer App - App Store Workflow Engine — Multi-Step Orchestration for Bun RapidPhoto: Pro Photo Editor App - App Store GitHub - DheerG/swarms: Achieve extraordinary results with claude code across a variety of tasks SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies Show HN: LLMs don't hallucinate because they're bad at math, it's the format GitHub - Agent-FM/agentfm-core: AgentFM is a peer-to-peer network that turns everyday computers into a decentralized AI supercomputer. AgentFM lets you run massive AI workloads directly across a global mesh of idle CPUs and GPUs. Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years GitHub - Potarix/agent-hub: One place to talk to all your agents Show HN: Runtime security for AI agents(injection,tool abuse, data exfiltration) GitHub - dubeyKartikay/lazyspotify: Terminal Spotify client for macOS and Linux GitHub - the-banana-tool/king-louie: Easy to use GUI Personal AI Assistant. Win/Linux/Mac. Show HN I made my vacation rental bookable by AI agents–no Airbnb, 0% commission GitHub - basteez/jsf-autoreload: maven plugin to enable hot reload on jsf projects uvm32/hosts/host-gdbstub at main · ringtailsoftware/uvm32 GitHub - labsai/EDDI: Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus. GitHub - glitchnsec/fortyone-oss: AI Executive Assistant Platform Quickstart | Alien GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. GitHub - ocrbase-hq/ocrbase: 📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. GitHub - impactjo/home-memory: MCP server that lets your AI assistant remember everything about your home. GitHub - Sets88/dbcls: DbCls is a powerful terminal database client that supports various databases GitHub - neptun2000/heor-agent-mcp GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh RollQuation: Math Puzzles - Apps on Google Play GitHub - dropbox/witchcraft Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis GitHub - opentalon/opentalon: OpenTalon is an open-source platform built from the ground up in Go as a robust alternative to OpenClaw LinkedIn™ 职位抓取工具 - Chrome 应用商店
GitHub - robkam/ytree: Ytree - a (curses-based) file mana...
robkam · 2026-05-12 · via Hacker News: Show HN

ytree - The Unix File Logger


Important

STATUS: ALPHA (v3.0.0-alpha) ytree is in active alpha development. Expect rough edges, incomplete behaviour, and occasional regressions. Interfaces, key bindings, and configuration details may change before the first stable release.

Before opening an issue or suggesting a feature, check BUGS.md and ROADMAP.md first, so as not to create a duplicate if it is already listed.

Ytree gives you a fast, keyboard-first view of logged storage: a directory tree, a file list for the current directory, and Showall for all files in the current volume (plus Global across logged volumes). You can filter and tag files, then run normal file operations (copy, move, rename, delete, archive, edit) on single files or in bulk. It also includes built-in file preview, file/directory compare tools, split-screen workflows, and archive-as-directory support with archive creation plus in-archive write operations (copy/move/rename/delete/mkdir where supported).


Ytree is a file manager for UNIX-like systems (Linux, BSD, etc.), optimized for speed and keyboard efficiency.

Background

Born from the lineage of XTree™ (DOS), ytree was intended to be the definitive tree-based logger for Unix. While it has been maintained for compatibility over the decades, its feature set remained largely frozen in the late 1990s, leaving Unix power users without a true equivalent to the powerful "log and tag" workflow.

Many file managers today function as "browsers"—they look at one directory at a time and rely on the OS to fetch files on demand. Ytree is different: it is a Logger. It scans ("logs") entire drive hierarchies into memory. This treats the filesystem as a database, allowing you to Show All files in a flat view, filter across thousands of subdirectories instantly, and perform bulk operations on tagged files regardless of their location.

This v3.0 project focuses on feature completeness for Unix power users, including split-screen and integrated autoview. The move to a modular C99/POSIX architecture is a practical side effect of delivering those capabilities safely and maintainably.

Development Methodology

This refactor is an experiment in AI-assisted systems engineering. The codebase was not simply "ported"; it was systematically disassembled and re-architected toward feature completeness and maintainability.

In practice, the human maintains design ownership and quality control, while AI is used as an implementation assistant. This requires substantial iteration, verification, and architectural guardrails for each meaningful change. The goal is to show that LLM-assisted development can still meet normal project standards when the process is disciplined, specification-driven, and strongly validated.

Quality claims are backed by repository-visible gates and documentation:

  • AUDIT.md: required QA/audit loop and merge gates.
  • TRUST.md: safety posture, limits, and code-level evidence pointers.
  • PR_GATE.md: governance and merge-readiness checks.

Why release alpha now?

v3.0.0-alpha is being published early so people can use the program, inspect the code, and evaluate the direction before beta. It is usable today, but still in active development: expect rough edges, occasional UX/workflow bugs, and ongoing refinement of some features.

Features (v3.0.0-alpha)

  • Classic XTree™ Interface: Directory Tree + File List layout.
  • Split Screen Mode (F8): Manage two independent file panels side-by-side.
  • File Preview (F7): Instant view of file contents without launching external tools.
  • Multi-Volume Support: Log multiple drives or archives simultaneously and switch instantly.
  • Archives as Directories: Browse ZIP, TAR, GZ, and ISO files transparently using libarchive.
  • Advanced Filtering: Filter by RegEx, Attribute, Date, and Size.
  • Modern Architecture: Clean C99, strict context-passing design — no global mutable state. See ARCHITECTURE.md.
  • Auto-Refresh: Inotify integration for live directory updates.
  • External Viewers: Associate specific file extensions with external programs (images, PDFs, etc.).
  • User Commands: Bind keys to custom shell commands/scripts for infinite extensibility.

Screenshots

Click to view Gallery

1. The Classic Interface Visualize and navigate your directory hierarchy instantly. Main View

2. Split Screen & Archives Manage two independent panels. Here, browsing an ISO on the left and copying files directly to the Home Directory on the right. Split Screen Archive

3. Integrated Preview Inspect file contents without leaving the file manager. (Shown: Previewing a file inside an ISO archive). Preview Mode

Installation

Prerequisites

  • C Compiler (GCC or Clang; Clang is required for fuzz targets)
  • ncurses (libncurses-dev / ncurses-devel)
  • readline (libreadline-dev / readline-devel)
  • libarchive (libarchive-dev / libarchive-devel)
  • lcov (for baseline coverage reports)
  • llvm-symbolizer (recommended for sanitizer/fuzz stack traces)

Build from Source

# Clone the repository
git clone https://github.com/robkam/ytree.git
cd ytree

# Compile (Optimized Release Build)
make

# Install
sudo make install

# Uninstall
sudo make uninstall

Note: Developers can compile with AddressSanitizer enabled by running make DEBUG=1.

Documentation Guide

The project documentation is split into several focused files.

Document Purpose
USAGE.md User Guide: How to navigate, tag, and use command keys. (Generated from ytree.1.md).
BUGS.md Known Issues: Current defects, reproductions, and fix status.
CONTRIBUTING.md Developer Setup: How to set up the environment, run tests, and submit code.
PR_GATE.md PR Governance: Required PR gate checks and triage rules needed for merge readiness.
AUDIT.md QA Workflow: The mandatory safety/integrity checks for every PR (Valgrind, ASan, etc).
SPECIFICATION.md Behavioral Contract: UI layout, navigation protocols, and design philosophy.
ARCHITECTURE.md System Design: Core technical principles (DRY, SRP, Context-passing) and data hierarchy.
TRUST.md Trust & Safety: Safety claims and where to verify them in the codebase.
ROADMAP.md Future Plans: Pending milestones and prioritized delivery backlog.
CHANGES.md Changelog: Detailed history of v3.0 feature delivery, architecture work, and updates.

Reporting Issues

If you find anything amiss, you can report it using GitHub Issues.

For security-sensitive bugs, report privately via SECURITY.md.

Feature requests and enhancement ideas are welcome too. Suggestions are appreciated, but not every request can be implemented.

It will help us to address the issue if you include the following:

  • OS & Configuration: (Distro, Terminal type, etc.)
  • Ytree version:
  • Steps to Reproduce:
  • Expected Behavior:
  • Actual Behavior:

Contributing

Contributions are welcome! Please read CONTRIBUTING.md for guidelines. See SPECIFICATION.md for behavioral requirements, and ARCHITECTURE.md to understand the system design before submitting code. Contributions do not need to be low-level C internals: bug reports, documentation updates, typo fixes, wording/UX clarifications, and translations are all valuable.

License

Ytree is free software distributed under the GPL. See the LICENSE.md file for details.

Contributors

For detailed authorship, see AUTHORS.md.