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

推荐订阅源

阮一峰的网络日志
阮一峰的网络日志
博客园 - 司徒正美
D
DataBreaches.Net
宝玉的分享
宝玉的分享
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - 【当耐特】
人人都是产品经理
人人都是产品经理
博客园 - Franky
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
IT之家
IT之家
博客园 - 三生石上(FineUI控件)
J
Java Code Geeks
腾讯CDC
博客园_首页
The Cloudflare Blog
S
SegmentFault 最新的问题
C
Check Point Blog
美团技术团队
爱范儿
爱范儿
大猫的无限游戏
大猫的无限游戏
Hugging Face - Blog
Hugging Face - Blog
T
The Blog of Author Tim Ferriss
A
About on SuperTechFans
Blog — PlanetScale
Blog — PlanetScale

Show HN

GitHub - astefanutti/shaderbang: Shebang for Shaders Show HN: Generate Claude Code Workflows using Spec Driven Development approach Show HN: AI agents for UK GDAD PCF roles and their skills The Two Pillars: Mixer Mode and Meta-Software in the Reorganization of Software Work After AI GitHub - JaiCode08/teleport-env What 1,000+ Harness Experiments Taught Me About Self-Improving Agents Show HN: Liiists, a Markdown-first, iOS and CLI list app SwiperTab – Get this Extension for 🦊 Firefox (en-US) GitHub - kouhxp/fftext: Summarize, explain, fact-check, or translate any text, URL, or file. No GPU. No cloud. One command GitHub - sweetpad-dev/sweetpad: Develop Swift/iOS projects using VSCode GitHub - dogmaticdev/IRON: IRON a.k.a. Intermediate Representation Object Notation is a Interpreter/Database that is used to create Programming Languages. GitHub - sjhalani7/vaen: Package your AI coding harness into a portable .agent file, and share it across repos, teams, & the community without ever having to copy-paste instructions, skills, MCP config, or secrets. Show HN: Gandalf the Grader Show HN: Citadeld – replay any CI failure locally from a single file GitHub - tdortman/cuSBF: High-Performance GPU Super Bloom Filter coral-ai/claude-code-token-xray at main · Coral-Bricks-AI/coral-ai GitHub - ulyssestenn/funes: Funes is a Git-based framework for LLM-managed knowledge work: an AI Librarian ingests raw sources, builds an interlinked Markdown knowledge base, and uses it to produce cited reports, analyses, and other outputs. GitHub - ThatXliner/gah: Git Add Hunk, built for agents to use GitHub - harmont-dev/harmont-cli: Command-line client for the Harmont CI platform GitHub - brooksmcmillin/mcp-authflow: OAuth 2.0 Authorization Server framework for MCP servers GitHub - javaid-codes/audit-supply-chain-agents GitHub - amorey/gochan: A small library of common channel architectures for Go, inspired by Rust GitHub - arifozgun/OpenGem: Free, Open-Source AI API Gateway with Gemini, OpenAI & Anthropic Compatibility in 1 file GitHub - Pranesh950/BioPetals: 🌸 Run BIOxAI models at home, BitTorrent-style. Fine-tuning and inference up to 10x faster than offloading GitHub - cnguyen14/bounty-doctor: Diagnose a GitHub bounty issue before you waste hours: detects honeypot scam repos, AI-bot attempt swarms, and stale contests. Show HN: CoreMCP – MCP Server for On-Prem DBs Show HN: KittyHTML – Render HTML/CSS as an inline image in your terminal GitHub - bingud/filemat: Web-based file manager Show HN: TruthLens – Free multi-signal deepfake image detector GitHub - apexlocal-jz/claude-usage-tray: Windows system-tray app showing your Claude Code rate-limit usage at a glance. Zero deps, ~300 lines of PowerShell. Cross-IDE (works regardless of VS Code, Cursor, plain terminal).
GitHub - swadhinbiswas/warren: A rootless, zero-daemon CL...
0xER · 2026-06-28 · via Show HN

