woodfishhhh/obituary
About
FileTomb (文件墓碑, formerly Obituary) — the trash bin & lifespan guard for AI coding agents. Files AI agents leave behind expire on their own; anything they delete stays restorable for 7 days.
Developer ToolsMeasured star growth
- in 24h
- +3
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Original English |
简体中文 |
繁體中文 |
日本語 |
한국어 |
Español |
Français |
Deutsch |
Português (Brasil) |
Русский
FileTomb — Give temporary files an expiry date
Downloads, screenshots and scratch files move to a local graveyard when due and stay restorable for 7 days — no fear of accidental deletes, no manual cleanup chores.
Free, open source, local-only · FileTomb (formerly Obituary) — CLI stays obit, 100% compatible with 1.x · filetomb.woodfish.site
Download (Windows .exe / macOS .dmg / Linux) · Website · Everyday use · Developers & AI · Install · Quick start · User guide
FileTomb gives temporary files and folders a shelf life. Right-click an installer or screenshot, drag files into the small window, or set an automatic expiry rule for Downloads, Desktop and Screenshots: when time is up, files move to a local graveyard on the same drive and wait 7 days so you can restore anything in one click without overwriting newer files. Underneath the desktop app sits the open-source obit CLI — a lifespan tracker, delete guard and container cleaner for developers and 30+ AI coding agents. How it works inside: docs/architecture.md (Chinese).
Built for everyday files
- Right-click in one second — and spare important files just as fast. Right-click files or folders in Windows Explorer (top-level FileTomb menu on Windows 11 with Developer Mode enabled, no admin rights needed; classic menu fallback otherwise), Finder Quick Actions on macOS, or Nautilus / Dolphin on Linux to set 1, 7 or 30 days, bury now, or click Spare to keep an important file forever. Tracked items show burial dates in Explorer, Finder and Dolphin without changing real file names.
- Auto-expiry for Downloads, Desktop and Screenshots. Turn on folder policies during the 30-second first-run wizard or in Settings so new installers, desktop clutter and screenshots clean themselves up on schedule. Before the first auto-cleanup runs, FileTomb lists what is due for your approval; expired subfolders also wait for your confirmation.
- Drag-and-drop small window with gentle reminders. Drag files or folders straight into the small window to set a lifespan, search and filter tracked items or recent burials, drag cards onto later calendar days to extend them, select a whole day for batch actions, or generate a pure-local redacted Space Freed card showing only aggregate totals. Quiet, low-interruption reminders stay out of your way until you want to look. Available in English, Simplified Chinese, Traditional Chinese and Japanese, with eight looks.
- Bury first, purge later — 7-day undo by default. Expired items move to a graveyard on the same drive and stay restorable for 7 days (
obit resurrector one click in the window / tray), never overwriting a newer file at the old path. Set an optional[graveyard] max_sizecap (obit config --max-sizeor Settings) to purge the oldest graves first when usage exceeds the limit, while single oversized items stay safely in place for your review. - Tracked by file identity, not by name. Every record stores the volume serial number and 128-bit file ID, so a renamed or moved file is still found, and a different file that later takes the old path is left alone.
- Quiet tray & pure local storage. Lives quietly in the tray (double-click on Windows or Activate on Linux KDE to open the window, right-click to restore recent burials or pause cleanup). Your files never leave your computer.
For developers and AI agents
FileTomb started when AI coding agents filled our own repositories with debug scripts, logs, screenshots and test-results/ faster than anyone could clean them up. Every version since 0.0.1 has been built in repositories watched by FileTomb itself.
- Let the agent tag its own scratch work.
obit initconnects FileTomb to 30+ AI coding agents (OBIT.md, Agent Skill, optional MCP). The agent knows which debug scripts, logs and screenshots it just wrote, gives them a lifespan withobit mark, takes scratch directories fromobit mktemp, buries uncertain files withobit bury, and registers*.bakedit backups. If the agent reaches for a buried file during the 7-day window, FileTomb tells it the grave number on the spot soobit resurrectbrings it back. - Delete guard against a single bad
rm -rf. With the delete guard enabled, an agent'srm -rf,git clean,Remove-Item,find -deleteandxargs rmare stopped and replaced by the equivalentobitcommand so files go to the graveyard instead of disappearing. Destructivewsl --unregisterand Podman / Docker / Compose data-deletion commands (podman volume rm,podman system reset,docker compose down -v,docker rm -v) are stopped too, pointing to safe backup steps first. - Real-path safety even if the shell rewrites the command. Shell quoting, escaping or a command proxy can turn
rm -rf "$OUT"/intorm -rf /. Beforeobit rmtouches anything, it checks the real path on disk, refuses drive roots, system directories and the user profile itself, and buries everything else restorably. On Windows, Codex deletions inside backticks or$(…)are caught even inside quotes. - Optional automatic registration & end-of-session tidy-up. Off by default — nothing enters automatically unless you enable it in Settings (tiered, auto, or ask-all modes for rules like
.playwright-mcp/,test-results/,*.log,*.bak,*.orig,*~). Dependencies, build outputs and caches are never auto-registered, and Git-tracked files are never touched. Before an agent ends a session, FileTomb can prompt it once to sort unclassified files it created while keeping deliverables. - Docker, Podman, nerdctl containers & Docker local volumes. Give temporary containers a lifespan with
obit docker add <container> 3d,obit podman add <container> 3d, orobit nerdctl add <container> 3d(stopped at expiry, restartable viaobit resurrect, removed only after retention). Manage explicit Docker local volumes withobit mark --docker-volume cache 3dorobit bury --docker-volume -- cache(never auto-registered; images and networks are untouched). - 100% compatible with 1.x. The CLI stays
obit/obitd, keeping 1.x config, ledgers,.obitrules, environment variables and MCP tools intact; existing users upgrade smoothly withobit update.
Install
Works on Windows 10 / 11, macOS and Linux (x64 and ARM64).
- Desktop users (recommended): download the latest installer from GitHub Releases or directly from filetomb.woodfish.site (includes mainland China mirror acceleration):
- Windows:
FileTomb-Setup-<version>-windows-amd64.exe— graphical installer, no admin rights required, 30-second first-run setup. - macOS: universal
.dmg— includes the small window, menu bar tray, Finder Quick Actions and date tags. - Linux:
.debfor Ubuntu 24.04 amd64 (small window, tray, Nautilus / Dolphin actions), or theinstall.shscript for other distros.
- Windows:
- Package managers & scripts: WinGet (
winget install woodfishhhh.FileTomb), Scoop (obituary), Homebrew (woodfishhhh/tap/obituary),install.ps1/install.sh— see the install guide for commands, manual setup, updating and uninstalling. - Let your AI agent install and connect it: send this sentence to the agent you use; it installs FileTomb, connects itself and stops wherever a decision is yours:
Read https://filetomb.woodfish.site/agent-install.md and follow it to install FileTomb and connect it to yourself.
Each platform at a glance:
| Windows | macOS | Linux | |
|---|---|---|---|
| Install with | Graphical installer FileTomb-Setup-<version>-windows-amd64.exe (no admin, 30s onboarding), WinGet (winget install woodfishhhh.FileTomb), Scoop (obituary), install.ps1 |
Universal .dmg, Homebrew (woodfishhhh/tap/obituary), install.sh |
Ubuntu 24.04 amd64 .deb, install.sh |
| Expiry checks | resident tray process, Task Scheduler as a fallback | user launchd agent | systemd --user timer; a user crontab without systemd |
| CLI, graveyard and resurrection, automatic registration (optional), delete guard, agent integration (Skill, MCP, CLI hooks), Docker / Podman / nerdctl containers, folder policies | yes | yes | yes |
| Tray, small window, context menus, burial dates in file manager | yes (Win11 top-level menu in Developer Mode, no UAC; classic fallback) | Window and menu bar tray (universal DMG) · Finder: Quick Actions, Date tags | Window and tray on Ubuntu 24.04 amd64 (deb) · Nautilus: Scripts · Dolphin: menu, Date tags |
| Recycle Bin mode | yes | yes (macOS Trash) | yes |
With desktop supervision enabled, the tray handles expiries as they occur and an independent job checks once an hour. Editions without a tray check every five minutes.
Switch language
FileTomb supports English (en), Simplified Chinese (zh-CN), Traditional Chinese (zh-TW) and Japanese (ja) across the command line, tray, small window and file-manager menus.
- Temporary: set
OBIT_LANG=en,OBIT_LANG=zh-CN,OBIT_LANG=zh-TWorOBIT_LANG=jabefore a command. - Save it: run
obit config --language en,zh-CN,zh-TW,jaorauto, or pick a language in Settings. - Automatic choice: remove
OBIT_LANGand keepui.language = auto; FileTomb checks the configuration,LC_ALL,LC_MESSAGES,LANGand the operating system UI language. - Scope: human-facing CLI output, tray, small window and Explorer menu follow this language setting. Hook and MCP protocol text stays English and stable.
Quick start
Common commands (replace <id> with the number from an obit add or obit bury receipt, or from obit list / obit graveyard):
obit add debug.log 2h # bury it in 2 hours (alias: mark)
obit add output\shots 1d12h # folders work too
obit add report.zip --at "2026-12-01 18:00" # at a given moment
obit list # what is left and for how long
obit extend <id> 1d # one more day
obit spare <id> # stop tracking, keep the file (alias: cancel)
obit reap # bury everything that is due now (alias: sweep; --dry-run previews)
obit bury old-build # bury right away
obit graveyard # what is in the graveyard and when it will be purged (--here: this folder only)
obit resurrect <id> # put it back; if the name is taken, it comes back renamed, never overwriting
obit resurrect --last # undo the last deletion: everything one obit bury / obit rm buried comes back
obit purge # purge what is past retention (--all for everything, after confirming; --dry-run previews)
obit purge <id> # purge this grave now (permanent; asks first, --yes outside a terminal); also abandons an unverifiable interrupted resurrect
obit stats # eulogy: how much was buried, space freed, resurrections (alias: eulogy)
obit log # the full record of everything done
Background running, connecting each agent, the delete guard, MCP and the Skill are covered in the user guide.
Documentation
- User guide: every feature in detail
- Install guide: installing by hand, updating and uninstalling
- Agent coverage: how far each of the 30 agents connects
- Docs index: every document, including the architecture and code conventions
- Code signing policy: Free code signing provided by SignPath.io, certificate by SignPath Foundation
- Privacy policy
Build FileTomb with us
Issues and pull requests are welcome. The most welcome is an issue that comes with its fix: you found it, you fixed it, and once it is merged your avatar shows up here. CONTRIBUTING.md says how to start; report anything that could delete the wrong file privately, as SECURITY.md describes.
Chinese-speaking users also chat in the QQ group 1135603207 and on the LINUX DO community.
License
Explore related projects
Loading…