Warren Mascot

Install any CLI tool unlimited times. Every instance is its own world.

Crates.io Docs License


Warren is a production-grade, rootless, zero-daemon CLI runtime. It lets you install and run unlimited, completely isolated instances of any CLI or TUI application on your Linux machine.

Like a rabbit warren, it creates a network of isolated tunnels—each self-contained yet sharing the same ground. Fast, rootless, and invisible infrastructure.

Why Warren?

Ever needed to log into two different GitHub accounts using the gh CLI? Or test a beta version of a tool without breaking your stable setup? Or maintain separate configurations for work and personal projects?

With Warren, you can:

warren dig gh --as gh-work
warren dig gh --as gh-personal

gh-work        # Logs into your company GitHub
gh-personal    # Logs into your personal GitHub

Both instances behave independently. They share the host machine but nothing else.

Non-Goals

Warren is not a container runtime (like Docker), a virtual machine, or a privilege escalation tool. It stays lightweight (single binary), rootless (no sudo ever), zero-daemon (no background processes), and incredibly fast (<50ms startup overhead).

Features

  • Isolated Filesystems: Each instance gets its own home/, config/, cache/, data/, and tmp/ directories.
  • Installer Rewriting: Automatically rewrites paths inside installation scripts on-the-fly to keep them contained.
  • Rootless by Design: Will absolutely refuse to run as root.
  • Universal Shell Support: Works seamlessly across Bash, Zsh, Fish, and Nushell.
  • Zero Overhead: No daemons or containers. Just a thin, native bash launcher script.

Installation

Method 1: The One-Liner (Recommended)

Run the automated install script. This will download the latest binary and automatically configure your shell (bash, zsh, fish, or nushell).

curl -fsSL https://raw.githubusercontent.com/swadhinbiswas/warren/main/install.sh | bash

Method 2: Via Cargo (crates.io)

If you already have Rust installed, you can build and install Warren directly from crates.io:

cargo install warren-cli
warren shell install  # Sets up your PATH

Quick Start

1. Install a new instance from a remote script:

warren dig "curl -fsSL https://opencode.ai/install | bash" --as opencode-work

2. See what you've installed:

$ warren ls

  ALIAS            APP         VERSION    CREATED
  opencode-work    opencode    0.4.2      just now

3. Run your instance:

opencode-work --version
# or 
warren run opencode-work -- --version

4. Inspect an instance's isolated footprint:

warren inspect opencode-work

How it Works

Warren achieves total isolation without kernel namespaces or OverlayFS through three simple levers:

  1. Intelligent Rewriting: When you install a tool via a bash script, Warren intercepts it. It scans for hardcoded paths (like /usr/local/bin or ~/.config) and rewrites them to point inside the instance's private directory (~/.warren/instances/<alias>).
  2. Environment Injection: Warren generates a lightweight wrapper script in ~/.local/bin. When you run your alias, this script forcibly overrides $HOME, $XDG_CONFIG_HOME, $XDG_DATA_HOME, and $TMPDIR.
  3. Execution: The target application boots up, entirely unaware that its "home directory" is actually a sandbox inside ~/.warren/.

Command Reference

Command Description
warren dig <source> --as <alias> Install a new isolated instance
warren run <alias> Run an instance explicitly
warren ls List all installed instances
warren inspect <alias> View paths, version, and disk usage
warren clone <src> <dest> Deep copy an instance
warren export <alias> Export an instance to a portable .tar.gz archive
warren import <archive> Import a previously exported instance
warren update <alias> Re-run the installer to update the binary
warren rm <alias> Delete an instance and all its isolated data
warren shell install Add Warren to your terminal's PATH

Shell Support

Warren automatically detects your shell and configures your $PATH. It natively supports:

  • Bash (~/.bashrc / ~/.bash_profile)
  • Zsh (~/.zshrc)
  • Fish (~/.config/fish/config.fish via fish_add_path)
  • Nushell (env.nu via $env.PATH)

License

MIT License. See LICENSE for details.